Programmatically create PostScript files

P

pk

Hello, please help me if you can.

Does anyone have example code on how to convert Word
files to Acrobat Post Script files using Word XP with
Windows 2000 and Adobe Acrobat 6.0?

Your example code would be most appreciated. Thanks in
advance.
 
J

Jonathan West

Hi pk,

Createuing Postscript files is very simple.

1. Install a postscript printer driver. (It doesn't matter whether you have
a real Postscript printer attached to your computer)
2. Select Print from the File menu
3. Select the postscript printer, check the "Print to file" box, and click
OK
4. When prompted, type in a filename or the postscript file that is created.

Doing this in code is quite simple

1. Set ActivePrinter to be your prostscript printer
2. Use the PrintOut method to print the file. In the parameters,
OutputFilename is the file you create, and PrintToFile is True.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top