3 <!-- SECTION: Man Pages -->
5 <link rel=
"stylesheet" type=
"text/css" href=
"../cups-printable.css">
6 <title>cupsenable(
8)
</title>
9 <h1 class=
"title">cupsenable(
8)
</h1>
10 <h2 class=
"title"><a name=
"NAME">Name
</a></h2>
11 cupsdisable, cupsenable - stop/start printers and classes
12 <h2 class=
"title"><a name=
"SYNOPSIS">Synopsis
</a></h2>
22 <b>-h
</b><i>server
</i>[
<b>:
</b><i>port
</i>]
40 <b>-h
</b><i>server
</i>[
<b>:
</b><i>port
</i>]
45 <h2 class=
"title"><a name=
"DESCRIPTION">Description
</a></h2>
47 starts the named printers or classes while
49 stops the named printers or classes.
50 <h2 class=
"title"><a name=
"OPTIONS">Options
</a></h2>
51 The following options may be used:
54 <dd style=
"margin-left: 5.0em">Forces encryption of the connection to the server.
55 <dt><b>-U
</b><i>username
</i>
56 <dd style=
"margin-left: 5.0em">Uses the specified username when connecting to the server.
58 <dd style=
"margin-left: 5.0em">Cancels all jobs on the named destination.
59 <dt><b>-h
</b><i>server
</i>[
<b>:
</b><i>port
</i>]
60 <dd style=
"margin-left: 5.0em">Uses the specified server and port.
62 <dd style=
"margin-left: 5.0em">Holds remaining jobs on the named printer.
63 Useful for allowing the current job to complete before performing maintenance.
64 <dt><b>-r
"</b><i>reason</i><b>"</b>
65 <dd style=
"margin-left: 5.0em">Sets the message associated with the stopped state.
66 If no reason is specified then the message is set to
"Reason Unknown".
68 <dd style=
"margin-left: 5.0em">Releases pending jobs for printing.
69 Use after running
<b>cupsdisable
</b> with the
<i>--hold
</i> option to resume printing.
71 <h2 class=
"title"><a name=
"CONFORMING_TO">Conforming To
</a></h2>
72 Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB,
"/", or
"#".
73 Also, printer and class names are
<i>not
</i> case-sensitive.
74 <p>The System V versions of these commands are
<b>disable
</b> and
<b>enable
</b>, respectively.
75 They have been renamed to avoid conflicts with the
77 build-in commands of the same names.
78 <p>The CUPS versions of
<b>disable
</b> and
<b>enable
</b> may ask the user for an access password depending on the printing system configuration.
79 This differs from the System V versions which require the root user to execute these commands.
80 <h2 class=
"title"><a name=
"SEE_ALSO">See Also
</a></h2>
81 <a href=
"man-cupsaccept.html?TOPIC=Man+Pages"><b>cupsaccept
</b>(
8),
</a>
83 <a href=
"man-cancel.html?TOPIC=Man+Pages"><b>cancel
</b>(
1),
</a>
84 <a href=
"man-lp.html?TOPIC=Man+Pages"><b>lp
</b>(
1),
</a>
85 <a href=
"man-lpadmin.html?TOPIC=Man+Pages"><b>lpadmin
</b>(
8),
</a>
86 <a href=
"man-lpstat.html?TOPIC=Man+Pages"><b>lpstat
</b>(
1),
</a>
87 CUPS Online Help (
<a href=
"http://localhost:631/help">http://localhost:
631/help
</a>)
88 <h2 class=
"title"><a name=
"COPYRIGHT">Copyright
</a></h2>
89 Copyright
© 2007-
2014 by Apple Inc.