Name
gs
Synopsis
gs [options] [files]
GhostScript, an interpreter for Adobe Systems’ PostScript and PDF (Portable Document Format) languages. Used for document processing. With - in place of files, standard input is used.
Options
- -- filename arg1 ...
Take the next argument as a filename, but use all remaining arguments to define ARGUMENTS in userdict (not systemdict) as an array of those strings before running the file.
- -Dname=token, -dname=token
Define a name in systemdict with the given definition. The token must be exactly one token (as defined by the token operator) and must not contain any whitespace.
- -Dname, -dname
Define a name in systemdict with a null value.
- -gnumber1xnumber2
Specify width and height of device; intended for systems like the X Window System.
- -Idirectories
Add a list of directories at the head of the search path for library files.
- -q
Quiet startup.
- -rnumber, -rnumber1xnumber2
Specify X and Y resolutions (for the benefit of devices, such as printers, that support multiple X and Y resolutions). If only one number is given, it is used for both X and Y resolutions.
- -Sname=string, -sname=string
Define a name in systemdict with a given string as value.
Special names
- -dDISKFONTS
Cause individual character outlines to be loaded from the disk the first time they are encountered.
- -dNOBIND
Disable the bind operator. Useful only for debugging.
- -dNOCACHE
Disable character caching. Useful only for debugging.
- -dNODISPLAY
Suppress the normal initialization of the output device. May be useful when debugging. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access