]>
Commit | Line | Data |
---|---|---|
c277f98c | 1 | <!DOCTYPE HTML> |
94436c5a MS |
2 | <html> |
3 | <!-- SECTION: Man Pages --> | |
4 | <head> | |
5 | <link rel="stylesheet" type="text/css" href="../cups-printable.css"> | |
6 | <title>cupsctl(8)</title> | |
7 | </head> | |
8 | <body> | |
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> | |
c277f98c MS |
13 | <b>cupsctl</b> |
14 | [ -E ] [-U | |
15 | <i>username</i> | |
16 | ] [ -h | |
17 | <i>server[:port]</i> | |
18 | ] [ --[no-]debug-logging ] [ --[no-]remote-admin ] [ --[no-]remote-any ] | |
94436c5a MS |
19 | [ --[no-]share-printers ] [ --[no-]user-cancel-any ] |
20 | [ | |
c277f98c MS |
21 | <i>name=value</i> |
22 | ] | |
94436c5a MS |
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: | |
2909c66c MS |
29 | <dl class="man"> |
30 | <dt>-E | |
31 | <dd style="margin-left: 5.0em"><br> | |
c277f98c | 32 | Enables encryption on the connection to the scheduler. |
2909c66c MS |
33 | <dt>-U <i>username</i> |
34 | <dd style="margin-left: 5.0em"><br> | |
c277f98c | 35 | Specifies an alternate username to use when authenticating with the scheduler. |
2909c66c MS |
36 | <dt>-h <i>server[:port]</i> |
37 | <dd style="margin-left: 5.0em"><br> | |
c277f98c | 38 | Specifies the server address. |
2909c66c MS |
39 | <dt>--[no-]debug-logging |
40 | <dd style="margin-left: 5.0em"><br> | |
c277f98c | 41 | Enables or disables debug logging in the <b>error_log</b> file. |
2909c66c MS |
42 | <dt>--[no-]remote-admin |
43 | <dd style="margin-left: 5.0em"><br> | |
c277f98c | 44 | Enables or disables remote administration. |
2909c66c MS |
45 | <dt>--[no-]remote-any |
46 | <dd style="margin-left: 5.0em"><br> | |
c277f98c | 47 | Enables or disables printing from any address, e.g. the Internet. |
2909c66c MS |
48 | <dt>--[no-]share-printers |
49 | <dd style="margin-left: 5.0em"><br> | |
c277f98c | 50 | Enables or disables sharing of local printers with other computers. |
2909c66c MS |
51 | <dt>--[no-]user-cancel-any |
52 | <dd style="margin-left: 5.0em"><br> | |
c277f98c | 53 | Allows or prevents users from canceling jobs owned by others. |
2909c66c | 54 | </dl> |
94436c5a MS |
55 | <h2 class="title"><a name="EXAMPLES">Examples</a></h2> |
56 | Display the current settings: | |
2909c66c | 57 | <pre class="man"> |
94436c5a MS |
58 | cupsctl |
59 | </pre> | |
60 | <p>Enable debug logging: | |
2909c66c | 61 | <pre class="man"> |
94436c5a MS |
62 | cupsctl --debug-logging |
63 | </pre> | |
64 | <p>Get the current debug logging state: | |
2909c66c | 65 | <pre class="man"> |
94436c5a MS |
66 | cupsctl | grep '^_debug_logging' | awk -F= '{print $2}' |
67 | </pre> | |
68 | <p>Disable printer sharing: | |
2909c66c | 69 | <pre class="man"> |
94436c5a MS |
70 | cupsctl --no-share-printers |
71 | </pre> | |
72 | <h2 class="title"><a name="KNOWN_ISSUES">Known Issues</a></h2> | |
73 | You cannot set the Listen or Port directives using <i>cupsctl</i>. | |
74 | <h2 class="title"><a name="SEE_ALSO">See Also</a></h2> | |
c277f98c | 75 | <i>cupsd.conf(5)</i>, <i>cupsd(8)</i>, |
94436c5a | 76 | <br> |
c277f98c | 77 | <a href="http://localhost:631/help">http://localhost:631/help</a> |
94436c5a MS |
78 | <h2 class="title"><a name="COPYRIGHT">Copyright</a></h2> |
79 | Copyright 2007-2013 by Apple Inc. | |
80 | ||
81 | </body> | |
82 | </html> |