summaryrefslogtreecommitdiff
path: root/doc/help/man-cancel.html
blob: c02f6f1efec89b3e81487869468cfd7699b48392 (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
<!DOCTYPE HTML>
<html>
<!-- SECTION: Man Pages -->
<head>
	<link rel="stylesheet" type="text/css" href="../cups-printable.css">
	<title>cancel(1)</title>
</head>
<body>
<h1 class="title">cancel(1)</h1>
<h2 class="title"><a name="NAME">Name</a></h2>
cancel - cancel jobs
<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
<b>cancel</b>
[
<b>-E</b>
] [
<b>-U</b>
<i>username</i>
] [
<b>-a</b>
] [
<b>-h</b>
<i>hostname[:port]</i>
] [
<b>-u</b>
<i>username</i>
] [
<b>-x</b>
] [
<i>id</i>
] [
<i>destination</i>
] [
<i>destination-id</i>
]
<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
The <b>cancel</b> command cancels print jobs.
If no <i>destination</i> or <i>id</i> is specified, the currently printing job on the default destination is canceled.
<h2 class="title"><a name="OPTIONS">Options</a></h2>
The following options are recognized by <b>cancel</b>:
<dl class="man">
<dt><b>-a</b>
<dd style="margin-left: 5.0em">Cancel all jobs on the named destination, or all jobs on all
destinations if none is provided.
<dt><b>-E</b>
<dd style="margin-left: 5.0em">Forces encryption when connecting to the server.
<dt><b>-h </b><i>hostname</i>[<i>:port</i>]
<dd style="margin-left: 5.0em">Specifies an alternate server.
<dt><b>-U </b><i>username</i>
<dd style="margin-left: 5.0em">Specifies the username to use when connecting to the server.
<dt><b>-u </b><i>username</i>
<dd style="margin-left: 5.0em">Cancels jobs owned by <i>username</i>.
<dt><b>-x</b>
<dd style="margin-left: 5.0em">Deletes job data files in addition to canceling.
</dl>
<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2>
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 <i>not</i> case-sensitive.
<h2 class="title"><a name="EXAMPLES">Examples</a></h2>
Cancel the current print job:
<pre class="man">

    cancel

</pre>
Cancel job "myprinter-42":
<pre class="man">

    cancel myprinter-42

</pre>
Cancel all jobs:
<pre class="man">

    cancel -a
</pre>
<h2 class="title"><a name="NOTES">Notes</a></h2>
Administrators wishing to prevent unauthorized cancellation of jobs via the <i>-u</i> option should require authentication for Cancel-Jobs operations in
<b>cupsd.conf</b>(5).
<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
<b>cupsd.conf</b>(5),
<b>lp</b>(1),
<b>lpmove</b>(8),
<b>lpstat</b>(1),
CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
Copyright &copy; 2007-2019 by Apple Inc.

</body>
</html>