To enable Web Forms users to save their data in PDF format using the postscript processing method, you must download and install Ghostscript on the IIS server computer as described in the procedure that follows. Ghostscript is not required on the client for Web Forms applications.
The use of Ghostscript is subject to the terms and conditions of the General Public License (GPL). A copy of the GPL is available on the GNU Project Web server.
To install Ghostscript:
Download the self-extracting executable file for the Ghostscript version you want from one of the locations listed on the Ghostscript Web site.
Run the executable file to install Ghostscript on the server computer.
The default installation directory is C:\program files\gs. You can select a different directory and/or choose to install shortcuts to the Ghostscript console and readme file.
Location of files When a Web Forms application user saves a DataWindow object as a PDF, the Web Forms server searches in the following locations for an installation of Ghostscript:
The Windows registry
The relative path of the pbdwm110.dll file (typically in the Sybase\Shared\PowerBuilder directory)
The system PATH environment variable
If Ghostscript is installed using the Ghostscript executable file, the path is added to the Windows registry.
If the Ghostscript files are in the relative path of the pbdwm110.dll file, they must be installed in this directory structure:
dirname\pbdwm110.dll dirname\gs\gsN.NN dirname\gs\fonts
where dirname is the directory that contains the runtime DLLs and N.NN represents the release version number for Ghostscript.
For information about fonts supplied with Ghostscript, see the APFL Ghostscript Web site.
You must also make sure the default PostScript printer driver and related files in Sybase\Shared\PowerBuilder\drivers are included in the IIS server path.