Ghostscript

by Daniel Pimentel — Wed 03 March 2004

Ghostscript is an interpreter for the PostScript language. A PostScript interpreter usually takes as input a set of graphics commands. The output is usually a page bitmap which is then sent to an output device such as a printer or display. PostScript is embedded in many printers.

Emacs

%!
/Helvetica findfont 72 scalefont setfont
72 72 moveto
(Hello, world!) show
showpage

Bash

gs
(script.ps) run
ps2pdf14 -dPDFSETTINGS=/prepress -dEmbedAllFonts=true script.ps script.pdf
GNU Ghostscript
2000-2016 by Daniel Pimentel under GFDL