Greatly simplify the man page handling.
[thirdparty/cups.git] / doc / help / man-lprm.html
CommitLineData
c277f98c 1<!DOCTYPE HTML>
94436c5a
MS
2<html>
3<!-- SECTION: Man Pages -->
4<head>
5 <link rel="stylesheet" type="text/css" href="../cups-printable.css">
6 <title>lprm(1)</title>
7</head>
8<body>
9<h1 class="title">lprm(1)</h1>
10<h2 class="title"><a name="NAME">Name</a></h2>
11lprm - cancel print jobs
12<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
c277f98c 13<b>lprm</b>
ddf95fe6
MS
14[
15<b>-E</b>
16] [
17<b>-U</b>
c277f98c 18<i>username</i>
ddf95fe6
MS
19] [
20<b>-h</b>
21<i>server</i>[<i>:port</i>]
22] [
23<b>-P</b>
24<i>destination</i>[<i>/instance</i>]
25] [
26<b>-</b>
27] [
28<i>job-id(s)</i>
c277f98c 29]
94436c5a 30<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
ddf95fe6
MS
31<b>lprm</b>
32cancels print jobs that have been queued for printing.
33If no arguments are supplied, the current job on the default destination is canceled.
34You can specify one or more job ID numbers to cancel those jobs or use the <i>-</i> option to cancel all jobs.
94436c5a 35<h2 class="title"><a name="OPTIONS">Options</a></h2>
ddf95fe6
MS
36The
37<b>lprm</b>
38command supports the following options:
2909c66c 39<dl class="man">
ddf95fe6
MS
40<dt><b>-E</b>
41<dd style="margin-left: 5.0em">Forces encryption when connecting to the server.
42<dt><b>-P </b><i>destination</i>[<i>/instance</i>]
43<dd style="margin-left: 5.0em">Specifies the destination printer or class.
44<dt><b>-U </b><i>username</i>
45<dd style="margin-left: 5.0em">Specifies an alternate username.
46<dt><b>-h </b><i>server</i>[<i>:port</i>]
47<dd style="margin-left: 5.0em">Specifies an alternate server.
2909c66c 48</dl>
ddf95fe6
MS
49<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2>
50The CUPS version of
51<b>lprm</b>
52is compatible with the standard Berkeley command of the same name.
53<h2 class="title"><a name="EXAMPLES">Examples</a></h2>
54Cancel the current job on the default printer:
55<pre class="man">
56
57 lprm
58
59</pre>
60Cancel job 1234:
61<pre class="man">
62
63 lprm 1234
64
65</pre>
66Cancel all jobs:
67<pre class="man">
68
69 lprm -
70</pre>
94436c5a 71<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
87030afb
MS
72<b>cancel</b>(1),
73<b>lp</b>(1),
74<b>lpq</b>(1),
75<b>lpr</b>(1),
76<b>lpstat</b>(1),
ddf95fe6 77CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
94436c5a 78<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
87030afb 79Copyright &copy; 2007-2019 by Apple Inc.
94436c5a
MS
80
81</body>
82</html>