Skip to Content
Mac OS X in a Nutshell
book

Mac OS X in a Nutshell

by Jason McIntosh, Chuck Toporek, Chris Stone
January 2003
Intermediate to advanced
832 pages
32h 40m
English
O'Reilly Media, Inc.
Content preview from Mac OS X in a Nutshell

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).

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.
Start your free trial

You might also like

Mac OS X Internals: A Systems Approach

Mac OS X Internals: A Systems Approach

Amit Singh
C++ In a Nutshell

C++ In a Nutshell

Ray Lischner
Linux Shell Scripting Cookbook - Third Edition

Linux Shell Scripting Cookbook - Third Edition

Clif Flynt, Sarath Lakshman, Shantanu Tushar
Optimized C++

Optimized C++

Kurt Guntheroth

Publisher Resources

ISBN: 0596003706Supplemental ContentCatalog PageErrata