Hello world/Line printer: Difference between revisions

added PostScript
(Applesoft/Integer BASIC)
(added PostScript)
Line 89:
<lang PicoLisp>(out '(lpr "-P" "Printer01")
(prinl "Hello world") )</lang>
 
=={{header|PostScript}}==
Technically not really correct as this has to be sent to the printer directly. It will output Hello world, then, though.
<lang postscript><</PageSize [595 842]>> setpagedevice % set page size to DIN A4
/Courier findfont % use Courier
12 scalefont setfont % 12 pt
28 802 moveto % 1 cm from the top and left edges
(Hello world) show % draw the string</lang>
 
=={{header|PureBasic}}==
Anonymous user