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

161 lines
3.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of cupsenable</TITLE>
</HEAD><BODY>
<H1>cupsenable</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>
cupsdisable, cupsenable - stop/start printers and classes
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>cupsdisable</B>
[
<B>-E</B>
] [
<B>-U</B>
<I>username</I>
] [
<B>-c</B>
] [
<B>-h </B><I>server</I>[<B>:</B><I>port</I>]
] [
<B>-r</B>
<I>reason</I>
] [
<B>--hold</B>
]
<I>destination(s)</I>
<BR>
<B>cupsenable</B>
[
<B>-E</B>
] [
<B>-U</B>
<I>username</I>
] [
<B>-c</B>
] [
<B>-h </B><I>server</I>[<B>:</B><I>port</I>]
] [
<B>--release</B>
]
<I>destination(s)</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>cupsenable</B>
starts the named printers or classes while
<B>cupsdisable</B>
stops the named printers or classes.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
The following options may be used:
<DL COMPACT>
<DT id="1"><B>-E</B>
<DD>
Forces encryption of the connection to the server.
<DT id="2"><B>-U </B><I>username</I><DD>
Uses the specified username when connecting to the server.
<DT id="3"><B>-c</B>
<DD>
Cancels all jobs on the named destination.
<DT id="4"><B>-h </B><I>server</I>[<B>:</B><I>port</I>]<DD>
Uses the specified server and port.
<DT id="5"><B>--hold</B>
<DD>
Holds remaining jobs on the named printer.
Useful for allowing the current job to complete before performing maintenance.
<DT id="6"><B>-r &quot;</B><I>reason</I><B>&quot;</B><DD>
Sets the message associated with the stopped state.
If no reason is specified then the message is set to &quot;Reason Unknown&quot;.
<DT id="7"><B>--release</B>
<DD>
Releases pending jobs for printing.
Use after running <B>cupsdisable</B> with the <I>--hold</I> option to resume printing.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>CONFORMING TO</H2>
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, &quot;/&quot;, or &quot;#&quot;.
Also, printer and class names are <I>not</I> case-sensitive.
<P>
The System V versions of these commands are <B>disable</B> and <B>enable</B>, respectively.
They have been renamed to avoid conflicts with the
<B><A HREF="/cgi-bin/man/man2html?1+bash">bash</A></B>(1)
build-in commands of the same names.
<P>
The CUPS versions of <B>disable</B> and <B>enable</B> may ask the user for an access password depending on the printing system configuration.
This differs from the System V versions which require the root user to execute these commands.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+cupsaccept">cupsaccept</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+cupsreject">cupsreject</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?1+cancel">cancel</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+lp">lp</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?8+lpadmin">lpadmin</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?1+lpstat">lpstat</A></B>(1),
CUPS Online Help (<A HREF="http://localhost:631/help)">http://localhost:631/help)</A>
<A NAME="lbAH">&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="8"><A HREF="#lbAB">NAME</A><DD>
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="11"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="12"><A HREF="#lbAF">CONFORMING TO</A><DD>
<DT id="13"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="14"><A HREF="#lbAH">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>