Name
lpr
Synopsis
lpr [options]files
Sends files to the printer spool queue. Part of the Common Unix Printing System (CUPS).
Options
-
-C,-J,-Ttitle Use title for the print job name.
-
-E Forces an encrypted connection if supported by the print server.
-
-l Assume print job is preformatted for printing and apply no further filtering. Same as
-oraw.-
-ooptions Set one or more printer options. CUPS documentation describing these options is included with Mac OS X and viewable via a web browser using http://127.0.0.1:631/sum.html#STANDARD_OPTIONS.
-
-p Print text files with pretty printing, adding a shaded header with date, time, job name, and page number. Same as
-oprettyprint.-
-Pprinter Output to printer instead of system default.
-
-r Remove the file upon completion of spooling
-
-#num Print num copies of each listed file (100 maximum).
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