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

Get A Practical Guide to Red Hat® Linux® 8 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.