Controlling Printers
Printers and their associated queues are controlled with the lpc command. This command is used by the system administrator for printer administration. Some limited functionality is available to normal users, such as displaying the status of queues and restarting the printer daemon if it has died. Among other things, lpc can enable and disable printers, enable and disable printer queues, change the order of jobs in the queue so that files at the bottom of the queue can be printed first, and check the status of queues.
If no command-line arguments are given to lpc, it will start in interactive mode with a prompt. You can also supply command-line arguments when starting lpc. If you do this, lpc will start, run the arguments ...
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