]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cupsaccept.man
ippLength() did not return the correct length for IPP_TAG_CONST string values.
[thirdparty/cups.git] / man / cupsaccept.man
CommitLineData
ef416fc2 1.\"
e4e5666b 2.\" "$Id$"
ef416fc2 3.\"
ce0ddeb2 4.\" accept/reject man page for CUPS.
ef416fc2 5.\"
ce0ddeb2
MS
6.\" Copyright 2007-2014 by Apple Inc.
7.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 8.\"
ce0ddeb2
MS
9.\" These coded instructions, statements, and computer programs are the
10.\" property of Apple Inc. and are protected by Federal copyright
11.\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
12.\" which should have been included with this file. If this file is
13.\" file is missing or damaged, see the license at "http://www.cups.org/".
ef416fc2 14.\"
ce0ddeb2 15.TH cupsaccept 8 "CUPS" "10 June 2014" "Apple Inc."
ef416fc2 16.SH NAME
758a062f 17cupsaccept/cupsreject \- accept/reject jobs sent to a destination
ef416fc2 18.SH SYNOPSIS
758a062f 19.B cupsaccept
ce0ddeb2
MS
20[
21.B \-E
22] [
23.B \-U
bd7854cb 24.I username
ce0ddeb2
MS
25] [
26.B \-h
bd7854cb 27.I hostname[:port]
ce0ddeb2
MS
28]
29.I destination(s)
ef416fc2 30.br
758a062f 31.B cupsreject
ce0ddeb2
MS
32[
33.B \-E
34] [
35.B \-U
fa73b229 36.I username
ce0ddeb2
MS
37] [
38.B \-h
fa73b229 39.I hostname[:port]
ce0ddeb2
MS
40] [
41.B \-r
ef416fc2 42.I reason
ce0ddeb2
MS
43]
44.I destination(s)
ef416fc2 45.SH DESCRIPTION
ce0ddeb2
MS
46The
47.B cupsaccept
48command instructs the printing system to accept print jobs to the specified destinations.
ef416fc2 49.LP
ce0ddeb2
MS
50The
51.B cupsreject
52command instructs the printing system to reject print jobs to the
53specified destinations.
54The \fI-r\fR option sets the reason for rejecting print jobs. If not specified, the reason defaults to "Reason Unknown".
bd7854cb 55.SH OPTIONS
ce0ddeb2
MS
56The following options are supported by both
57.B cupsaccept
58and
59.BR cupsreject :
bd7854cb 60.TP 5
ce0ddeb2 61.B \-E
bd7854cb 62Forces encryption when connecting to the server.
63.TP 5
ce0ddeb2 64\fB-U \fIusername\fR
bd7854cb 65Sets the username that is sent when connecting to the server.
66.TP 5
ce0ddeb2 67\fB-h \fIhostname[:port]\fR
bd7854cb 68Chooses an alternate server.
69.TP 5
ce0ddeb2
MS
70\fB-r \fR"\fIreason\fR"
71Sets the reason string that is shown for a printer that is rejecting jobs.
72.SH CONFORMING TO
73The
74.B cupsaccept
75and
76.B cupsreject
77commands correspond to the System V printing system commands "accept" and "reject", respectively.
78Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#".
bd7854cb 79Also, printer and class names are \fInot\fR case-sensitive.
80.LP
ce0ddeb2 81Finally, the CUPS versions may ask the user for an access password depending on the printing system configuration.
ef416fc2 82.SH SEE ALSO
ce0ddeb2
MS
83.BR cancel (1),
84.BR cupsenable (8),
85.BR lp (1),
86.BR lpadmin (8),
87.BR lpstat (1),
fa73b229 88.br
ce0ddeb2 89CUPS Online Help (http://localhost:631/help)
ef416fc2 90.SH COPYRIGHT
ce0ddeb2 91Copyright \[co] 2007-2014 by Apple Inc.
ef416fc2 92.\"
e4e5666b 93.\" End of "$Id$".
ef416fc2 94.\"