Saving as PDF using the distill method

If you want to save to PDF using the distill method, you do not need to change any properties. The distill method is used by default when you select Save Rows As from the File menu in the Report painter and select PDF as the file type, or when you use the SaveAs method with PDF! as the file type.

InfoMaker uses a PostScript printer driver specifically designed for distilling purposes to configure the PDF output. You can choose to use a different PostScript printer driver if you want to customize your PostScript settings for generating PDF.

In the Report painter

To use a custom PostScript printer driver, you must set some properties.

StepsTo save customized distilled PDF output in the Report painter:

  1. Select the Data Export tab in the Properties view for the report.

  2. Select PDF from the Format to Configure drop-down list, select Distill! from the Method drop-down list, and select the Distill Custom PostScript check box.

  3. Select the Print Specifications tab and specify the name of the printer whose settings you want to use in the Printer Name box.

  4. Save the report, then select File>Save Rows As, select PDF as the Save As Type, specify a file name, and click Save.

System requirements for the distill method

Users must have administrative privileges to create a PDF file.

To support saving as PDF using GNU Ghostscript, you must download and install Ghostscript files on your system as described in the Installation Guide. The default PostScript printer driver and related files are installed in Sybase\Shared\PowerBuilder\drivers.

When you deploy applications that use the ability to save as PDF with the distill method, you must make sure your users have installed Ghostscript and have access to the the drivers directory.

See “Using the GNU Ghostscript distiller” for more information about redistributing these files.