]>
Commit | Line | Data |
---|---|---|
bd7854cb | 1 | .\" |
7131e285 | 2 | .\" cancel man page for CUPS. |
bd7854cb | 3 | .\" |
87030afb MS |
4 | .\" Copyright © 2007-2019 by Apple Inc. |
5 | .\" Copyright © 1997-2006 by Easy Software Products. | |
bd7854cb | 6 | .\" |
87030afb MS |
7 | .\" Licensed under Apache License v2.0. See the file "LICENSE" for more |
8 | .\" information. | |
bd7854cb | 9 | .\" |
87030afb | 10 | .TH cancel 1 "CUPS" "26 April 2019" "Apple Inc." |
bd7854cb | 11 | .SH NAME |
7131e285 | 12 | cancel \- cancel jobs |
bd7854cb | 13 | .SH SYNOPSIS |
14 | .B cancel | |
7131e285 | 15 | [ |
e94cac03 | 16 | .B \-E |
7131e285 | 17 | ] [ |
e94cac03 | 18 | .B \-U |
bd7854cb | 19 | .I username |
7131e285 | 20 | ] [ |
e94cac03 | 21 | .B \-a |
7131e285 | 22 | ] [ |
e94cac03 | 23 | .B \-h |
bd7854cb | 24 | .I hostname[:port] |
7131e285 | 25 | ] [ |
e94cac03 | 26 | .B \-u |
bd7854cb | 27 | .I username |
7131e285 | 28 | ] [ |
e94cac03 | 29 | .B \-x |
7131e285 | 30 | ] [ |
bd7854cb | 31 | .I id |
32 | ] [ | |
33 | .I destination | |
34 | ] [ | |
7131e285 | 35 | .I destination\-id |
bd7854cb | 36 | ] |
37 | .SH DESCRIPTION | |
e94cac03 MS |
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. | |
bd7854cb | 40 | .SH OPTIONS |
7131e285 | 41 | The following options are recognized by \fBcancel\fR: |
bd7854cb | 42 | .TP 5 |
7131e285 | 43 | .B \-a |
bd7854cb | 44 | Cancel all jobs on the named destination, or all jobs on all |
45 | destinations if none is provided. | |
46 | .TP 5 | |
7131e285 MS |
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. | |
bd7854cb | 55 | .TP 5 |
7131e285 | 56 | \fB\-u \fIusername\fR |
bd7854cb | 57 | Cancels jobs owned by \fIusername\fR. |
db8b865d | 58 | .TP 5 |
7131e285 | 59 | .B \-x |
db8b865d | 60 | Deletes job data files in addition to canceling. |
7131e285 MS |
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 | |
bd7854cb | 81 | .SH NOTES |
7131e285 MS |
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). | |
bd7854cb | 84 | .SH SEE ALSO |
7131e285 MS |
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) | |
bd7854cb | 90 | .SH COPYRIGHT |
87030afb | 91 | Copyright \[co] 2007-2019 by Apple Inc. |