Contents / Previous / Next


Printing

The default printer is named "lp" (line printer).


lpr: Print files.
       lpr  [ -P printer_name ]  [ file(s) ]

Example:
       
       lpr tutorial.ps


lpq: Show printer queue status, get a list of all print jobs with their IDs.
       lpq  [ -P printer_name ]


lprm: Cancel print jobs.

If no arguments are supplied, the current job on the default destination is cancelled.
       lprm  [ -P printer_name ] [ job ID(s) ]