<!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>cupsenable(8)</title> </head> <body> <h2><a name='NAME'>Name</a></h2> cupsdisable, cupsenable - stop/start printers and classes <h2><a name='SYNOPSIS'>Synopsis</a></h2> <b>cupsdisable </b>[ -E ] [-U <i>username </i>] [ -c ] [ -h <i>server[:port] </i>] [ -r <i>reason </i>] destination(s) <br> <b>cupsenable </b>[ -E ] [-U <i>username </i>] [ -c ] [ -h <i>server[:port] </i>] destination(s) <h2><a name='DESCRIPTION'>Description</a></h2> <i>cupsenable</i> starts the named printers or classes. <p><i>cupsdisable</i> stops the named printers or classes. The following options may be used: <dl> <dt>-E </dt> <dd>Forces encryption of the connection to the server. </dd> <dt>-U username </dt> <dd>Uses the specified username when connecting to the server. </dd> <dt>-c </dt> <dd>Cancels all jobs on the named destination. </dd> <dt>-h server[:port] </dt> <dd>Uses the specified server and port. </dd> <dt>-r "reason" </dt> <dd>Sets the message associated with the stopped state. If no reason is specified then the message is set to "Reason Unknown". </dd> </dl> <h2><a name='COMPATIBILITY'>Compatibility</a></h2> Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also, printer and class names are <i>not</i> case-sensitive. <p>The System V versions of these commands are <i>disable</i> and <i>enable</i>. They have been renamed to avoid conflicts with the <i>bash(1)</i> build-in command of the same name. <p>The CUPS versions of <i>disable</i> and <i>enable</i> may ask the user for an access password depending on the printing system configuration. This differs from the System V versions which require the root user to execute these 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-lp.html?TOPIC=Man+Pages'>lp(1)</a>, <a href='man-lpadmin.html?TOPIC=Man+Pages'>lpadmin(8)</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>