2 .\" Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright 1989 AT&T
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH ACCEPT 1M "Feb 25, 2017"
9 accept, reject \- accept or reject print requests
13 \fBaccept\fR \fIdestination\fR...
18 \fBreject\fR [\fB-r\fR \fIreason\fR] \fIdestination\fR...
23 \fBaccept\fR allows the queueing of print requests for the named destinations.
26 \fBreject\fR prevents queueing of print requests for the named destinations.
29 Use \fBlpstat\fR \fB-a\fR to check if destinations are accepting or rejecting
33 Generally, \fBaccept\fR and \fBreject\fR are run on the print server to control
34 local print queues. Under some configurations, \fBaccept\fR and \fBreject\fR
35 are run on client systems when IPP is being used to communicate between client
39 The following options are supported for \fBreject\fR:
43 \fB\fB-r\fR \fIreason\fR\fR
46 Assigns a reason for rejection of print requests for \fIdestination.\fR
48 \fIreason\fR is reported by \fBlpstat\fR \fB-a\fR. By default, \fIreason\fR is
49 \fBunknown reason\fR for existing destinations, and \fBnew\fR \fBprinter\fR for
50 destinations added to the system but not yet accepting requests. Enclose
51 \fIreason\fR in quotes if it contains blanks.
56 The following operands are supported:
60 \fB\fIdestination\fR\fR
63 The name of the destination accepting or rejecting print requests. Destination
64 specifies the name of a printer or class of printers (see \fBlpadmin\fR(1M)).
65 Specify \fIdestination\fR using atomic name or URI-style (scheme://endpoint)
66 names. See \fBprinters.conf\fR(4) for information regarding the naming
67 conventions for destinations.
72 The following exit values are returned:
79 Successful completion.
94 \fB\fB/etc/printers.conf\fR\fR
97 System printer configuration database
103 \fB\fB$HOME/.printers\fR\fR
106 User-configurable printer database
112 \fB\fBou=printers\fR\fR
115 LDAP version of \fB/etc/printers.conf\fR
121 \fB\fBprinters.conf.byname\fR\fR
124 \fBNIS\fR version of \fB/etc/printers.conf\fR
129 See \fBattributes\fR(5) for descriptions of the following attributes:
137 ATTRIBUTE TYPE ATTRIBUTE VALUE
139 CSI Enabled. See \fBNOTES\fR.
141 Interface Stability Obsolete
146 \fBenable\fR(1), \fBlp\fR(1), \fBlpstat\fR(1), \fBlpadmin\fR(1M),
147 \fBlpsched\fR(1M), \fBprinters.conf\fR(4), \fBattributes\fR(5)
150 \fBaccept\fR and \fBreject\fR affect only queueing on the print server's
151 spooling system. Requests made from a client system remain queued in the client
152 system's queueing mechanism until they are cancelled or accepted by the print
153 server's spooling system.
156 \fBaccept\fR is CSI-enabled except for the \fIdestination\fR name.
159 When IPP is in use, the user is prompted for a passphrase if the remote print
160 service is configured to require authentication.