How can I print double-sided documents?
All printers in the public Athena clusters around campus support
double-sided (duplex) printing, as do most other printers on campus.
By default, when duplex mode is activated, the text is read by flipping
the page about a vertical axis, i.e.: the top of side one and the top of
side two are along the same edge. If you want this to be inverted, so
that you would flip the page about a horizontal axis, this is called
"tumble mode". Options for either of these modes are given below.
o The easiest way to print doublesided is to specify "printername2"
as the name of the printer. For example, if you wanted to print
double-sided to ajax (in normal duplex mode, and not tumble mode),
you could use
lpr -Pajax2 filename
This may be useful in cases when you cannot specify the printing
program, but can specify the printer name.
o If you are printing a normal text or a PostScript file, you can use
the following commands to print double-sided:
For normal duplex mode:
lpr -Zduplex -Pprinter filename.ps
For tumble mode:
add consult; lpr2 -m filename.ps
Note that the flag used to print tumble mode using lpr is
-Zduplexshort, though that is not currently working.
o If you are printing a .dvi file using dvips, use the -h option, like so:
dvips -h duplex -Pprinter file.dvi
For tumble mode, the command would read:
dvips -h tumble -Pprinter filename
o If you are printing using the "enscript" command, you'll need to convert
the file(s) to PostScript first, and then print this file out as
shown above. This requires two steps instead of the previous one.
Use the -p option to save the enscripted files to another file, for
example, "my-file.ps", like so:
enscript <options> -p my-file.ps <file(s)>
Now, to print the file in duplex mode, use the following command:
lpr -Zduplex -Pprinter my-file.ps
Last updated: $Date: 2004/03/21 01:01:08 $
|