]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | .\" |
ddf95fe6 | 2 | .\" lprm man page for CUPS. |
ef416fc2 | 3 | .\" |
87030afb MS |
4 | .\" Copyright © 2007-2019 by Apple Inc. |
5 | .\" Copyright © 1997-2006 by Easy Software Products. | |
ef416fc2 | 6 | .\" |
87030afb MS |
7 | .\" Licensed under Apache License v2.0. See the file "LICENSE" for more |
8 | .\" information. | |
ef416fc2 | 9 | .\" |
87030afb | 10 | .TH lprm 1 "CUPS" "26 April 2019" "Apple Inc." |
ef416fc2 | 11 | .SH NAME |
12 | lprm \- cancel print jobs | |
13 | .SH SYNOPSIS | |
14 | .B lprm | |
ddf95fe6 MS |
15 | [ |
16 | .B \-E | |
17 | ] [ | |
18 | .B \-U | |
fa73b229 | 19 | .I username |
ddf95fe6 MS |
20 | ] [ |
21 | .B \-h | |
22 | .IR server [ :port ] | |
23 | ] [ | |
24 | .B \-P | |
25 | .IR destination [ /instance ] | |
26 | ] [ | |
27 | .B \- | |
28 | ] [ | |
29 | .I job-id(s) | |
ef416fc2 | 30 | ] |
31 | .SH DESCRIPTION | |
ddf95fe6 MS |
32 | .B lprm |
33 | cancels print jobs that have been queued for printing. | |
34 | If no arguments are supplied, the current job on the default destination is canceled. | |
35 | You can specify one or more job ID numbers to cancel those jobs or use the \fI\-\fR option to cancel all jobs. | |
bd7854cb | 36 | .SH OPTIONS |
ddf95fe6 MS |
37 | The |
38 | .B lprm | |
39 | command supports the following options: | |
bd7854cb | 40 | .TP 5 |
ddf95fe6 | 41 | .B \-E |
bd7854cb | 42 | Forces encryption when connecting to the server. |
43 | .TP 5 | |
ddf95fe6 | 44 | \fB\-P \fIdestination\fR[\fI/instance\fR] |
bd7854cb | 45 | Specifies the destination printer or class. |
46 | .TP 5 | |
ddf95fe6 | 47 | \fB\-U \fIusername\fR |
bd7854cb | 48 | Specifies an alternate username. |
49 | .TP 5 | |
ddf95fe6 | 50 | \fB\-h \fIserver\fR[\fI:port\fR] |
7a0cbd5e | 51 | Specifies an alternate server. |
ddf95fe6 MS |
52 | .SH CONFORMING TO |
53 | The CUPS version of | |
54 | .B lprm | |
55 | is compatible with the standard Berkeley command of the same name. | |
56 | .SH EXAMPLES | |
57 | Cancel the current job on the default printer: | |
58 | .nf | |
59 | ||
60 | lprm | |
61 | ||
62 | .fi | |
63 | Cancel job 1234: | |
64 | .nf | |
65 | ||
66 | lprm 1234 | |
67 | ||
68 | .fi | |
69 | Cancel all jobs: | |
70 | .nf | |
71 | ||
72 | lprm \- | |
73 | .fi | |
ef416fc2 | 74 | .SH SEE ALSO |
ddf95fe6 MS |
75 | .BR cancel (1), |
76 | .BR lp (1), | |
77 | .BR lpq (1), | |
78 | .BR lpr (1), | |
79 | .BR lpstat (1), | |
80 | CUPS Online Help (http://localhost:631/help) | |
ef416fc2 | 81 | .SH COPYRIGHT |
87030afb | 82 | Copyright \[co] 2007-2019 by Apple Inc. |