Saturday, July 7, 2012

How to generate PS file in Windows environment

In order to create a Postscript (PS) file from Windows applications: simply print from the application, selecting a postscript printer and using the printing option "print to file".

A dialog box will open, allowing you to choose the folder in which you wish to create the PostScript file. Choose a name for the file (a .prn extension will be appended to the filename). When you select Save, the printer driver will save the Postscript file in the location you select instead of actually sending the postscript file to the printer. You may need to change the file extension to .ps after file is generated.

However, very likely, using the printer driver for your own printer will result in files that are targeted at that printer, and hence not completely portable. To achieve portability, you will need to install and use another printer driver. Also you may not have any postscript printer with you at the moment. The solution to this is to install a virtual postscript printer, i.e. install printer drivers without actually having the corresponding printer.

There are quite a number of virtual Postscript printer freeware available in the Internet. Just download one and install it into your computer.

After installing the printer, fine-tune its properties. Go to the "Advanced" tab, and from there, select "Printing Defaults…". In the window that opens, select "Document options", then "Postscript options". Set the following two options:
PostScript Output Option: Optimize for Portability
TrueType Font Download Option: Outline

No comments:

Post a Comment