Linux in a Nutshell, Third Edition
by Ellen Siever, Stephen Spainhour, Jessica P. Hekman, Stephen Figgins
Name
lpr
Synopsis
lpr [options] files
Description
Send files to the printer spool queue.
Options
- -c
Expect data produced by cifplot.
- -d
Expect data produced by TeX in the DVI (device- independent) format.
- -f
Use a filter that interprets the first character of each line as a standard carriage control character.
- -g
Expect standard plot data as produced by the plot routines.
- -l
Use a filter that allows control characters to be printed and suppresses page breaks.
- -n
Expect data from ditroff (device-independent troff).
- -p
Use pr to format the files.
- -t
Expect data from troff (phototypesetter commands).
- -v
Expect a raster image for devices like the Benson Varian.
- -P printer
Output to printer instead of the printer specified in the PRINTER environment variable or the system default.
- -h
Do not print the burst page.
- -m
Send mail to notify of completion.
- -r
Remove the file upon completion of spooling. Cannot be used with the -s option.
- -s
Use symbolic links instead of copying files to the spool directory. This can save time and disk space for large files. Files should not be modified or removed until they have been printed.
-
-
#num Print num copies of each listed file.
- -C string
Replace system name on the burst page with string.
- -J name
Replace the job name on the burst page with name. If omitted, uses the first file’s name.
- -T title
Use title as the title when using pr.
- -i [cols]
Indent the output. Default is 8 columns. Specify number of columns to indent with the cols argument.
- -w num
Set ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access