O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

lpr

Prints files

lpr [options] [file-list]

lpq [options] [job-identifiers]

lprm [options] [job-identifiers]

The lpr utility places one or more files into a print queue, providing orderly access to printers for several users or processes. The utility can work with printers attached to remote systems. You can use the lprm utility to remove files from the print queues and the lpq utility to check the status of files in the queues. Refer to the “Notes” section.

The lpr utility takes its input from files you specify on the command line or from standard input and adds them to the print queue as print jobs. The utility assigns a unique identification number to each print job. You can use the lprm utility to remove a print job from the print queue; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required