4.2 Print Commands
Syntax
lp [options] filename
lpr [options] filename
Common Options
lp lpr function
-n number -#number number of copies
-t title -Ttitle title for job
-d destination -Pprinter printer name
-c (default) copy file to queue before printing
(default) -s don't copy file to queue before printing
-o option additional options, e.g. nobanner
Files beginning with the string "%!" are assumed to contain PostScript commands.
Examples
To print the file ssh.ps:
% lp ssh.ps
request id is lp-153 (1 file(s))
This submits the job to the queue for the default printer, lp, with the request-id lp-153.