summaryrefslogtreecommitdiffstats
path: root/upstream/archlinux/man1/cancel.1
blob: 7a917df9389cdb0fda192221fc47e87750449bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.\"
.\" cancel man page for CUPS.
.\"
.\" Copyright © 2021-2023 by OpenPrinting.
.\" Copyright © 2007-2019 by Apple Inc.
.\" Copyright © 1997-2006 by Easy Software Products.
.\"
.\" Licensed under Apache License v2.0.  See the file "LICENSE" for more
.\" information.
.\"
.TH cancel 1 "CUPS" "2022-05-02" "OpenPrinting"
.SH NAME
cancel \- cancel jobs
.SH SYNOPSIS
.B cancel
[
.B \-h
.I hostname[:port]
] [
.B \-E
] [
.B \-U
.I username
] [
.B \-a
] [
.B \-u
.I username
] [
.B \-x
] [
.I id
] [
.I destination
] [
.I destination\-id
]
.SH DESCRIPTION
The \fBcancel\fR command cancels print jobs.
If no \fIdestination\fR or \fIid\fR is specified, the currently printing job on the default destination is canceled.
.SH OPTIONS
The following options are recognized by \fBcancel\fR:
.TP 5
.B \-a
Cancel all jobs on the named destination, or all jobs on all
destinations if none is provided.
.TP 5
.B \-E
Forces encryption when connecting to the server.
.TP 5
\fB\-h \fIhostname\fR[\fI:port\fR]
Specifies an alternate server.
Note: This option must occur before all others.
.TP 5
\fB\-U \fIusername\fR
Specifies the username to use when connecting to the server.
.TP 5
\fB\-u \fIusername\fR
Cancels jobs owned by \fIusername\fR.
.TP 5
.B \-x
Deletes job data files in addition to canceling.
.SH CONFORMING TO
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also, printer and class names are \fInot\fR case-sensitive.
.SH EXAMPLES
Cancel the current print job:
.nf

    cancel

.fi
Cancel job "myprinter-42":
.nf

    cancel myprinter\-42

.fi
Cancel all jobs:
.nf

    cancel \-a
.fi
.SH NOTES
Administrators wishing to prevent unauthorized cancellation of jobs via the \fI\-u\fR option should require authentication for Cancel-Jobs operations in
.BR cupsd.conf (5).
.SH SEE ALSO
.BR cupsd.conf (5),
.BR lp (1),
.BR lpmove (8),
.BR lpstat (1),
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2021-2023 by OpenPrinting.