PostScript
PostScript is a language used to describe graphic images, and
it is the language that most computers use to talk to most
laser printers. Click
here
to see such an image, and click
here
to see the PostScript version. (The first click requires you to
have a PostScript viewer installed on your system).
Viewing and printing PostScript files
On Unix machines, you one way to view PostScript file is with
ghostscript
( gs ). Here is an example for the file
tile.ps
.
% cd /u/cl/lib/PostScript/ # that's where the file is
% gs tile.ps
To print a PostScript file you may use the
print
command:
% print tile.ps
This prints the file on your default printer. To specify the
printer, e.g., b129lab1, use this:
% print tile.ps b129lab1
You can also use the
lpr
command (consult man lpr )
Another PostScript viewer is ghostscript:
% ghostview tile.ps
Under construction ...
Under construction ...
Look in /u/cl/lib/PostScript/ for some sample
PostScript files, e.g.,
-
dragon.ps -- An approximation to the dragon's
tooth fractal. The PostScript file was created by a
Pascal program,
dragon.p
which you can also find in that directory.
-
tile.ps -- A tiling of the hyperbolic plane by
ideal triangles.