Greatly simplify the man page handling.
[thirdparty/cups.git] / man / cupsaccept.8
CommitLineData
ef416fc2 1.\"
87030afb 2.\" cupsaccept/reject man page for CUPS.
ef416fc2 3.\"
87030afb
MS
4.\" Copyright © 2007-2019 by Apple Inc.
5.\" Copyright © 1997-2006 by Easy Software Products.
ef416fc2 6.\"
87030afb
MS
7.\" Licensed under Apache License v2.0. See the file "LICENSE" for more
8.\" information.
ef416fc2 9.\"
87030afb 10.TH cupsaccept 8 "CUPS" "26 April 2019" "Apple Inc."
ef416fc2 11.SH NAME
758a062f 12cupsaccept/cupsreject \- accept/reject jobs sent to a destination
ef416fc2 13.SH SYNOPSIS
758a062f 14.B cupsaccept
ce0ddeb2
MS
15[
16.B \-E
17] [
18.B \-U
bd7854cb 19.I username
ce0ddeb2
MS
20] [
21.B \-h
bd7854cb 22.I hostname[:port]
ce0ddeb2
MS
23]
24.I destination(s)
ef416fc2 25.br
758a062f 26.B cupsreject
ce0ddeb2
MS
27[
28.B \-E
29] [
30.B \-U
fa73b229 31.I username
ce0ddeb2
MS
32] [
33.B \-h
fa73b229 34.I hostname[:port]
ce0ddeb2
MS
35] [
36.B \-r
ef416fc2 37.I reason
ce0ddeb2
MS
38]
39.I destination(s)
ef416fc2 40.SH DESCRIPTION
ce0ddeb2
MS
41The
42.B cupsaccept
43command instructs the printing system to accept print jobs to the specified destinations.
ef416fc2 44.LP
ce0ddeb2
MS
45The
46.B cupsreject
47command instructs the printing system to reject print jobs to the
48specified destinations.
49The \fI-r\fR option sets the reason for rejecting print jobs. If not specified, the reason defaults to "Reason Unknown".
bd7854cb 50.SH OPTIONS
ce0ddeb2
MS
51The following options are supported by both
52.B cupsaccept
53and
54.BR cupsreject :
bd7854cb 55.TP 5
ce0ddeb2 56.B \-E
bd7854cb 57Forces encryption when connecting to the server.
58.TP 5
ce0ddeb2 59\fB-U \fIusername\fR
bd7854cb 60Sets the username that is sent when connecting to the server.
61.TP 5
ce0ddeb2 62\fB-h \fIhostname[:port]\fR
bd7854cb 63Chooses an alternate server.
64.TP 5
ce0ddeb2
MS
65\fB-r \fR"\fIreason\fR"
66Sets the reason string that is shown for a printer that is rejecting jobs.
67.SH CONFORMING TO
68The
69.B cupsaccept
70and
71.B cupsreject
72commands correspond to the System V printing system commands "accept" and "reject", respectively.
73Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#".
bd7854cb 74Also, printer and class names are \fInot\fR case-sensitive.
75.LP
ce0ddeb2 76Finally, the CUPS versions may ask the user for an access password depending on the printing system configuration.
ef416fc2 77.SH SEE ALSO
ce0ddeb2
MS
78.BR cancel (1),
79.BR cupsenable (8),
80.BR lp (1),
81.BR lpadmin (8),
82.BR lpstat (1),
fa73b229 83.br
ce0ddeb2 84CUPS Online Help (http://localhost:631/help)
ef416fc2 85.SH COPYRIGHT
87030afb 86Copyright \[co] 2007-2019 by Apple Inc.