GhostScript Installation Guide

Ghostscript is a suite of software based on an interpreter for Adobe Systems' PostScript and Portable Document Format (PDF) page description languages. Its main purposes are the rasterization or rendering of such page description language files, for the display or printing of document pages, and the conversion between PostScript and PDF files.

This article is only applicable to on-premise installations. If you are a SaaS customer, Ghostscript is automatically installed and configured optimally.

Windows

  1. Ghostscript downloads can be found here: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases Make sure you download the version number listed here: Supported Transcoding Engines and choose the win64 version.
  2. Proceed through the installation wizard taking the default options. When finished, enter this property in NetXposure\netx\config\exogen-config.xml. Make sure to change the exe path so that it corresponds with the version number that you downloaded. In the example below. the version is 9.15 but you may have a later version number.

    <property>
           <name>ghostscript.exePath</name>
           <value>C:\Program Files\gs\gs9.15\bin\gswin64c.exe</value>
     </property>
  3. Restart the NetX service and check the System > Engines tab to verify that Ghostscript is enabled. You will need to resync any relevant assets to re-process them with the engine.

Linux

  1. Ghostscript downloads can be found here: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases. Make sure you download the version number listed here: Supported Transcoding Engines.
  2. Determine the location of Ghostscript: If you are installing manually or from source, the binary should be copied to /usr/local/bin/gs, otherwise, it is likely installed in /usr/bin/gs
  3. Add the following properties to either the UI or via editing the exogen-config.xml file

    <property>
         <name>ghostscript.enabled</name>
         <value>true</value>
    </property>
     
    <property>
         <name>ghostscript.exePath</name>
         <value>/usr/local/bin/gs</value> <!-- or /usr/bin/gs if installed via package manager -->
    </property>
  4. Restart the NetX service and check the System > Engines tab to verify that Ghostscript is enabled. You will need to resync any relevant assets to re-process them with the engine.
         <name>ghostscript.exePath</name>
         <value>/usr/local/bin/gs</value> <!-- or /usr/bin/gs if installed via package manager -->
    </property>
Was this article helpful?
0 out of 0 found this helpful