lpc

lpc – line printer control program

lpc [ command [ parameter(s) ] ] 

 lps status all

lpc provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues.

If no command is specified on the command-line, lpc will display a prompt and accept commands from the standard input. 

The lpc program accepts a subset of commands accepted by the Berkeley lpc program of the same name:

exit

Exits the command interpreter.
help [command]
Displays a short help message.
quit
Exits the command interpreter.
status [queue]
Displays the status of one or more printer or class queues.
[command]
Display a short help message.

Since lpc is geared towards the Berkeley printing system, it is impossible to use lpc to configure printer or class queues provided by CUPS.