Installing PostScript drivers

The PostScript drivers installed with PowerBuilder do not support searchable PDF and do not handle tables correctly if they have more columns than can fit on a single page. You can use a PostScript driver from another vendor as an alternative. If you do not already have a PostScript printer or printer driver installed on your system, use the Windows Add Printer wizard to add a PostScript printer.

StepsTo add a PostScript printer to your printer settings:

  1. Select Settings>Printers from the Windows Start menu.

  2. Double-click Add Printer.

  3. Specify a local printer.

  4. Specify FILE: as the port.

  5. Select a manufacturer (such as HP) and a printer with the designation PS (such as HP Color LaserJet PS or HP LaserJet 4/4M Plus PS 600).

  6. Accept the default name or enter a shorter name for the printer.

  7. Complete the wizard.

StepsTo use the alternative print driver in the DataWindow painter:

  1. Select the Distill Custom PostScript check box on the Data Export property page for PDF export.

  2. Specify the printer name (from step 6 in the previous procedure) as the Printer Name on the Print Specifications page.

StepsTo use the alternative print driver in a script:

  1. 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 4/4M Plus PS 600"