<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <!-- SECTION: Man Pages --> <head> <style type='text/css'><!-- h1, h2, h3, p { font-family: sans-serif; text-align: justify; } tt, pre a:link, pre a:visited, tt a:link, tt a:visited { font-weight: bold; color: #7f0000; } pre { font-weight: bold; color: #7f0000; margin-left: 2em; } h1.title, h2.title, h3.title { border-bottom: solid 2px #000000; } --></style> <title>lpc(8)</title> </head> <body> <h2><a name='NAME'>Name</a></h2> lpc - line printer control program <h2><a name='SYNOPSIS'>Synopsis</a></h2> <b>lpc </b>[ <i>command </i>[ <i>parameter(s) </i>] ] <h2><a name='DESCRIPTION'>Description</a></h2> <i>lpc</i> provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues. <p>If no command is specified on the command-line, lpc will display a prompt and accept commands from the standard input. <h2><a name='COMMANDS'>Commands</a></h2> The <i>lpc</i> program accepts a subset of commands accepted by the Berkeley <i>lpc</i> program of the same name: <dl> <dt>exit </dt> <dd>Exits the command interpreter. </dd> <dt>help [command] </dt> <dt>? [command] </dt> <dd>Displays a short help message. </dd> <dt>quit </dt> <dd>Exits the command interpreter. </dd> <dt>status [queue] </dt> <dd>Displays the status of one or more printer or class queues. </dd> </dl> <h2><a name='LIMITATIONS'>Limitations</a></h2> Since <i>lpc</i> is geared towards the Berkeley printing system, it is impossible to use <i>lpc</i> to configure printer or class queues provided by CUPS. To configure printer or class queues you must use the <a href='man-lpadmin.html?TOPIC=Man+Pages'>lpadmin(8)</a> command or another CUPS-compatible client with that functionality. <h2><a name='COMPATIBILITY'>Compatibility</a></h2> The CUPS version of <i>lpc</i> does not implement all of the standard Berkeley or LPRng commands. <h2><a name='SEE_ALSO'>See Also</a></h2> <a href='man-accept.html?TOPIC=Man+Pages'>accept(8)</a>, <a href='man-cancel.html?TOPIC=Man+Pages'>cancel(1)</a>, <a href='man-cupsenable.html?TOPIC=Man+Pages'>cupsenable(8)</a>, <a href='man-lp.html?TOPIC=Man+Pages'>lp(1)</a>, <a href='man-lpr.html?TOPIC=Man+Pages'>lpr(1)</a>, <a href='man-lprm.html?TOPIC=Man+Pages'>lprm(1)</a>, <a href='man-lpstat.html?TOPIC=Man+Pages'>lpstat(1)</a>, <br> <a href='http://localhost:631/help'>http://localhost:631/help</a> <h2><a name='COPYRIGHT'>Copyright</a></h2> Copyright 2007 by Apple Inc. </body> </html>