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