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.
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 Color LaserJet PS or HP LaserJet 4/4M Plus PS 600).
Accept the default name or enter a shorter name for the printer.
Complete the wizard.
To use the alternative 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 alternative 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 4/4M Plus PS 600"