]> git.ipfire.org Git - thirdparty/cups.git/blob - man/cancel.1
Update .gitignore to ignore compressed man pages.
[thirdparty/cups.git] / man / cancel.1
1 .\"
2 .\" cancel man page for CUPS.
3 .\"
4 .\" Copyright © 2007-2019 by Apple Inc.
5 .\" Copyright © 1997-2006 by Easy Software Products.
6 .\"
7 .\" Licensed under Apache License v2.0. See the file "LICENSE" for more
8 .\" information.
9 .\"
10 .TH cancel 1 "CUPS" "26 April 2019" "Apple Inc."
11 .SH NAME
12 cancel \- cancel jobs
13 .SH SYNOPSIS
14 .B cancel
15 [
16 .B \-E
17 ] [
18 .B \-U
19 .I username
20 ] [
21 .B \-a
22 ] [
23 .B \-h
24 .I hostname[:port]
25 ] [
26 .B \-u
27 .I username
28 ] [
29 .B \-x
30 ] [
31 .I id
32 ] [
33 .I destination
34 ] [
35 .I destination\-id
36 ]
37 .SH DESCRIPTION
38 The \fBcancel\fR command cancels print jobs.
39 If no \fIdestination\fR or \fIid\fR is specified, the currently printing job on the default destination is canceled.
40 .SH OPTIONS
41 The following options are recognized by \fBcancel\fR:
42 .TP 5
43 .B \-a
44 Cancel all jobs on the named destination, or all jobs on all
45 destinations if none is provided.
46 .TP 5
47 .B \-E
48 Forces encryption when connecting to the server.
49 .TP 5
50 \fB\-h \fIhostname\fR[\fI:port\fR]
51 Specifies an alternate server.
52 .TP 5
53 \fB\-U \fIusername\fR
54 Specifies the username to use when connecting to the server.
55 .TP 5
56 \fB\-u \fIusername\fR
57 Cancels jobs owned by \fIusername\fR.
58 .TP 5
59 .B \-x
60 Deletes job data files in addition to canceling.
61 .SH CONFORMING TO
62 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.
63 .SH EXAMPLES
64 Cancel the current print job:
65 .nf
66
67 cancel
68
69 .fi
70 Cancel job "myprinter-42":
71 .nf
72
73 cancel myprinter\-42
74
75 .fi
76 Cancel all jobs:
77 .nf
78
79 cancel \-a
80 .fi
81 .SH NOTES
82 Administrators wishing to prevent unauthorized cancellation of jobs via the \fI\-u\fR option should require authentication for Cancel-Jobs operations in
83 .BR cupsd.conf (5).
84 .SH SEE ALSO
85 .BR cupsd.conf (5),
86 .BR lp (1),
87 .BR lpmove (8),
88 .BR lpstat (1),
89 CUPS Online Help (http://localhost:631/help)
90 .SH COPYRIGHT
91 Copyright \[co] 2007-2019 by Apple Inc.