%! % http://www.cs.cmu.edu/afs/andrew/scs/cs/15-463/98/pub/www/assts/ps.html 72 72 scale % scale coordinate system so units are inches, not points 2 2 translate % put origin 2 inches from lower left of page /Symbol findfont 4 scalefont setfont % current font is now Symbol about 4 inches high gsave % save graphics state (coordinate system & stuff) .5 setgray 60 rotate 0 0 moveto (abcde) show grestore % restore previous graphics state /Helvetica-Bold findfont .2 scalefont setfont % current font is now slanted Helvetica about .2 inches high 0 4 moveto (Postscript is good at this stuff) show /Times-Italic findfont 2 scalefont setfont % current font is now italic Times about 2 inches high 1 0 0 setrgbcolor 0 6 moveto (yowza!) show showpage