User`s guide
Sample PostScript File
To sample PostScript’s versatility, type the following in a file,
using a text editor, exactly as it appears (with your name in the
places marked with italicized text). Any mistake results in an error
and no output is delivered.
Remember, you must first make a file in the text editor you are
using and then send the file to the printer.
/inch {72 mul} def
/Helvetica-Bold findfont 30 scalefont setfont
/outline
{true charpath stroke} def
/namecir
{15 15 345
{gsave
rotate 0 0 moveto
(
Your name here
) outline
grestore
} for}def
4.25 inch 5.75 inch translate
.5 setlinewidth
namecir
0 0 moveto
(
Your name here
) true charpath
gsave 1 setgray fill grestore
stroke
showpage
Chapter 8
8-12 Printer/Host Communication