man-pages/man1/lprm.1.html
2021-03-31 01:06:50 +01:00

139 lines
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of lprm</TITLE>
</HEAD><BODY>
<H1>lprm</H1>
Section: Apple Inc. (1)<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>
lprm - cancel print jobs
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>lprm</B>
[
<B>-E</B>
] [
<B>-U</B>
<I>username</I>
] [
<B>-h</B>
<I>server</I>[<I>:port</I>]
] [
<B>-P</B>
<I>destination</I>[<I>/instance</I>]
] [
<B>-</B>
] [
<I>job-id(s)</I>
]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>lprm</B>
cancels print jobs that have been queued for printing.
If no arguments are supplied, the current job on the default destination is canceled.
You can specify one or more job ID numbers to cancel those jobs or use the <I>-</I> option to cancel all jobs.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
The
<B>lprm</B>
command supports the following options:
<DL COMPACT>
<DT id="1"><B>-E</B>
<DD>
Forces encryption when connecting to the server.
<DT id="2"><B>-P </B><I>destination</I>[<I>/instance</I>]<DD>
Specifies the destination printer or class.
<DT id="3"><B>-U </B><I>username</I><DD>
Specifies an alternate username.
<DT id="4"><B>-h </B><I>server</I>[<I>:port</I>]<DD>
Specifies an alternate server.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>CONFORMING TO</H2>
The CUPS version of
<B>lprm</B>
is compatible with the standard Berkeley command of the same name.
<A NAME="lbAG">&nbsp;</A>
<H2>EXAMPLES</H2>
Cancel the current job on the default printer:
<PRE>
lprm
</PRE>
Cancel job 1234:
<PRE>
lprm 1234
</PRE>
Cancel all jobs:
<PRE>
lprm -
</PRE>
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<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?1+lpq">lpq</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+lpr">lpr</A></B>(1),
<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="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="5"><A HREF="#lbAB">NAME</A><DD>
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="9"><A HREF="#lbAF">CONFORMING TO</A><DD>
<DT id="10"><A HREF="#lbAG">EXAMPLES</A><DD>
<DT id="11"><A HREF="#lbAH">SEE ALSO</A><DD>
<DT id="12"><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:05:18 GMT, March 31, 2021
</BODY>
</HTML>