]>
Commit | Line | Data |
---|---|---|
1 | <!DOCTYPE HTML> | |
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> | |
13 | <b>lprm</b> | |
14 | [ | |
15 | <b>-E</b> | |
16 | ] [ | |
17 | <b>-U</b> | |
18 | <i>username</i> | |
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> | |
29 | ] | |
30 | <h2 class="title"><a name="DESCRIPTION">Description</a></h2> | |
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. | |
35 | <h2 class="title"><a name="OPTIONS">Options</a></h2> | |
36 | The | |
37 | <b>lprm</b> | |
38 | command supports the following options: | |
39 | <dl class="man"> | |
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. | |
48 | </dl> | |
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> | |
71 | <h2 class="title"><a name="SEE_ALSO">See Also</a></h2> | |
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), | |
77 | CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>) | |
78 | <h2 class="title"><a name="COPYRIGHT">Copyright</a></h2> | |
79 | Copyright © 2007-2019 by Apple Inc. | |
80 | ||
81 | </body> | |
82 | </html> |