If you want to use the distill method for saving DataWindows as PDF, you must have a PostScript printer or printer driver installed on your system. If you do not, use the Windows Add Printer wizard to add a PostScript printer. If you have never installed a PostScript printer, the Microsoft pscript5.dll file, which is required to add a PostScript printer, may not be available on your computer. You may be prompted to insert a Windows operating system installation CD.
To add a PostScript printer to your printer settings:
Select Settings>Printers from the Windows Start menu.
Double-click Add Printer.
Specify a local printer.
Specify FILE: as the port.
Select a manufacturer (such as HP) and a printer with the designation PS (such as HP LaserJet Series 4050 PS).
Accept the default name or enter a shorter name for the printer.
Complete the wizard.
To use the print driver in the DataWindow painter:
Select the Distill Custom PostScript check box on the Data Export property page for PDF export.
Specify the printer name (from step 6 in the previous procedure) as the Printer Name on the Print Specifications page.
To use the print driver in a script:
Set the Distill.CustomPostScript and Printer properties.
For example:
dw_1.Object.DataWindow.Export.PDF.Distill.CustomPostScript=1 dw_1.Object.DataWindow.Printer="HP LaserJet Series 4050 PS"