1lprm(1) OpenPrinting lprm(1)
2
3
4
6 lprm - cancel print jobs
7
9 lprm [ -h hostname[:port] ] [ -E ] [ -U username ] [ -P destina‐
10 tion[/instance] ] [ - ] [ job-id(s) ]
11
13 lprm cancels print jobs that have been queued for printing. If no ar‐
14 guments 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. Note: This option must occur be‐
31 fore all others.
32
34 The CUPS version of lprm is compatible with the standard Berkeley com‐
35 mand of the same name.
36
38 Cancel the current job on the default printer:
39
40 lprm
41
42 Cancel job 1234:
43
44 lprm 1234
45
46 Cancel all jobs:
47
48 lprm -
49
51 cancel(1), lp(1), lpq(1), lpr(1), lpstat(1), CUPS Online Help
52 (http://localhost:631/help)
53
55 Copyright © 2021-2023 by OpenPrinting.
56
57
58
592022-05-02 CUPS lprm(1)