[Next] [Previous] [Up] [Top] [Contents]

25.2.5 Print Commands

25.2.5.1 Print

The lp command is used to issue print requests. It's very similar to lpr, but with a few differences in the options allowed. Some of the more frequently used options to lp are:

-c make a copy of the file to the spool directory before printing
-d select the destination printer or class of printers for the request
-m send mail upon completion of the print job
-n number specify the number of copies to be printed
-o option printer dependent options, such as nobanner, nofilebreak, etc.
-t title print title on the banner page
-w write a message to the user's terminal after the file is printed


Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]