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