]> git.ipfire.org Git - thirdparty/cups.git/blame - man/lprm.man
Add missing DNSSD.LIB functions.
[thirdparty/cups.git] / man / lprm.man
CommitLineData
ef416fc2 1.\"
ddf95fe6 2.\" lprm man page for CUPS.
ef416fc2 3.\"
ddf95fe6
MS
4.\" Copyright 2007-2014 by Apple Inc.
5.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 6.\"
e3101897 7.\" Licensed under Apache License v2.0. See the file "LICENSE" for more information.
ef416fc2 8.\"
ddf95fe6 9.TH lprm 1 "CUPS" "22 May 2014" "Apple Inc."
ef416fc2 10.SH NAME
11lprm \- cancel print jobs
12.SH SYNOPSIS
13.B lprm
ddf95fe6
MS
14[
15.B \-E
16] [
17.B \-U
fa73b229 18.I username
ddf95fe6
MS
19] [
20.B \-h
21.IR server [ :port ]
22] [
23.B \-P
24.IR destination [ /instance ]
25] [
26.B \-
27] [
28.I job-id(s)
ef416fc2 29]
30.SH DESCRIPTION
ddf95fe6
MS
31.B lprm
32cancels print jobs that have been queued for printing.
33If no arguments are supplied, the current job on the default destination is canceled.
34You can specify one or more job ID numbers to cancel those jobs or use the \fI\-\fR option to cancel all jobs.
bd7854cb 35.SH OPTIONS
ddf95fe6
MS
36The
37.B lprm
38command supports the following options:
bd7854cb 39.TP 5
ddf95fe6 40.B \-E
bd7854cb 41Forces encryption when connecting to the server.
42.TP 5
ddf95fe6 43\fB\-P \fIdestination\fR[\fI/instance\fR]
bd7854cb 44Specifies the destination printer or class.
45.TP 5
ddf95fe6 46\fB\-U \fIusername\fR
bd7854cb 47Specifies an alternate username.
48.TP 5
ddf95fe6 49\fB\-h \fIserver\fR[\fI:port\fR]
7a0cbd5e 50Specifies an alternate server.
ddf95fe6
MS
51.SH CONFORMING TO
52The CUPS version of
53.B lprm
54is compatible with the standard Berkeley command of the same name.
55.SH EXAMPLES
56Cancel the current job on the default printer:
57.nf
58
59 lprm
60
61.fi
62Cancel job 1234:
63.nf
64
65 lprm 1234
66
67.fi
68Cancel all jobs:
69.nf
70
71 lprm \-
72.fi
ef416fc2 73.SH SEE ALSO
ddf95fe6
MS
74.BR cancel (1),
75.BR lp (1),
76.BR lpq (1),
77.BR lpr (1),
78.BR lpstat (1),
79CUPS Online Help (http://localhost:631/help)
ef416fc2 80.SH COPYRIGHT
f61dfc0d 81Copyright \[co] 2007-2018 by Apple Inc.