Blame man/cupsctl.man

Packit 2fc92b
.\"
Packit 2fc92b
.\" cupsctl man page for CUPS.
Packit 2fc92b
.\"
Packit 2fc92b
.\" Copyright 2007-2016 by Apple Inc.
Packit 2fc92b
.\" Copyright 2007 by Easy Software Products.
Packit 2fc92b
.\"
Packit 2fc92b
.\" These coded instructions, statements, and computer programs are the
Packit 2fc92b
.\" property of Apple Inc. and are protected by Federal copyright
Packit 2fc92b
.\" law.  Distribution and use rights are outlined in the file "LICENSE.txt"
Packit 2fc92b
.\" which should have been included with this file.  If this file is
Packit 2fc92b
.\" file is missing or damaged, see the license at "http://www.cups.org/".
Packit 2fc92b
.\"
Packit 2fc92b
.TH cupsctl 8 "CUPS" "30 May 2016" "Apple Inc."
Packit 2fc92b
.SH NAME
Packit 2fc92b
cupsctl \- configure cupsd.conf options
Packit 2fc92b
.SH SYNOPSIS
Packit 2fc92b
.B cupsctl
Packit 2fc92b
[
Packit 2fc92b
.B \-E
Packit 2fc92b
] [
Packit 2fc92b
.B \-U
Packit 2fc92b
.I username
Packit 2fc92b
] [
Packit 2fc92b
.B \-h
Packit 2fc92b
\fIserver\fR[\fB:\fIport\fR]
Packit 2fc92b
] [
Packit 2fc92b
\fB\-\-\fR[\fBno\-\fR]\fBdebug\-logging\fR
Packit 2fc92b
] [
Packit 2fc92b
\fB\-\-\fR[\fBno\-\fR]\fBremote\-admin\fR
Packit 2fc92b
] [
Packit 2fc92b
\fB\-\-\fR[\fBno\-\fR]\fBremote\-any\fR
Packit 2fc92b
] [
Packit 2fc92b
\fB\-\-\fR[\fBno\-\fR]\fBshare\-printers\fR
Packit 2fc92b
] [
Packit 2fc92b
\fB\-\-\fR[\fBno\-\fR]\fBuser\-cancel\-any\fR
Packit 2fc92b
] [
Packit 2fc92b
.I name=value
Packit 2fc92b
]
Packit 2fc92b
.SH DESCRIPTION
Packit 2fc92b
\fBcupsctl\fR updates or queries the \fIcupsd.conf\fR file for a server. When
Packit 2fc92b
no changes are requested, the current configuration values are written to the
Packit 2fc92b
standard output in the format "name=value", one per line.
Packit 2fc92b
.SH OPTIONS
Packit 2fc92b
The following options are recognized:
Packit 2fc92b
.TP 5
Packit 2fc92b
.B \-E
Packit 2fc92b
Enables encryption on the connection to the scheduler.
Packit 2fc92b
.TP 5
Packit 2fc92b
\fB\-U \fIusername\fR
Packit 2fc92b
Specifies an alternate username to use when authenticating with the scheduler.
Packit 2fc92b
.TP 5
Packit 2fc92b
\fB\-h \fIserver\fR[\fB:\fIport\fR]
Packit 2fc92b
Specifies the server address.
Packit 2fc92b
.TP 5
Packit 2fc92b
\fB\-\-\fR[\fBno\-\fR]\fBdebug\-logging\fR
Packit 2fc92b
Enables (disables) debug logging to the \fIerror_log\fR file.
Packit 2fc92b
.TP 5
Packit 2fc92b
\fB\-\-\fR[\fBno\-\fR]\fBremote\-admin\fR
Packit 2fc92b
Enables (disables) remote administration.
Packit 2fc92b
.TP 5
Packit 2fc92b
\fB\-\-\fR[\fBno\-\fR]\fBremote\-any\fR
Packit 2fc92b
Enables (disables) printing from any address, e.g., the Internet.
Packit 2fc92b
.TP 5
Packit 2fc92b
\fB\-\-\fR[\fBno\-\fR]\fBshare\-printers\fR
Packit 2fc92b
Enables (disables) sharing of local printers with other computers.
Packit 2fc92b
.TP 5
Packit 2fc92b
\fB\-\-\fR[\fBno\-\fR]\fBuser\-cancel\-any\fR
Packit 2fc92b
Allows (prevents) users to cancel jobs owned by others.
Packit 2fc92b
.SH EXAMPLES
Packit 2fc92b
Display the current settings:
Packit 2fc92b
.nf
Packit 2fc92b
Packit 2fc92b
    cupsctl
Packit 2fc92b
Packit 2fc92b
.fi
Packit 2fc92b
Enable debug logging:
Packit 2fc92b
.nf
Packit 2fc92b
Packit 2fc92b
    cupsctl --debug-logging
Packit 2fc92b
Packit 2fc92b
.fi
Packit 2fc92b
Get the current debug logging state:
Packit 2fc92b
.nf
Packit 2fc92b
Packit 2fc92b
    cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'
Packit 2fc92b
Packit 2fc92b
.fi
Packit 2fc92b
Disable printer sharing:
Packit 2fc92b
.nf
Packit 2fc92b
Packit 2fc92b
    cupsctl --no-share-printers
Packit 2fc92b
.fi
Packit 2fc92b
.SH KNOWN ISSUES
Packit 2fc92b
You cannot set the Listen or Port directives using \fBcupsctl\fR.
Packit 2fc92b
.SH SEE ALSO
Packit 2fc92b
.BR cupsd.conf (5),
Packit 2fc92b
.BR cupsd (8),
Packit 2fc92b
.br
Packit 2fc92b
CUPS Online Help (http://localhost:631/help)
Packit 2fc92b
.SH COPYRIGHT
Packit 2fc92b
Copyright \[co] 2007-2017 by Apple Inc.