472,143 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,143 software developers and data experts.

Converting TIFFs to PDFs using Office Imaging 2003 and Adobe Distiller in VB.NET

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.PrintOut(0, -1, 1, "Adobe PDF", "c:\test.ps", False,

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.


Jul 21 '05 #1
0 1501

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by xzzy | last post: by
2 posts views Thread by Pawan | last post: by
5 posts views Thread by melv | last post: by
reply views Thread by Saiars | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.