GS(1)GS(1)
unhandled troff command .de
unhandled troff command .ns
unhandled troff command ..
NAME
gs – Aladdin Ghostscript (PostScript and PDF language interpreter)
SYNOPSIS
DESCRIPTION
Ghostscript is a programming language similar to Adobe Systems’
PostScript and PDF languages, which are in turn similar to Forth.
The interpreter recognizes several switches described below, which may appear anywhere in the command line and apply to all files thereafter.
The
Ghostscript may be built with multiple output devices. Ghostscript normally opens the first one and directs output to it. To use device xyz as the initial output device, include the switch
-sDEVICE=xyz
in the command line. This switch must precede the first PostScript
file and only its first invocation has any effect.
Output devices can also be selected by the word
selectdevice (command line) GS_DEVICE plan9
Normally, output goes
directly to a scratch file.
To send the output to a series of files
-sOutputFile=foo%d.xyz
The %d may be any
-sOutputFile=|lp
Specifying the file
Initialization files
When looking for the initialization files
Any directories specified by
Any directories specified by the
The directories
The
Options
Take the next argument as a file name as usual, but take all
remaining arguments (even if they have the syntactic form of switches)
and define the name ARGUMENTS in userdict (not systemdict) as an
array of those strings,
unhandled troff command .TQ
unhandled troff command .TQ
unhandled troff command .TQ
/name 35 def
whereas
/name (35) def
Quiet startup: suppress normal startup messages, and also do the
equivalent of
Equivalent to
unhandled troff command .TQ
Adds the designated list of directories at the head of the search path for library files.
Note that gs_init.ps makes systemdict read-only, so the values of names defined with -D/d/S/s cannot be changed (although, of course, they can be superseded by definitions in userdict or other dictionaries.)
Special names
Exit after the last file has been processed.
This is equivalent to listing
Causes individual character outlines to be loaded from the disk the first time they are encountered. (Normally Ghostscript loads all the character outlines when it loads a font.) This may allow loading more fonts into RAM, at the expense of slower rendering.
Disables character caching. Only useful for debugging.
Disables the ‘bind’ operator. Only useful for debugging.
Suppresses the normal initialization of the output device. This may be useful when debugging.
Disables the prompt and pause at the end of each page.
This may be desirable for applications where another program
(e.g.
Disables the
Leaves systemdict writable. This is necessary when running special utility programs such as font2c and pcharstr, which must bypass normal PostScript access protection.
Selects an alternate initial output device, as described above.
Selects an alternate output file (or pipe) for the initial output device, as described above.
FILES
Startup-files, utilities, examples, and basic font definitions.
Additional font definitions.
SOURCE
SEE ALSO
The Ghostscript document files in
BUGS
The treatment of standard input is non-standard.