Installing GPL Ghostscript

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.

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 at http://www.gnu.org/licenses/gpl.html.

  1. Download the self-extracting executable file for the Ghostscript version you want from one of the locations listed on the Ghostscript Web site at http://pages.cs.wisc.edu/~ghost.
  2. 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.
When a Web Forms application user saves a DataWindow object as a PDF, the Web Forms server searches in these locations for an installation of Ghostscript:

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 pbdwm125.dll file, they must be installed in this directory structure:
  • dirname\pbdwm125.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 Ghostscript Web site at http://www.ghostscript.com/doc/current/Fonts.htm.

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.