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