]>
Commit | Line | Data |
---|---|---|
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> | |
11 | lprm - 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> |
32 | cancels print jobs that have been queued for printing. | |
33 | If no arguments are supplied, the current job on the default destination is canceled. | |
34 | You 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 |
36 | The |
37 | <b>lprm</b> | |
38 | command 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> |
50 | The CUPS version of | |
51 | <b>lprm</b> | |
52 | is compatible with the standard Berkeley command of the same name. | |
53 | <h2 class="title"><a name="EXAMPLES">Examples</a></h2> | |
54 | Cancel the current job on the default printer: | |
55 | <pre class="man"> | |
56 | ||
57 | lprm | |
58 | ||
59 | </pre> | |
60 | Cancel job 1234: | |
61 | <pre class="man"> | |
62 | ||
63 | lprm 1234 | |
64 | ||
65 | </pre> | |
66 | Cancel all jobs: | |
67 | <pre class="man"> | |
68 | ||
69 | lprm - | |
70 | </pre> | |
94436c5a | 71 | <h2 class="title"><a name="SEE_ALSO">See Also</a></h2> |
ddf95fe6 MS |
72 | <a href="man-cancel.html?TOPIC=Man+Pages"><b>cancel</b>(1),</a> |
73 | <a href="man-lp.html?TOPIC=Man+Pages"><b>lp</b>(1),</a> | |
74 | <a href="man-lpq.html?TOPIC=Man+Pages"><b>lpq</b>(1),</a> | |
75 | <a href="man-lpr.html?TOPIC=Man+Pages"><b>lpr</b>(1),</a> | |
76 | <a href="man-lpstat.html?TOPIC=Man+Pages"><b>lpstat</b>(1),</a> | |
77 | CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>) | |
94436c5a | 78 | <h2 class="title"><a name="COPYRIGHT">Copyright</a></h2> |
afad2da2 | 79 | Copyright © 2007-2018 by Apple Inc. |
94436c5a MS |
80 | |
81 | </body> | |
82 | </html> |