Name
lpr
Synopsis
lpr [options
]files
Sends files to the printer spool queue. Part of the Common Unix Printing System (CUPS).
Options
-
-C
,-J
,-T
title
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
-o
raw
.-
-o
options
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
-o
prettyprint
.-
-P
printer
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).
Get Mac OS X in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.