2 .\" cupsctl man page for CUPS.
4 .\" Copyright 2007-2014 by Apple Inc.
5 .\" Copyright 2007 by Easy Software Products.
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/".
13 .TH cupsctl 8 "CUPS" "11 June 2014" "Apple Inc."
15 cupsctl \- configure cupsd.conf options
25 \fIserver\fR[\fB:\fIport\fR]
27 \fB\-\-\fR[\fBno\-\fR]\fBdebug\-logging\fR
29 \fB\-\-\fR[\fBno\-\fR]\fBremote\-admin\fR
31 \fB\-\-\fR[\fBno\-\fR]\fBremote\-any\fR
33 \fB\-\-\fR[\fBno\-\fR]\fBshare\-printers\fR
35 \fB\-\-\fR[\fBno\-\fR]\fBuser\-cancel\-any\fR
40 \fBcupsctl\fR updates or queries the \fIcupsd.conf\fR file for a server. When
41 no changes are requested, the current configuration values are written to the
42 standard output in the format "name=value", one per line.
44 The following options are recognized:
47 Enables encryption on the connection to the scheduler.
50 Specifies an alternate username to use when authenticating with the scheduler.
52 \fB\-h \fIserver\fR[\fB:\fIport\fR]
53 Specifies the server address.
55 .B \-\-\fR[\fBno\-\fR]\fBdebug\-logging
56 Enables (disables) debug logging to the \fIerror_log\fR file.
58 .B \-\-\fR[\fBno\-\fR]\fBremote\-admin
59 Enables (disables) remote administration.
61 .B \-\-\fR[\fBno\-\fR]\fBremote\-any
62 Enables (disables) printing from any address, e.g., the Internet.
64 .B \-\-\fR[\fBno\-\fR]\fBshare\-printers
65 Enables (disables) sharing of local printers with other computers.
67 .B \-\-\fR[\fBno\-\fR]\fBuser\-cancel\-any
68 Allows (prevents) users to cancel jobs owned by others.
70 Display the current settings:
79 cupsctl --debug-logging
82 Get the current debug logging state:
85 cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'
88 Disable printer sharing:
91 cupsctl --no-share-printers
94 You cannot set the Listen or Port directives using \fBcupsctl\fR.
99 CUPS Online Help (http://localhost:631/help)
101 Copyright \[co] 2007-2015 by Apple Inc.