Goals for this Hour
In this hour, you learn how to
Find local printers with printers
Send a print job to a printer with lpr or lp
Format print jobs with pr
Work with the print queue by using lpq, lprm
Various techniques can minimize the complexity of printing in UNIX, the best of which is to create an alias called print that has all the default configuration information you want. If you define PRINTER as an environment variable, most of the UNIX print utilities will default to the printer you specify as the value of the PRINTER environment variable, for example, when searching print queues for jobs. The queue, or list, is where all print jobs are placed for processing by the specific printer.
The differing "philosophies" of BSD and System V have ... |
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