Hi,
I'm developing an VB.NET app that converts TIFFs to PDFs using Office
Imaging 2003 and Adobe Distiller 6.0 in the follwing way:
1. Using automation, I open the TIFF file with Office Imaging 2003.
2. I Printout the document to a .PS file using the Printout method into
Adobe PostScript virtual printer.
3. I automate Distiller to convert the new .PS file into PDF.
Everything works just fine, except this little detail that is driving me
crazy: Only the first TIFF page is correctely converted. The other page's
resolution is simply reduced to an unreadble size!
Other points of interest:
1. Using the print menu from Office Imaging Application directly into PDF
works fine.
2. I've tried all differente resolutions and page sizes that Office Imaging
2003 printou method offers
Here is the code:
Dim doc As MODI.Document = New MODI.Document
doc.Create("c:\test.tif")
doc.PrintOut(0, -1, 1, "Adobe PDF", "c:\test.ps", False,
MiPRINT_FITMODES.miPRINT_PAGE)
dim distObj as PdfDistiller = new PdfDistiller
distObj.FileToPdf ("c:\test.ps", "c:\test.df", "")
Does anyone have ideas about this strange problem?
Thanks in advance.
MC