Installing GPL Ghostscript – PB Docs 120


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 filesgs. 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:

  • The Windows registry.
  • The relative path of the pbdwm120.dll file (typically in the SybaseSharedPowerBuilder 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 pbdwm120.dll file, they must be installed in this directory structure:


  • dirnamepbdwm120.dll

  • dirnamegsgsN.NN

  • dirnamegsfonts

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 SybaseSharedPowerBuilderdrivers are included in the IIS server path.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x