Print one or more files.
lpr [options] [
files
]
-P
printer prints to the specified printer (the name appears in
/etc/printcap ).
-#
N (where
N is a number) prints that many copies of each file.
-h suppresses the burst page (the first page, with user information).
-m sends mail upon completion of a print job.
-r removes the file after printing.
-J
jobname prints this job name on the burst page.
-U
username prints this user name on the burst page.
The
lpr command prints the specified files by using your system’s print-spooling system. If no filenames are specified,
lpr reads input from the standard input. You can print to a specific printer with the
-P option.