Beginning with version 3.0.014, Document Conversion Service will auto-detect any 32-bit installed versions of Ghostscript and will automatically use the highest version that it finds.

If no 32-bit installs of Ghostscript are found, Document Conversion Service will then use the bundled Ghostscript 7.0.7 included in the Document Conversion Service install. 64-bit installations of Ghostscript are not supported.

As 7.07 is an older version of Ghostscript, there are limitations when converting newer Postscript files and PDF files. If you encounter any issues converting Postscript or PDF files, we recommend upgrading to the latest version of Ghostscript.

Manually Setting the Path to Ghostscript

To use a specific version of Ghostscript, the Ghostscript converter needs to know the path to the installed version of Ghostscript you want so that it can load the needed components. This path will vary depending on where you installed Ghostscript and the version you installed.

The Ghostscript converter is configured in the application configuration file. The configuration file is an XML file that can be edited directly using the DCS Editor, in an XML editor or any text editor such as Notepad or WordPad.

Warning - Ghostscript 9.05 (32-bit) or Higher

Document Conversion Service was tested against various versions of Ghostscript and it is recommended that version 9.05 or later be used. Earlier versions were found to have handle leak issues.

Do not install the 64-bit version available in the latest releases of Ghostscript.

Document Conversion Service only works with the 32-bit version.

Opening the Configuration File

Go to Start - All Programs - PEERNET Document Conversion Service 3.0 - Edit DCS Configuration File to edit the configuration file using the DCS Editor. The configuration file can also be opened in any XML editor and can be found here:

Configuration file location:

C:\Program Files\Document Conversion Service 3.0\Core\PNJobItemProcessor.exe.config

The paths to your version of Ghostscript should follow the format below. Replace N.NN with your version of Ghostscript.

Standard Ghostscript DLL Path:

C:\Program Files (x86)\gs\gsN.NN\bin\gsdll32.dll

If you have both Ghostscript and GSView installed, you can find the GS_DLL and GS_LIB paths by opening GSView and going to Options - Advanced Configure from the menu. You can also search for the keys GS_DLL and GS_LIB in the HKEY_LOCAL_MACHINE hive of your registry by using the Registry Editor (regedit.exe).

In the configuration section for Ghostscript, uncomment the GS_DLL and GS_LIB settings and set the path to the version of Ghostscript you want to use.

 

Configuration Section for Ghostscript 10.1.2 on a 64-bit machine

 

<AppFactories>

  <Factories>

    <AppFactory Name="Ghostscript"

                Type="PEERNET.PNDocConv.Applications.PNGhostscriptApplicationFactory"

                Assembly="PNGhostscriptApplicationFactory">

        <Settings>

          <add Name="Enabled" Value="auto"/>

          <add Name="MaxInstances" Value="auto"/>

          <add Name="RecycleThreshold" Value="0"/>

          <add Name="GS_DLL" Value="C:\Program Files (x86)\gs\gs10.1.2\bin\gsdll32.dll" />

          <add Name="GS_LIB" Value="C:\Program Files (x86)\gs\gs10.1.2\bin;

                                    C:\Program Files (x86)\gs\gs10.1.2\lib" />

        </Settings>

      </AppFactory>

    ... 

    

  </Factories>

  <Settings>

    <!-- Global factory settings -->

    <add Name="MaxInstances" Value="5"/>

    <add Name="RecycleThreshold" Value="100"/>

  </Settings>

</AppFactories>