ESP Ghostscript-7.07.1rc2

Introduction to Ghostscript

Ghostscript is a versatile processor for PostScript data with the ability to render PostScript to different targets. ESP Ghostscript is a customized version of GNU Ghostscript that includes an enhanced configuration script, the CUPS raster driver to support CUPS raster printer drivers, and additional patches and drivers from various Linux distributors.

Package information

Installation of Ghostscript

If you want to use OMNI drivers extract the source archive in Ghostscript directory:

tar xzvf ../Omni-0.9.0.tar.gz

Otherwise you must add --without-omni switch to the configure script if you intend to install the shared library.

Install Ghostscript by running the following commands:

./configure --prefix=/usr &&
make &&
make install

To install the shared library libgs.so you will need GTK+-1.2.10. Additionally, if you unpacked the OMNI drivers then you have to install GLib-1.2.10 and create these symlinks:

ln -s glib-1.2/glib.h /usr/include/glib.h &&
ln -s glib-1.2/gmodule.h /usr/include/gmodule.h &&
ln -s ../lib/glib/include/glibconfig.h /usr/include/glibconfig.h

Proceed with the following commands:

patch -Np1 -i ../espgs-7.07.1rc2-gdevpng.patch &&
make so &&
make soinstall

Remove the previously created symlinks since they are not needed any longer:

rm /usr/include/g{lib,module,libconfig}.h

Note: The shared library is only used in external programs like GSview-4.4.

To finish the installation, unpack all fonts you've loaded to /usr/share/ghostscript.

Command explanations

--without-gimp-print: This switch disables the building of the GIMP print driver.

--without-ijs: This switch disables the IJS driver support.

Contents

Ghostscript comes with a lot of filters to render PostScript/PDF files back and forth. Please refer to the HTML documentation or try man gs. ESP Ghostscript provides pstoraster too.

Description

pstoraster

pstoraster allows CUPS to filter output to non-PostScript printers. It is built and installed only if CUPS-1.1.19 is found.