]> git.ipfire.org Git - thirdparty/cups.git/blob - man/cancel.man
Merge pull request #5112 from paulmenzel/remove-libgcrypt-detection
[thirdparty/cups.git] / man / cancel.man
1 .\"
2 .\" cancel man page for CUPS.
3 .\"
4 .\" Copyright 2007-2014 by Apple Inc.
5 .\" Copyright 1997-2006 by Easy Software Products.
6 .\"
7 .\" These coded instructions, statements, and computer programs are the
8 .\" property of Apple Inc. and are protected by Federal copyright
9 .\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
10 .\" which should have been included with this file. If this file is
11 .\" file is missing or damaged, see the license at "http://www.cups.org/".
12 .\"
13 .TH cancel 1 "CUPS" "15 April 2014" "Apple Inc."
14 .SH NAME
15 cancel \- cancel jobs
16 .SH SYNOPSIS
17 .B cancel
18 [
19 .B \-E
20 ] [
21 .B \-U
22 .I username
23 ] [
24 .B \-a
25 ] [
26 .B \-h
27 .I hostname[:port]
28 ] [
29 .B \-u
30 .I username
31 ] [
32 .B \-x
33 ] [
34 .I id
35 ] [
36 .I destination
37 ] [
38 .I destination\-id
39 ]
40 .SH DESCRIPTION
41 The \fBcancel\fR command cancels print jobs.
42 If no \fIdestination\fR or \fIid\fR is specified, the currently printing job on the default destination is canceled.
43 .SH OPTIONS
44 The following options are recognized by \fBcancel\fR:
45 .TP 5
46 .B \-a
47 Cancel all jobs on the named destination, or all jobs on all
48 destinations if none is provided.
49 .TP 5
50 .B \-E
51 Forces encryption when connecting to the server.
52 .TP 5
53 \fB\-h \fIhostname\fR[\fI:port\fR]
54 Specifies an alternate server.
55 .TP 5
56 \fB\-U \fIusername\fR
57 Specifies the username to use when connecting to the server.
58 .TP 5
59 \fB\-u \fIusername\fR
60 Cancels jobs owned by \fIusername\fR.
61 .TP 5
62 .B \-x
63 Deletes job data files in addition to canceling.
64 .SH CONFORMING TO
65 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.
66 .SH EXAMPLES
67 Cancel the current print job:
68 .nf
69
70 cancel
71
72 .fi
73 Cancel job "myprinter-42":
74 .nf
75
76 cancel myprinter\-42
77
78 .fi
79 Cancel all jobs:
80 .nf
81
82 cancel \-a
83 .fi
84 .SH NOTES
85 Administrators wishing to prevent unauthorized cancellation of jobs via the \fI\-u\fR option should require authentication for Cancel-Jobs operations in
86 .BR cupsd.conf (5).
87 .SH SEE ALSO
88 .BR cupsd.conf (5),
89 .BR lp (1),
90 .BR lpmove (8),
91 .BR lpstat (1),
92 CUPS Online Help (http://localhost:631/help)
93 .SH COPYRIGHT
94 Copyright \[co] 2007-2017 by Apple Inc.