Darren Provine at Rowan University


Printing Instructions From Elvis

Programs 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.


(US flag) This page's URI: http://elvis.rowan.edu/~kilroy/class/elvis/?printing
Last modified: Thursday, 6 March 2008, 1:36:47pm