Darren Provine at Rowan University |
|
Home
Classes
Programming Contests Other Stuff
|
Printing Instructions From ElvisPrograms written on Elvis should be formatted using enscript and printed on a laser printer. (In the examples below, where it says printer, you can use "hp303" to print in Robinson303.) For a list of printers, visit: http://elvis.rowan.edu/elvis/printers.html. If you do want to preview the output using gv before printing, you can run:
enscript -E -i4 -M Letter -p filename.ps filename
to save the result as Postscript in filename.ps. With an X
session, you can use gv(1) to ensure the printout looks right, and then
you can run:
lp -d printer filename.ps
to actually print.
Note that enscript has lots of options, such as numbering all the lines, or rotating the output 90° (aka "landscape mode"), so you may want to look at the man page. |