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