http://en.wikipedia.org/wiki/PostScript
Let's look at hello world:
Code:
%!PS
/Courier findfont
20 scalefont
setfont
72 500 moveto
(Hello world!) show
showpage
20pt is a bit large, 12pt would do. A basic way to do this is:
1. Start the vertical cursor at say, 750
2. For each line in the text field (while read -r LINE ; do)
a. Tell it to move the actual cursor to (50, <bash cursor>)
b. Tell it to show the line
c. Decrement the vertical cursor by say, 16