# lpc(8)

## Name

lpc - line printer control program

## Synopsis

lpc [ command [ parameter(s) ] ]

## Description

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 displays a prompt and accepts commands from the standard input.

### Commands

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]
? [command]
  Displays a short help message.
quit
  Exits the command interpreter.
status [queue]
  Displays the status of one or more printer or class queues.

## Notes

Since lpc is geared towards the Berkeley printing system, it is impossible to use lpc to configure printer or class queues provided by CUPS. To configure printer or class queues you must use the lpadmin(8) command or another CUPS-compatible client with that functionality.

## See Also

cancel(1), cupsaccept(8), cupsenable(8), lp(1), lpadmin(8), lpr(1), lprm(1), lpstat(1), CUPS Online Help (http://localhost:631/help)

## Copyright

Copyright © 2007-2015 by Apple Inc.