Previous | Next | (P-PDF) Developers
Topic: Creating a pdf with pdfwriter and word - automation
Conf: (P-PDF) Developers, Msg: 87973
From: Christiaanp
Date: 5/20/2003 06:42 PM
Hi
I am trying to create a pdf from a word document. Word is automated with some external app. The code to make word print to the pdfwriter is
Document.PrintOut (.....)
with print to file set to true and a filename specified. The PDFWriter is set as my default printer.
The problem is that the file is being created but it is 0kb in size and the following message is displayed when trying to open the file with Acrobat Viewer.
"There was an error opening this document. A file error has occurred"
I am using Acrobat 5 with the 5.05 update installed.
Help would be great.
Ps.
I have read that it would be better to use distiller for graphic rich files. How would I do this via automation?
1. Create a postscript
2. Launch Distiller ?
Thanks guys