]>
Commit | Line | Data |
---|---|---|
bc44d920 | 1 | .\" |
bf1bc4c6 | 2 | .\" cupsctl man page for CUPS. |
bc44d920 | 3 | .\" |
bf1bc4c6 MS |
4 | .\" Copyright 2007-2014 by Apple Inc. |
5 | .\" Copyright 2007 by Easy Software Products. | |
bc44d920 | 6 | .\" |
bf1bc4c6 MS |
7 | .\" These coded instructions, statements, and computer programs are the |
8 | .\" property of Apple Inc. and are protected by Federal copyright | |
9 | .\" law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
10 | .\" which should have been included with this file. If this file is | |
11 | .\" file is missing or damaged, see the license at "http://www.cups.org/". | |
bc44d920 | 12 | .\" |
bf1bc4c6 | 13 | .TH cupsctl 8 "CUPS" "11 June 2014" "Apple Inc." |
bc44d920 | 14 | .SH NAME |
15 | cupsctl \- configure cupsd.conf options | |
16 | .SH SYNOPSIS | |
17 | .B cupsctl | |
bc44d920 | 18 | [ |
bf1bc4c6 MS |
19 | .B \-E |
20 | ] [ | |
21 | .B \-U | |
22 | .I username | |
23 | ] [ | |
24 | .B \-h | |
25 | \fIserver\fR[\fB:\fIport\fR] | |
26 | ] [ | |
27 | \fB\-\-\fR[\fBno\-\fR]\fBdebug\-logging\fR | |
28 | ] [ | |
29 | \fB\-\-\fR[\fBno\-\fR]\fBremote\-admin\fR | |
30 | ] [ | |
31 | \fB\-\-\fR[\fBno\-\fR]\fBremote\-any\fR | |
32 | ] [ | |
33 | \fB\-\-\fR[\fBno\-\fR]\fBshare\-printers\fR | |
34 | ] [ | |
35 | \fB\-\-\fR[\fBno\-\fR]\fBuser\-cancel\-any\fR | |
36 | ] [ | |
bc44d920 | 37 | .I name=value |
38 | ] | |
39 | .SH DESCRIPTION | |
bf1bc4c6 | 40 | \fBcupsctl\fR updates or queries the \fIcupsd.conf\fR file for a server. When |
bc44d920 | 41 | no changes are requested, the current configuration values are written to the |
42 | standard output in the format "name=value", one per line. | |
43 | .SH OPTIONS | |
44 | The following options are recognized: | |
45 | .TP 5 | |
bf1bc4c6 | 46 | .B \-E |
bc44d920 | 47 | Enables encryption on the connection to the scheduler. |
48 | .TP 5 | |
bf1bc4c6 | 49 | \fB\-U \fIusername\fR |
bc44d920 | 50 | Specifies an alternate username to use when authenticating with the scheduler. |
51 | .TP 5 | |
bf1bc4c6 | 52 | \fB\-h \fIserver\fR[\fB:\fIport\fR] |
bc44d920 | 53 | Specifies the server address. |
54 | .TP 5 | |
bf1bc4c6 MS |
55 | .B \-\-\fR[\fBno\-\fR]\fBdebug\-logging |
56 | Enables (disables) debug logging to the \fIerror_log\fR file. | |
bc44d920 | 57 | .TP 5 |
bf1bc4c6 MS |
58 | .B \-\-\fR[\fBno\-\fR]\fBremote\-admin |
59 | Enables (disables) remote administration. | |
bc44d920 | 60 | .TP 5 |
bf1bc4c6 MS |
61 | .B \-\-\fR[\fBno\-\fR]\fBremote\-any |
62 | Enables (disables) printing from any address, e.g., the Internet. | |
bc44d920 | 63 | .TP 5 |
bf1bc4c6 MS |
64 | .B \-\-\fR[\fBno\-\fR]\fBshare\-printers |
65 | Enables (disables) sharing of local printers with other computers. | |
bc44d920 | 66 | .TP 5 |
bf1bc4c6 MS |
67 | .B \-\-\fR[\fBno\-\fR]\fBuser\-cancel\-any |
68 | Allows (prevents) users to cancel jobs owned by others. | |
bc44d920 | 69 | .SH EXAMPLES |
70 | Display the current settings: | |
71 | .nf | |
bf1bc4c6 | 72 | |
bc44d920 | 73 | cupsctl |
bf1bc4c6 | 74 | |
bc44d920 | 75 | .fi |
bc44d920 | 76 | Enable debug logging: |
77 | .nf | |
bf1bc4c6 | 78 | |
bc44d920 | 79 | cupsctl --debug-logging |
bf1bc4c6 | 80 | |
bc44d920 | 81 | .fi |
bc44d920 | 82 | Get the current debug logging state: |
83 | .nf | |
bf1bc4c6 | 84 | |
bc44d920 | 85 | cupsctl | grep '^_debug_logging' | awk -F= '{print $2}' |
bf1bc4c6 | 86 | |
bc44d920 | 87 | .fi |
bc44d920 | 88 | Disable printer sharing: |
89 | .nf | |
bf1bc4c6 | 90 | |
0cb67df3 | 91 | cupsctl --no-share-printers |
bc44d920 | 92 | .fi |
0268488e | 93 | .SH KNOWN ISSUES |
bf1bc4c6 | 94 | You cannot set the Listen or Port directives using \fBcupsctl\fR. |
bc44d920 | 95 | .SH SEE ALSO |
bf1bc4c6 MS |
96 | .BR cupsd.conf (5), |
97 | .BR cupsd (8), | |
bc44d920 | 98 | .br |
bf1bc4c6 | 99 | CUPS Online Help (http://localhost:631/help) |
bc44d920 | 100 | .SH COPYRIGHT |
fbfee7a8 | 101 | Copyright \[co] 2007-2015 by Apple Inc. |