How to print from the bottom paper tray
The HP LaserJets support the capability of using an alternate paper tray
for other types of paper. By default, the printers always use the top
tray; however, it's possible to issues a command to use the bottom tray
for one print job. The method for doing this depends on what type of file
you are printing.
o If you are printing a normal text or a PostScript file, you can use the
the following command:
lpr -Zinlower -Pprinter filename(s)
o If you want to combine this with duplex printing, you can use the
following commands:
For normal duplex mode with the bottom paper tray:
lpr -Zinlower,duplex -Pprinter filename(s)
For tumble mode from the bottom paper tray:
lpr -Zinlower,duplexshort -Pprinter filename(s)
Alternatively, you could use the -Pprinter2 format:
lpr -Zinlower -Pprinter2 filename(s)
o If you are printing a .dvi file using dvips, use the -h option to
include the PostScript header which switches trays:
attach consult
dvips -h bottomtray -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 from the bottom tray, use the following command:
lpr -Zinlower -Pprinter my-file.ps
For the curious-minded, the PostScript commands for manually selecting a
specific paper tray are in the file /mit/consult/lib/ps/bottomtray.ps.
Note that it specifies tray 1, for the bottom; the top tray (default)
would be tray 0. (The first line is just to indicate it is a PostScript
file.)
Last updated: $Date: 2004/03/10 16:48:32 $
|