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