Installing GNU Ghostscript

Before you can use the distiller method to save DataWindow objects or reports in PDF format, you must install GNU GPL Ghostscript on your computer.

StepsTo install GNU Ghostscript on the PowerBuilder development computer:

  1. Into a temporary directory on your computer, download the self-extracting executable file for the version of GNU Ghostscript you want from one of the sites listed on the Ghostscript Web site.

  2. Run the executable file to install Ghostscript on your system.

    The default installation directory is C:\gs. You can select a different directory and/or choose to install shortcuts to the Ghostscript console and readme file.

After installing Ghostscript, you should read the readme.htm file in the doc subdirectory in the Ghostscript installation directory to find out more about using Ghostscript and distributing it with your application.

PowerBuilder relies on registry entries to locate the Ghostscript files. If you move the files to a different location after installing them, PowerBuilder will not be able to save as PDF unless the gs directory is located in the same directory as pbdwe105.dll.