473,385 Members | 1,813 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,385 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


Jul 21 '05 #1
0 1621

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: 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...
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...
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...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.