473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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

MC
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


Nov 22 '05 #1
0 993

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Martin Emanuelsson | last post by:
Hello, I have a problem with a small asp-solution that searches for PDF-documents with indexing service. For some files in the search result I get gibberish returned, such as...
1
by: news.microsoft.com | last post by:
Hello group, My goal is to attach an image over another image. Top image should be transparent so the back image is visible through the top one. Bellow is a test code in VB.NET. You need to...
0
by: MC | last post by:
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...
0
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black...
14
by: BlueDolphin | last post by:
Hello all. I'm looking for some opinions on using snapshot files or ..pdf for some reports. We are in the initial stages of creating some reports in access that will be pulled online through Cold...
4
by: xzzy | last post by:
I have been tasked with changing the filename Adobe Distiller defaults to. My guess is I can't change it. Has anyone been able to use VBA to change that name? Thanks, John Bickmore...
4
by: musicloverlch | last post by:
I used to be able to create PDFs, automatically save them to a file, and mail them out to people. This was on Access 97 with Windows NT. We've changed to Windows XP and Access 2003. Doesn't work...
2
by: Pawan | last post by:
Hi Guys, I have this current assignment where I have to develop online forms for local municipal authorities. I have to use adobe acrobat to create online forms from PDFs (which I have never done...
5
by: melv | last post by:
Hello, this is my first message sent to the python-list, so forgive any irregularities. is it possible to convert MSword docs into PDF format? i told my future employer that i could, because...
2
by: LAB | last post by:
I'm using an app designed in Access 2003 which exports a report into a .snp file. We are manually converting the snp files into pdf. I'll looking for away to convert the files from snp to pdf...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.