Ghostscript is used for postscript preview and printing. Usually as
a back-end to a program such as ghostview, it can display postscript
documents in an X11 environment. It can also use the Linux svga
library to display documents graphically on the Linux console.
Furthermore, it can render postscript files as graphics to be printed
on non-postscript printers. Supported printers include common
dot-matrix, inkjet and laser models.
The wrapper /usr/bin/gs checks to see if it's on a VC, and, if so,
it checks if the user gave any -sDEVICE parameters -- if not, it'll add a
to the command line "-sDEVICE=lvga256".
Then, it'll check to see if the user gave any papersize options -- if
not, it'll add "-dDEVICEWIDTHPOINTS=..." (and height), and it will read
the width and height to use from libpaper.
Then, it will execute $GSREAL,
Copyright (C) 1989, 1995 Aladdin Enterprises. All rights reserved.
This file is part of GNU Ghostscript.
GNU Ghostscript is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to
anyone for the consequences of using it or for whether it serves any
particular purpose or works at all, unless he says so in writ
gs - Aladdin Ghostscript version 3.0 interpreter/previewer
gs [ options ] [ files ] ...
Ghostscript is a programming language similar to Adobe Sys‐
tems' PostScript (tm) language, which is in turn similar to
Forth. Gs reads files in sequence and execut