3 <!-- SECTION: Man Pages -->
5 <link rel=
"stylesheet" type=
"text/css" href=
"../cups-printable.css">
6 <title>cancel(
1)
</title>
9 <h1 class=
"title">cancel(
1)
</h1>
10 <h2 class=
"title"><a name=
"NAME">Name
</a></h2>
12 <h2 class=
"title"><a name=
"SYNOPSIS">Synopsis
</a></h2>
23 <i>hostname[:port]
</i>
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>:
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.
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>.
54 <dd style=
"margin-left: 5.0em">Deletes job data files in addition to canceling.
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:
65 Cancel job
"myprinter-42":
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
© 2007-
2014 by Apple Inc.