1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 <!-- SECTION: Man Pages -->
5 <link rel=
"stylesheet" type=
"text/css" href=
"../cups-printable.css">
6 <title>cupsctl(
8)
</title>
9 <h1 class=
"title">cupsctl(
8)
</h1>
10 <h2 class=
"title"><a name=
"NAME">Name
</a></h2>
11 cupsctl - configure cupsd.conf options
12 <h2 class=
"title"><a name=
"SYNOPSIS">Synopsis
</a></h2>
18 </i>] [ --[no-]debug-logging ] [ --[no-]remote-admin ] [ --[no-]remote-any ]
19 [ --[no-]share-printers ] [ --[no-]user-cancel-any ]
23 <h2 class=
"title"><a name=
"DESCRIPTION">Description
</a></h2>
24 <i>cupsctl
</i> updates or queries the
<b>cupsd.conf
</b> file for a server. When
25 no changes are requested, the current configuration values are written to the
26 standard output in the format
"name=value", one per line.
27 <h2 class=
"title"><a name=
"OPTIONS">Options
</a></h2>
28 The following options are recognized:
33 <dd>Enables encryption on the connection to the scheduler.
35 <dt>-U
<i>username
</i>
38 <dd>Specifies an alternate username to use when authenticating with the scheduler.
40 <dt>-h
<i>server[:port]
</i>
43 <dd>Specifies the server address.
45 <dt>--[no-]debug-logging
48 <dd>Enables or disables debug logging in the
<b>error_log
</b> file.
50 <dt>--[no-]remote-admin
53 <dd>Enables or disables remote administration.
58 <dd>Enables or disables printing from any address, e.g. the Internet.
60 <dt>--[no-]share-printers
63 <dd>Enables or disables sharing of local printers with other computers.
65 <dt>--[no-]user-cancel-any
68 <dd>Allows or prevents users from canceling jobs owned by others.
71 <h2 class=
"title"><a name=
"EXAMPLES">Examples
</a></h2>
72 Display the current settings:
76 <p>Enable debug logging:
78 cupsctl --debug-logging
80 <p>Get the current debug logging state:
82 cupsctl | grep '^_debug_logging' | awk -F= '{print $
2}'
84 <p>Disable printer sharing:
86 cupsctl --no-share-printers
88 <h2 class=
"title"><a name=
"KNOWN_ISSUES">Known Issues
</a></h2>
89 You cannot set the Listen or Port directives using
<i>cupsctl
</i>.
90 <h2 class=
"title"><a name=
"SEE_ALSO">See Also
</a></h2>
91 <a href='man-cupsd.conf.html?TOPIC=Man+Pages'
>cupsd.conf(
5)
</a>,
<a href='man-cupsd.html?TOPIC=Man+Pages'
>cupsd(
8)
</a>,
93 <a href='http://localhost:
631/help'
>http://localhost:
631/help
</a>
94 <h2 class=
"title"><a name=
"COPYRIGHT">Copyright
</a></h2>
95 Copyright
2007-
2013 by Apple Inc.