1lprm(1) Apple Inc. lprm(1)
2
3
4
6 lprm - cancel print jobs
7
9 lprm [ -E ] [ -U username ] [ -h server[:port] ] [ -P destina‐
10 tion[/instance] ] [ - ] [ job-id(s) ]
11
13 lprm cancels print jobs that have been queued for printing. If no
14 arguments are supplied, the current job on the default destination is
15 canceled. You can specify one or more job ID numbers to cancel those
16 jobs or use the - option to cancel all jobs.
17
19 The lprm command supports the following options:
20
21 -E Forces encryption when connecting to the server.
22
23 -P destination[/instance]
24 Specifies the destination printer or class.
25
26 -U username
27 Specifies an alternate username.
28
29 -h server[:port]
30 Specifies an alternate server.
31
33 The CUPS version of lprm is compatible with the standard Berkeley com‐
34 mand of the same name.
35
37 Cancel the current job on the default printer:
38
39 lprm
40
41 Cancel job 1234:
42
43 lprm 1234
44
45 Cancel all jobs:
46
47 lprm -
48
50 cancel(1), lp(1), lpq(1), lpr(1), lpstat(1), CUPS Online Help
51 (http://localhost:631/help)
52
54 Copyright © 2007-2019 by Apple Inc.
55
56
57
5826 April 2019 CUPS lprm(1)