Sybase 6131765115041SS manual Installing PostScript drivers, To use the print driver in a script

Page 35

CHAPTER 1 Installing PowerBuilder Enterprise

Installing PostScript drivers

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:

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 LaserJet Series 4050 PS).

Note

Some printers do not handle images correctly. For example, the HP Color

LaserJet PS does not display images in the PDF output and the HP

LaserJet 4/4M Plus PS 600 displays color images using greyscale.

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

7Complete the wizard.

To use the print driver in the DataWindow painter:

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

2Specify 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"

Installation Guide

27

Image 35
Contents PowerBuilder Enterprise Document ID DC37771-01-1150-01 Contents Contents About This Book Finding the latest information on component certifications Sybase certifications on the WebFinding the latest information on product certifications About This Book Accessibility features If you need helpViii PowerBuilder Enterprise contents Installing PowerBuilder EnterprisePowerBuilder Enterprise contents System requirements Installing PowerBuilder EnterpriseSystem requirements for PowerBuilder Enterprise Product licensing with SySAM Product licensing with SySAMBacking up your files Pre-installation tasksFeature Required software Required software for PowerBuilder featuresPre-installation tasks Required software for PowerBuilder featuresSybase\Shared\PowerBuilder\jdk1.5.012 directory Sybase\Shared\PowerBuilder\fop-0.20.4 directory when SQL Anywhere required Starting the PowerBuilder 11.5 setup programInstalling from a downloaded image To start the setup programTo install SQL Anywhere Installing SQL AnywhereInstalling SQL Anywhere Providing basic information Installing SQL Anywhere documentationProviding basic information Cancel Installing InfoMakerComponent Description Installing InfoMakerInfoMaker components Demo Database To install InfoMakerPowerBuilder components Installing PowerBuilderInstalling PowerBuilder To install PowerBuilder To complete the common setup program Completing the setup programCompleting the setup program Network install What the setup program doesPBODB115.INI C\...\UserName\ subdirectory Files copied or updatedModifying the batch file directly Silent install and uninstallSilent install and uninstall for PowerBuilder and InfoMaker Silent install parameter Description Silent install and uninstallSilent install and uninstall for the Pbvm Before using PowerBuilder Enterprise Before using PowerBuilder EnterpriseMigrating applications to PowerBuilder or InfoMaker Setting up your DbmsUpgrading databases for jConnect for Jdbc Installing HTMLGenerator115 and PBDebugBroker115To install Ghostscript Installing GhostscriptTo use the print driver in a script Installing PostScript driversTo add a PostScript printer to your printer settings To use the print driver in the DataWindow painterPB.INI directory Troubleshooting SySAM issuesTroubleshooting SySAM issues Removing a product Silent uninstallRemoving a product To use the setup maintenance program to remove a productIndex Pbvm IndexIndex Index