2 .\" cupsctl man page for CUPS.
4 .\" Copyright © 2007-2019 by Apple Inc.
5 .\" Copyright © 2007 by Easy Software Products.
7 .\" Licensed under Apache License v2.0. See the file "LICENSE" for more
10 .TH cupsctl 8 "CUPS" "26 April 2019" "Apple Inc."
12 cupsctl \- configure cupsd.conf options
22 \fIserver\fR[\fB:\fIport\fR]
24 \fB\-\-\fR[\fBno\-\fR]\fBdebug\-logging\fR
26 \fB\-\-\fR[\fBno\-\fR]\fBremote\-admin\fR
28 \fB\-\-\fR[\fBno\-\fR]\fBremote\-any\fR
30 \fB\-\-\fR[\fBno\-\fR]\fBshare\-printers\fR
32 \fB\-\-\fR[\fBno\-\fR]\fBuser\-cancel\-any\fR
37 \fBcupsctl\fR updates or queries the \fIcupsd.conf\fR file for a server. When
38 no changes are requested, the current configuration values are written to the
39 standard output in the format "name=value", one per line.
41 The following options are recognized:
44 Enables encryption on the connection to the scheduler.
47 Specifies an alternate username to use when authenticating with the scheduler.
49 \fB\-h \fIserver\fR[\fB:\fIport\fR]
50 Specifies the server address.
52 \fB\-\-\fR[\fBno\-\fR]\fBdebug\-logging\fR
53 Enables (disables) debug logging to the \fIerror_log\fR file.
55 \fB\-\-\fR[\fBno\-\fR]\fBremote\-admin\fR
56 Enables (disables) remote administration.
58 \fB\-\-\fR[\fBno\-\fR]\fBremote\-any\fR
59 Enables (disables) printing from any address, e.g., the Internet.
61 \fB\-\-\fR[\fBno\-\fR]\fBshare\-printers\fR
62 Enables (disables) sharing of local printers with other computers.
64 \fB\-\-\fR[\fBno\-\fR]\fBuser\-cancel\-any\fR
65 Allows (prevents) users to cancel jobs owned by others.
67 Display the current settings:
76 cupsctl --debug-logging
79 Get the current debug logging state:
82 cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'
85 Disable printer sharing:
88 cupsctl --no-share-printers
91 You cannot set the Listen or Port directives using \fBcupsctl\fR.
96 CUPS Online Help (http://localhost:631/help)
98 Copyright \[co] 2007-2019 by Apple Inc.