lp[options] [files]
Send files to the printer.
To send standard input, specify - as one of the files.
Copy files to print spooler;
if changes are made to file while it is still queued for
printing, the printout is unaffected.
destSend output to destination printer named dest.
Used after -f or -S to print the request on any printer
that supports the given name.
namePrint request on preprinted form name.
name references printer attributes
set by the administrative command lpforms.
actionPrint according to the named action: hold
(notify before printing), resume (resume a held request),
immediate (print next; privileged users only).
IDsOverride lp options used for
request IDs currently in the queue;
specify new lp options after -i.
For example, change the number of copies sent.
Send mail after files are printed.
numberSpecify the number of copies to print.
optionsSet one or more printer-specific options.
Standard options include:
Omit banner page (separator) from request.
Suppress formfeeds between files.
nPrint n characters per inch.
n can also be pica, elite, or compressed.
nPrint n lines per inch.
nPrint pages n units long; e.g., 11i (inches), 66 (lines).
nPrint pages n units wide; e.g., 8.5i (inches) 72 (columns).
listSpecify a quoted list of stty options.
listPrint only the page numbers specified in list.
nPrint request with priority level n (39 = lowest).
Don't adapt request if content isn't suitable;
reject instead. (Obscure; used only with -T.)
Suppress messages.
nameUse the named print wheel or character set for printing.
titleUse title on the printout's banner page.
contentSend request to a printer that supports content
(default is simple; an administrator sets content
via lpadmin -I).
Write a terminal message after files are printed
(same as -m if user isn't logged on).
Confirm the printing with a message on the user's
terminal.
modePrint according to locally-defined modes.
Send mail after printing five copies of report:
lp -n 5 -m report
Format and print thesis; print title too:
nroff -ms thesis | lp - title