]> git.ipfire.org Git - thirdparty/cups.git/blob - doc/help/man-cancel.html
8048ce9d364385ec92f34495c1b2dbc42e3cf1b2
[thirdparty/cups.git] / doc / help / man-cancel.html
1 <!DOCTYPE HTML>
2 <html>
3 <!-- SECTION: Man Pages -->
4 <head>
5 <link rel="stylesheet" type="text/css" href="../cups-printable.css">
6 <title>cancel(1)</title>
7 </head>
8 <body>
9 <h1 class="title">cancel(1)</h1>
10 <h2 class="title"><a name="NAME">Name</a></h2>
11 cancel - cancel jobs
12 <h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
13 <b>cancel</b>
14 [
15 <b>-E</b>
16 ] [
17 <b>-U</b>
18 <i>username</i>
19 ] [
20 <b>-a</b>
21 ] [
22 <b>-h</b>
23 <i>hostname[:port]</i>
24 ] [
25 <b>-u</b>
26 <i>username</i>
27 ] [
28 <b>-x</b>
29 ] [
30 <i>id</i>
31 ] [
32 <i>destination</i>
33 ] [
34 <i>destination-id</i>
35 ]
36 <h2 class="title"><a name="DESCRIPTION">Description</a></h2>
37 The <b>cancel</b> command cancels print jobs.
38 If no <i>destination</i> or <i>id</i> is specified, the currently printing job on the default destination is canceled.
39 <h2 class="title"><a name="OPTIONS">Options</a></h2>
40 The following options are recognized by <b>cancel</b>:
41 <dl class="man">
42 <dt><b>-a</b>
43 <dd style="margin-left: 5.0em">Cancel all jobs on the named destination, or all jobs on all
44 destinations if none is provided.
45 <dt><b>-E</b>
46 <dd style="margin-left: 5.0em">Forces encryption when connecting to the server.
47 <dt><b>-h </b><i>hostname</i>[<i>:port</i>]
48 <dd style="margin-left: 5.0em">Specifies an alternate server.
49 <dt><b>-U </b><i>username</i>
50 <dd style="margin-left: 5.0em">Specifies the username to use when connecting to the server.
51 <dt><b>-u </b><i>username</i>
52 <dd style="margin-left: 5.0em">Cancels jobs owned by <i>username</i>.
53 <dt><b>-x</b>
54 <dd style="margin-left: 5.0em">Deletes job data files in addition to canceling.
55 </dl>
56 <h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2>
57 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.
58 <h2 class="title"><a name="EXAMPLES">Examples</a></h2>
59 Cancel the current print job:
60 <pre class="man">
61
62 cancel
63
64 </pre>
65 Cancel job "myprinter-42":
66 <pre class="man">
67
68 cancel myprinter-42
69
70 </pre>
71 Cancel all jobs:
72 <pre class="man">
73
74 cancel -a
75 </pre>
76 <h2 class="title"><a name="NOTES">Notes</a></h2>
77 Administrators wishing to prevent unauthorized cancellation of jobs via the <i>-u</i> option should require authentication for Cancel-Jobs operations in
78 <a href="man-cupsd.conf.html?TOPIC=Man+Pages"><b>cupsd.conf</b>(5).</a>
79 <h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
80 <a href="man-cupsd.conf.html?TOPIC=Man+Pages"><b>cupsd.conf</b>(5),</a>
81 <a href="man-lp.html?TOPIC=Man+Pages"><b>lp</b>(1),</a>
82 <a href="man-lpmove.html?TOPIC=Man+Pages"><b>lpmove</b>(8),</a>
83 <a href="man-lpstat.html?TOPIC=Man+Pages"><b>lpstat</b>(1),</a>
84 CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
85 <h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
86 Copyright &copy; 2007-2018 by Apple Inc.
87
88 </body>
89 </html>