|Top Previous Next|
Ghostscript is a program used to convert Postscript and PDF documents to image formats. Modern versions (starting with 9.06) can also be used to extract text data from PDF documents. Whenever image output is needed, or text extraction is used such as with AFO, UnForm can internally execute Ghostscript to perform the required function.
If Ghostscript is not already installed on your system, you can use your system's package management tools to install it, or you can obtain it from http://ghostscript.com. You can easily verify if Ghostscript is on a Linux system by running 'gs -version'.
Ghostscript is configured in the [drivers] section of uf90d.ini. You can edit this file manually, or use the Server Manager's configuration option to configure the Ghostscript executable path.
The [drivers] section includes several options, plus a series of "drivers" that associate a driver name with a Ghostscript output format.
Note that the use of multi- or single-page output is often dependent on the image format. For example, bmp files do not support multiple pages per file, while tiff files do. Below is a sample [drivers] section. In most cases, the only configuration required is setting the gs= path.
Note also that if you can't locate a suitable Ghostscript version for your Unix system, you can use the Windows Support Server to execute a Windows Ghostscript for jobs that require it.
# enable Ghostscript drivers by uncommenting the gs= line
# windows would typically need a full path
# driver lines are structured as name=gsdevice,multipage,density
# gsdevice is the Ghostscript sDEVICE value
# multipage is Boolean 0 or 1, 1 means -o file is file<page>.ext
# Many formats require a 1, as the image format supports only a
# single image per file.
# density is output density, as hhh[xvvv] (horizontalxvertical) dpi