Linux lpc command
Control line printers.
lpc provides limited control over printer and class queues provided by the common printing system CUPS. It can also be used to query the state of print queues.
lpc [ command [ parameter(s) ] ]
|exit||Exits the command interpreter.|
|Displays a short help message. If command is specified, display a help message specific to that command.|
|quit||Exits the command interpreter.|
|status [queue]||Displays the status of one or more printer or class queues.|
To configure printer or class queues you must use the lpadmin command or another CUPS-compatible client with that functionality.
Display the status of the current print queue.