]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cupsctl.8
Greatly simplify the man page handling.
[thirdparty/cups.git] / man / cupsctl.8
CommitLineData
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
12cupsctl \- 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 38no changes are requested, the current configuration values are written to the
39standard output in the format "name=value", one per line.
40.SH OPTIONS
41The following options are recognized:
42.TP 5
bf1bc4c6 43.B \-E
bc44d920 44Enables encryption on the connection to the scheduler.
45.TP 5
bf1bc4c6 46\fB\-U \fIusername\fR
bc44d920 47Specifies an alternate username to use when authenticating with the scheduler.
48.TP 5
bf1bc4c6 49\fB\-h \fIserver\fR[\fB:\fIport\fR]
bc44d920 50Specifies the server address.
51.TP 5
3bd2e630 52\fB\-\-\fR[\fBno\-\fR]\fBdebug\-logging\fR
bf1bc4c6 53Enables (disables) debug logging to the \fIerror_log\fR file.
bc44d920 54.TP 5
3bd2e630 55\fB\-\-\fR[\fBno\-\fR]\fBremote\-admin\fR
bf1bc4c6 56Enables (disables) remote administration.
bc44d920 57.TP 5
3bd2e630 58\fB\-\-\fR[\fBno\-\fR]\fBremote\-any\fR
bf1bc4c6 59Enables (disables) printing from any address, e.g., the Internet.
bc44d920 60.TP 5
3bd2e630 61\fB\-\-\fR[\fBno\-\fR]\fBshare\-printers\fR
bf1bc4c6 62Enables (disables) sharing of local printers with other computers.
bc44d920 63.TP 5
3bd2e630 64\fB\-\-\fR[\fBno\-\fR]\fBuser\-cancel\-any\fR
bf1bc4c6 65Allows (prevents) users to cancel jobs owned by others.
bc44d920 66.SH EXAMPLES
67Display the current settings:
68.nf
bf1bc4c6 69
bc44d920 70 cupsctl
bf1bc4c6 71
bc44d920 72.fi
bc44d920 73Enable debug logging:
74.nf
bf1bc4c6 75
bc44d920 76 cupsctl --debug-logging
bf1bc4c6 77
bc44d920 78.fi
bc44d920 79Get 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 85Disable printer sharing:
86.nf
bf1bc4c6 87
0cb67df3 88 cupsctl --no-share-printers
bc44d920 89.fi
0268488e 90.SH KNOWN ISSUES
bf1bc4c6 91You 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 96CUPS Online Help (http://localhost:631/help)
bc44d920 97.SH COPYRIGHT
87030afb 98Copyright \[co] 2007-2019 by Apple Inc.