469,883 Members | 1,177 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,883 developers. It's quick & easy.

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 1426

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
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.