man-pages/man8/cupsctl.8.html
2021-03-31 01:06:50 +01:00

143 lines
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of cupsctl</TITLE>
</HEAD><BODY>
<H1>cupsctl</H1>
Section: Apple Inc. (8)<BR>Updated: CUPS<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
cupsctl - configure cupsd.conf options
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>cupsctl</B>
[
<B>-E</B>
] [
<B>-U</B>
<I>username</I>
] [
<B>-h</B>
<I>server</I>[<B>:</B><I>port</I>]
] [
<B>--</B>[<B>no-</B>]<B>debug-logging</B>
] [
<B>--</B>[<B>no-</B>]<B>remote-admin</B>
] [
<B>--</B>[<B>no-</B>]<B>remote-any</B>
] [
<B>--</B>[<B>no-</B>]<B>share-printers</B>
] [
<B>--</B>[<B>no-</B>]<B>user-cancel-any</B>
] [
<I>name=value</I>
]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>cupsctl</B> updates or queries the <I>cupsd.conf</I> file for a server. When
no changes are requested, the current configuration values are written to the
standard output in the format &quot;name=value&quot;, one per line.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
The following options are recognized:
<DL COMPACT>
<DT id="1"><B>-E</B>
<DD>
Enables encryption on the connection to the scheduler.
<DT id="2"><B>-U </B><I>username</I><DD>
Specifies an alternate username to use when authenticating with the scheduler.
<DT id="3"><B>-h </B><I>server</I>[<B>:</B><I>port</I>]<DD>
Specifies the server address.
<DT id="4"><B>--</B>[<B>no-</B>]<B>debug-logging</B><DD>
Enables (disables) debug logging to the <I>error_log</I> file.
<DT id="5"><B>--</B>[<B>no-</B>]<B>remote-admin</B><DD>
Enables (disables) remote administration.
<DT id="6"><B>--</B>[<B>no-</B>]<B>remote-any</B><DD>
Enables (disables) printing from any address, e.g., the Internet.
<DT id="7"><B>--</B>[<B>no-</B>]<B>share-printers</B><DD>
Enables (disables) sharing of local printers with other computers.
<DT id="8"><B>--</B>[<B>no-</B>]<B>user-cancel-any</B><DD>
Allows (prevents) users to cancel jobs owned by others.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>EXAMPLES</H2>
Display the current settings:
<PRE>
cupsctl
</PRE>
Enable debug logging:
<PRE>
cupsctl --debug-logging
</PRE>
Get the current debug logging state:
<PRE>
cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'
</PRE>
Disable printer sharing:
<PRE>
cupsctl --no-share-printers
</PRE>
<A NAME="lbAG">&nbsp;</A>
<H2>KNOWN ISSUES</H2>
You cannot set the Listen or Port directives using <B>cupsctl</B>.
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?5+cupsd.conf">cupsd.conf</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?8+cupsd">cupsd</A></B>(8),
<BR>
CUPS Online Help (<A HREF="http://localhost:631/help)">http://localhost:631/help)</A>
<A NAME="lbAI">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright &#169; 2007-2019 by Apple Inc.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="12"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="13"><A HREF="#lbAF">EXAMPLES</A><DD>
<DT id="14"><A HREF="#lbAG">KNOWN ISSUES</A><DD>
<DT id="15"><A HREF="#lbAH">SEE ALSO</A><DD>
<DT id="16"><A HREF="#lbAI">COPYRIGHT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:11 GMT, March 31, 2021
</BODY>
</HTML>