1cancel(1) OpenPrinting cancel(1)
2
3
4
6 cancel - cancel jobs
7
9 cancel [ -h hostname[:port] ] [ -E ] [ -U username ] [ -a ] [ -u user‐
10 name ] [ -x ] [ id ] [ destination ] [ destination-id ]
11
13 The cancel command cancels print jobs. If no destination or id is
14 specified, the currently printing job on the default destination is
15 canceled.
16
18 The following options are recognized by cancel:
19
20 -a Cancel all jobs on the named destination, or all jobs on all des‐
21 tinations if none is provided.
22
23 -E Forces encryption when connecting to the server.
24
25 -h hostname[:port]
26 Specifies an alternate server. Note: This option must occur be‐
27 fore all others.
28
29 -U username
30 Specifies the username to use when connecting to the server.
31
32 -u username
33 Cancels jobs owned by username.
34
35 -x Deletes job data files in addition to canceling.
36
38 Unlike the System V printing system, CUPS allows printer names to con‐
39 tain any printable character except SPACE, TAB, "/", or "#". Also,
40 printer and class names are not case-sensitive.
41
43 Cancel the current print job:
44
45 cancel
46
47 Cancel job "myprinter-42":
48
49 cancel myprinter-42
50
51 Cancel all jobs:
52
53 cancel -a
54
56 Administrators wishing to prevent unauthorized cancellation of jobs via
57 the -u option should require authentication for Cancel-Jobs operations
58 in cupsd.conf(5).
59
61 cupsd.conf(5), lp(1), lpmove(8), lpstat(1), CUPS Online Help
62 (http://localhost:631/help)
63
65 Copyright © 2021-2022 by OpenPrinting.
66
67
68
692022-05-02 CUPS cancel(1)