Background information for new users of Ghostscript

Table of contents

For other information, see the Ghostscript overview.


An overview of Ghostscript

Ghostscript is the name of a set of software that provides:

In simple terms, this means that Ghostscript can read a PostScript or PDF file and display the results on the screen or convert them into a form you can print on a non-PostScript printer. Especially together with several popular previewers, with Ghostscript you can view or print an entire document or even isolated pages, even if your computer doesn't have Display PostScript and your printer doesn't handle PostScript itself.

How is Ghostscript licensed? Where can I find it?

Ghostscript is a copyrighted work (artofcode LLC owns the copyright); it is not shareware or in the public domain. Different versions of it are distributed with three different licenses:

AFPL Ghostscript (formerly Aladdin Ghostscript)

Versions entitled "AFPL Ghostscript", or older versions called "Aladdin Ghostscript"), are distributed with a license called the Aladdin Free Public License that allows free use, copying, and distribution by end users, but does not allow commercial distribution. For information on obtaining the current version of Ghostscript with this license please visit our website at

http://www.cs.wisc.edu/~ghost/

AFPL ghostscript is also available directly from our ftp mirrors as

ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs###/ghostscript#.##

where "#.##" and "###" are the version number with and without punctuation, for instance "5.50" and "550", or under AFS by direct reference to

/afs/cs.wisc.edu/p/mirror/pub/mirrors/ghost/AFPL/

Finally, you can search for other sites, perhaps nearer to your location, that provide ftp access to Ghostscript using an ftp search service such as

http://ftpsearch.lycos.com/

General search engines like

http://www.google.com/
http://www.altavista.com/

may also be useful, but in searching for files they are likely to provide many unusable references mixed in among the useful ones.

If you haven't convenient access to the Internet, you can order AFPL Ghostscript on a CD along with some useful related programs and documentation. Please note that this is not "commercial licensing": you are still getting freely redistributable software, with no support and no warranty. For more information write to Russell Lang or see

http://www.ghostgum.com.au/cd.htm

GNU Ghostscript

Versions entitled "GNU Ghostscript" are distributed with the GNU General Public License, which allows free use, and free copying and redistribution under certain conditions (including, in some cases, commercial distribution). GNU Ghostscript versions are usually released shortly after the next AFPL Ghostscript version; for example, GNU Ghostscript 5.10 was released shortly after Aladdin Ghostscript 5.50. You can always get the current version of GNU Ghostscript by Internet FTP from

ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/

or under AFS by direct reference to

/afs/cs.wisc.edu/p/mirror/pub/mirrors/ghost/gnu/current/

or from any of the many GNU distribution sites. The GNU home ftp site is

ftp://ftp.gnu.org/pub/gnu/

For a more complete list of sites, including sites outside the U.S., write to gnu@gnu.org. The Free Software Foundation makes GNU Ghostscript available on tape and CD-ROM.

Both AFPL and GNU versions are also available from sites in the Comprehensive TeX Archive Network (CTAN), in a tree based at /tex-archive/support/ghostscript/, which you can find at these principal CTAN distribution sites ("participating hosts") as of mid-1998:

ftp://ctan.tug.org/tex-archive/support/ghostscript/    Massachusetts, U.S.A.
ftp://ftp.dante.de/tex-archive/support/ghostscript/   Deutschland
ftp://ftp.tex.ac.uk/tex-archive/support/ghostscript/   United Kingdom

CTAN has more than fifty mirror sites around the world. For information about CTAN sites, including how to use them over the World Wide Web, visit ctan.org or get the file CTAN.sites from any CTAN server, for instance

ftp://ctan.tug.org/tex-archive/CTAN.sites

Commercial versions

Finally, Ghostscript is also available for commercial licensing. See "What about commercial use?" for details.

AFPL Ghostscript and GNU Ghostscript come with NO WARRANTY and NO SUPPORT. If you have a question or a problem to report, please see "If you need help" for information about what to do.


Libraries obtained from other parties

The Ghostscript source code distribution, and the Ghostscript executable code, include libraries obtained from other parties. All the source files mentioned in this section are in the Ghostscript and third-party library source kits. The documentation of how to build Ghostscript tells where to get these libraries and how to unpack them.

The Independent JPEG Group (IJG) library
The executable versions of Ghostscript are based in part on the work of the Independent JPEG Group. For more information, see jpeg.mak in the main Ghostscript source directory and README in the jpeg subdirectory of the Ghostscript source code
The Portable Network Graphics (PNG) library created by Dave Martindale, Guy Eric Schalnat, Paul Schmidt, and Tim Wegner, of Group 42, Inc.
For more information, see libpng.mak in the main Ghostscript source directory, and README and png.h in the libpng subdirectory of the Ghostscript source code.
The zlib library created by Jean-loup Gailly and Mark Adler
For more information, see zlib.mak in the main Ghostscript source directory, and README in the zlib subdirectory of the Ghostscript source code.

These libraries do NOT fall under either the GNU License or the Aladdin Free Public License; they come with their own licenses, which also allow free use and redistribution under appropriate circumstances and which appear in the files mentioned just above. These libraries are entirely original works of their respective authors, and are provided AS IS with NO WARRANTY and NO SUPPORT.


What if I want support?

Neither artofcode LLC nor any organization known to us currently offers Ghostscript support for end-users -- that is, for people or companies who just want to use Ghostscript and not redistribute it as part of a product. Companies that include Ghostscript in their products under a commercial license (see next section) may offer support to end-users, but it would be support for the company's own product, not for Ghostscript per se.

Nothing in the GNU or AFPL licenses prevents anyone from providing support for Ghostscript, either free or commercial. We would be happy to include in the Ghostscript documentation the contact information for anyone who wants to offer such support.


What about commercial use?

GNU Ghostscript may not be incorporated into commercial products which forbid copying or for which customers cannot obtain source code for no more than the cost of reproduction, although it may be distributed ("aggregated") with commercial products; AFPL Ghostscript may not be incorporated into commercial products at all, and may be distributed commercially only under extremely limited circumstances. However, Ghostscript is also available for commercial licensing, which in addition to the right to incorporate Ghostscript into commercial products includes support, a limited warranty, high-quality fonts, and other benefits. For more information about commercial licensing of Ghostscript, please contact our commercial distribution partner, the only entity legally authorized to distribute Ghostscript per se on any terms other than the GNU or AFPL licenses:

Licensing Information
Artifex Software Inc.
101 Lucas Valley Road, Suite 110
San Rafael, CA 94903 U.S.A.
+1-415-492-9861 Voice
+1-415-492-9862 Fax
info@artifex.com
http://www.artifex.com/

Artifex does not offer commercial support as a separate service; support is available only to OEM licensees (that is, licensees who redistribute Ghostscript in a product).


What platforms does Ghostscript run on?

Ghostscript is written entirely in C (with some optional assembly-language accelerators for DOS platforms), with special care taken to make it run properly on systems of either byte order ("low-endian" and "high-endian") and of various word lengths. GNU Ghostscript is known to run on the following platform families:

AFPL Ghostscript is known to run on all of the above, and additionally on the following platform families:

It is very likely that Ghostscript will run under other versions of DOS, and other versions of Unix that support X11, but it has not been tested in these environments. (Ghostscript does not run well on PC-compatibles with Hercules display cards, since text and graphics output interfere with each other, but you can work around this by redirecting the text output to a file.)

Ports done by users

Ghostscript has been ported to a number of platforms by users, who are willing to be contacted about problems on those specific platforms:

NeXT
For information and possibly precompiled binaries for NeXT machines, contact Alan Barclay in the U.K. at +44-1224-591779 (voice and fax).
Amiga
For information on a port to the Amiga, contact Andreas Maschke <epgbc@cluster6.urz.uni-halle.de>. This port includes drivers by Andreas Heitmann for
IFF  file format
RETINA graphics board
INTUI Amiga window system
SMS/QDOS
For information on a port to the SMS/QDOS operating system, contact
Jonathan R. Hudson
+44-1703-867843 telephone and fax
jrh@jrhudson.demon.co.uk
http://www.jrhudson.demon.co.uk/

The Web site has precompiled binaries, and the port includes includes drivers for:

pic:    native graphics format    (PIC, 1-, -2, 4-, 8-colour formats)
qfax:   fax files   (1D, 2D normal and fine)
Plan 9
For source boddles and precompiled binaries for the operating system Plan 9 from Bell Labs, contact Nigel Roles <ngr@cotswold.demon.co.uk>. or check
http://www.cotswold.demon.co.uk/dist/gs/
MS-DOS
For information on compiling Ghostscript for MS-DOS with the Watcom C++ compiler and GNU make (which avoids the severe limitations in Watcom's wmake program), contact Boguslaw Jackowski <B.Jackowski@gust.org.pl>.

Related work

Drivers

A number of people have created Ghostscript drivers that they prefer to distribute directly, rather than including them in the AFPL Ghostscript distributions. For a current list, please see the Ghostscript home page at http://www.cs.wisc.edu/~ghost/.

Previewers

The Ghostscript user interface is very primitive, so several people have contributed screen previewers with better user interfaces.

Previewers for X Windows

We know of three freely available X Windows screen previewers based on Ghostscript: Ghostview, gv, and GSPreview. Most users who have expressed an opinion prefer gv over Ghostview.

gv
gv, which is derived from Ghostview, is available from CTAN sites and through the site of its author, Johannes Plass <plass@thep.physik.uni-mainz.de>:
http://wwwthep.physik.uni-mainz.de/~plass/gv/
A copy of gv (but perhaps not the most recent version) can also be found at:
http://www.cs.wisc.edu/~ghost/gv/
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gv/

gv is available for OpenVMS (both VAX and Alpha), called GhostView-VMS or gv-vms. Some places you can find it are:

ftp://axp.psl.ku.dk/decwindows/xaw3d/
ftp://ftp.wku.edu/vms/fileserv/x11kit.zip
Ghostview
For information on Ghostview, contact Tim Theisen <ghostview@cs.wisc.edu>. You can get Ghostview from
http://www.cs.wisc.edu/~ghost/gv/
GSPreview
For information on GSPreview, contact Richard Hesketh <rlh@ukc.ac.uk>.

Previewers for DOS and MS Windows

GSview
GSview, a popular freely available MS Windows and OS/2 screen previewer based on Ghostscript, is available from
http://www.cs.wisc.edu/~ghost/gsview/

For technical information on GSview for Windows or PM GSview, please contact Russell Lang <gsview@ghostgum.com.au>. These programs are also available for commercial licensing from Artifex Software Inc.

ps_view
GUST, the Polish TeX Users Group, has created ps_view, a public-domain DOS package that provides "an interactive environement for previewing PostScript documents. The current version can drive the current version of the Ghostscript interpreter; enables scaling, rotating, restart, on-line help, printing the screen, etc." ps_view is available from its home site and from CTAN:
ftp://ftp.pg.gda.pl/pub/TeX/support/ps_view/
ftp://ftp.dante.de/tex-archive/support/ps_view/

ps_view's authors are Boguslaw Jackowski and Piotr Pianowsky <P.Pianowski@gust.org.pl>.

psv
PSV, another keyboard-based PostScript viewing package for DOS, appears to be redistributable with no restrictions. It was once available from
ftp://puccini.ujf-grenoble.fr/pub/contrib-ps/DOS-PSV/

A previewer for Linux

BMV
Jan Kybic has created a Ghostscript-based bitmap previewing program for Linux called BMV, which doesn't use X Windows but is based on svgalib. He says there is a port of BMV for SCO Unix by William Bader. BMV is available from
ftp://sunsite.unc.edu/pub/Linux/apps/graphics/viewers/svga/bmv-1.2.tgz

Fonts

The fonts available for Ghostscript, and how to use and add fonts in general, are extensively documented. See that documentation for (almost) all information about fonts. Nelson Beebe maintains a useful set of information about PostScript Type 1 fonts, including sources for freely distributable and commercially licensed fonts and an extensive list of Unix systems and the fonts available for them:

http://www.math.utah.edu/~beebe/fonts/postscript-type-1-fonts.html

Related programs

genscript
genscript is a free replacement for the enscript program. genscript converts plain text files to PostScript and sends the generated PostScript output to the specified printer or to a file. genscript can be easily extended to handle different output media, and it has many options which can be used to customize printouts, including 2-up printing, pagination, complex headers, and many more. You can find the current version at
http://www.iki.fi/~mtr/genscript/ (home page)
ftp://ftp.gnu.org/pub/gnu/enscript/enscript-*.tar.gz
pdf2html
pdf2html is a free utility that converts PDF to PNG images wrapped in HTML files. It doesn't preserve the text of the PDF, only the appearance. You can find the current version at
ftp://atrey.karlin.mff.cuni.cz/pub/local/clock/pdf2html
pstotext
A good free utility pstotext uses Ghostscript to extract plain text from PostScript files. It is much better than the ps2ascii utility distributed with Ghostscript. You can read the pstotext documentation at
http://www.research.digital.com/SRC/virtualpaper/manpages/pstotext.1.html

and download the pstotext kit from

http://www.research.digital.com/SRC/virtualpaper/pstotext.html

pstotext is unsupported, but the authors, Paul McJones <paul.mcjones@acm.org> and Andrew Birrell <birrell@pa.dec.com>, are happy to have your questions and comments either by e-mail or here

For more information about the authors' Virtual Paper project, which attempts to make on-line reading of lengthy material (like research reports, manuals, or entire books) comfortable, read:

http://www.research.digital.com/SRC/virtualpaper
PreScript
This is another good free utility that uses Ghostscript to extract text from PostScript or PDF files. It can also generate very simple HTML, keeping some of the formatting. It is unsupported, but is the product of an active research project. Its home page is:
http://www.nzdl.org/html/prescript.html

If you need help

The list of Frequently Asked Questions (FAQ) isn't updated very often, so it may be somewhat out of date. It's available from

http://www.cs.wisc.edu/~ghost/doc/faq.htm
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/faq.htm

or by AFS from

/afs/cs.wisc.edu/p/mirror/pub/mirrors/ghost/faq.htm

CompuServe announced in December 1995 that the Graphics Support Forum offers Message Section and Library 21, "Ghostscript", for technical assistance with Ghostscript. Ghostscript is available for downloading in Library 21, "Ghostscript." To access the Graphics Support Forum, GO GRAPHSUP. This service has no connection with the main Ghostscript developers.

artofcode LLC doesn't respond to questions from users of the freely available versions of Ghostscript. (Responding to questions and problem reports is one of the benefits that Artifex Software provides to commercial users in exchange for the licensing fee.) If you have problems with Ghostscript and you have access to the Internet, we suggest to post your question to one of these Usenet newsgroups:

gnu.ghostscript.bug
if your question is about GNU Ghostscript (currently versions 5.10 and below). If you have access to Internet mail, but not Usenet news, write to bug-ghostscript@gnu.org, which is equivalent to posting to that newsgroup.
comp.lang.postscript
if your question is about AFPL Ghostscript (currently versions 5.50 and above). We hope to establish a separate newsgroup for AFPL Ghostscript in the future, since comp.lang.postscript was not intended for Ghostscript discussion per se.

There are hundreds of Ghostscript user sites all over the world, and another user will often be able to help you. If you have trouble with a specific device driver, look at devs.mak and contrib.mak in the Ghostscript source directory to see in which file the driver is defined. If it's defined in contrib.mak, the list of contributed drivers, please contact the author directly: the maintainers of Ghostscript can't help you with user-maintained drivers.

Reporting problems

Please read Bug-info.htm for information about reporting problems.


Contacting Ghostscript headquarters

As of mid-September 2000, artofcode LLC is responsible for the future development of Ghostscript. Please do not contact us if all you want is help with the freely distributed versions of Ghostscript! Ghostscript is free, but our time is not. If you call for help, we will tell you politely that we cannot answer your question. Ghostscript's documentation, while not of commercial end-user quality, has been adequate for thousands of users (for many of whom English is a foreign language), so the answer to your question is very likely in it somewhere.

Here is our contact information:

Raph Levien
artofcode LLC
940 Tyler St. Studio 6
Benicia, CA 94510
tel/fax +1 707 746 6398
raph@artofcode.com

Aladdin Enterprises

We at Aladdin Enterprises, the original authors of Ghostscript, are no longer responsible for Ghostscript, and cannot answer general questions about it, but we may be available for small contract projects. Here is our contact information:

Aladdin Enterprises
203 Santa Margarita Avenue
Menlo Park, CA 94025 U.S.A.
+1-650-322-1734 fax
ghost@aladdin.com
http://www.ghostscript.com/

If you just want help with Ghostscript, or want to report a problem, please do not contact us. We will not be able to help you.


How you can help improve Ghostscript

The most valuable thing you can do to help improve Ghostscript is to help test it. We make three different grades of release available, each of which needs a different kind of testing.

You can always find the current public release and the current beta or tester release on our Web site. If you would like to be notified when new beta or tester releases are posted, please contact us.

There are also some useful projects that we don't have enough resources to work on, and with which we would appreciate help. See this list for details.


Acknowledgements

Ghostscript was originally created, and through the year 2000 was primarily developed and maintained, by L. Peter Deutsch, President of Aladdin Enterprises (not to be confused with Peter J. Deutsch, founder of Bunyip Information Systems Inc.).

Special thanks are due to Russell Lang, for the GSview for Windows and PM GSview programs, and for contributing most of the code for the Microsoft Windows and OS/2 environments; to Tim Theisen, for the Ghostview program for X Windows and for major contributions to, and assistance with support of, the code for the X Windows environment; to Martin Fong and Mark Lentczner, for the first Macintosh ports; to Pete Kaiser <kaiser@acm.org>, for redoing all of the documentation in HTML; and to the Independent JPEG Group, to Group 42, Inc., and to Jean-loup Gailly and Mark Adler, for creating the freely available libraries that Ghostscript uses.

Special thanks are due to URW++ Design and Development Incorporated, of Hamburg, Germany (http://www.urwpp.de/) for making a commercial-quality set of the 35 standard PostScript Type 1 fonts available for free distribution under the GNU and Aladdin licenses, and for updating them to include Adobe's expanded PostScript 3 character set.

Special thanks are due to Richard Stallman and the Free Software Foundation for originating the GNU General Public License, for originally motivating Aladdin's interest in creating free software, and for being the primary distributor of GNU Ghostscript on the Internet.

See also the list of the many other people who have contributed significantly to improving Ghostscript.


Copyright © 1996, 2000 Aladdin Enterprises. All rights reserved.

This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license contained in the file LICENSE in this distribution. For more information about licensing, please refer to http://www.ghostscript.com/licensing/. For information on commercial licensing, go to http://www.artifex.com/licensing/ or contact Artifex Software, Inc., 101 Lucas Valley Road #110, San Rafael, CA 94903, U.S.A., +1(415)492-9861.

Ghostscript version 8.01, 30 January 2004