Controlling the Printers
The lpc command is used to control printers and print queues connected to the server. Note that only the root user (with certain exceptions covered later on) can access most of the lpc functions. lpc is used to disable print queues, enable print queues, reset printers, check the status of print queues, and change the order of the jobs in the queue.
There are two ways that you can start lpc. The first is with the name of a command as a command line argument. If you start lpc this way, the given command will be run, and lpc will exit. See the man page for lpc for details on the commands that can be given from the command line.
The second way that lpc can be started is in interactive mode. If you start it with no command ...
Get Sams Teach Yourself FreeBSD® in 24 Hours 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.