Linux Commands Examples

A great documentation place for Linux commands


line printer control program

see also : cancel - cupsaccept - cupsenable - lp - lpr - lprm - lpstat


lpc [ command [ parameter(s) ] ]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


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:


Exits the command interpreter.

help [command]
? [command]

Displays a short help message.


Exits the command interpreter.

status [queue]

Displays the status of one or more printer or class queues.


The CUPS version of lpc does not implement all of the standard Berkeley or LPRng commands.


Copyright 2007-2013 by Apple Inc.


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 , cupsaccept , cupsenable , lp , lpr , lprm , lpstat ,

How can this site be more helpful to YOU ?

give  feedback