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 "Jun 5, 2006"
9 accept, reject \- accept or reject print requests
13 \fBaccept\fR \fIdestination\fR...
18 \fBreject\fR [\fB-r\fR \fIreason\fR] \fIdestination\fR...
24 \fBaccept\fR allows the queueing of print requests for the named destinations.
27 \fBreject\fR prevents queueing of print requests for the named destinations.
30 Use \fBlpstat\fR \fB-a\fR to check if destinations are accepting or rejecting
34 Generally, \fBaccept\fR and \fBreject\fR are run on the print server to control
35 local print queues. Under some configurations, \fBaccept\fR and \fBreject\fR
36 are run on client systems when IPP is being used to communicate between client
41 The following options are supported for \fBreject\fR:
45 \fB\fB-r\fR \fIreason\fR\fR
48 Assigns a reason for rejection of print requests for \fIdestination.\fR
50 \fIreason\fR is reported by \fBlpstat\fR \fB-a\fR. By default, \fIreason\fR is
51 \fBunknown reason\fR for existing destinations, and \fBnew\fR \fBprinter\fR for
52 destinations added to the system but not yet accepting requests. Enclose
53 \fIreason\fR in quotes if it contains blanks.
59 The following operands are supported:
63 \fB\fIdestination\fR\fR
66 The name of the destination accepting or rejecting print requests. Destination
67 specifies the name of a printer or class of printers (see \fBlpadmin\fR(1M)).
68 Specify \fIdestination\fR using atomic name or URI-style (scheme://endpoint)
69 names. See \fBprinters.conf\fR(4) for information regarding the naming
70 conventions for destinations.
76 The following exit values are returned:
83 Successful completion.
99 \fB\fB/etc/printers.conf\fR\fR
102 System printer configuration database
108 \fB\fB$HOME/.printers\fR\fR
111 User-configurable printer database
117 \fB\fBou=printers\fR\fR
120 LDAP version of \fB/etc/printers.conf\fR
126 \fB\fBprinters.conf.byname\fR\fR
129 \fBNIS\fR version of \fB/etc/printers.conf\fR
135 \fB\fBprinters.org_dir\fR\fR
138 \fBNIS+\fR version of \fB/etc/printers.conf\fR
144 See \fBattributes\fR(5) for descriptions of the following attributes:
152 ATTRIBUTE TYPE ATTRIBUTE VALUE
154 CSI Enabled. See \fBNOTES\fR.
156 Interface Stability Obsolete
162 \fBenable\fR(1), \fBlp\fR(1), \fBlpstat\fR(1), \fBlpadmin\fR(1M),
163 \fBlpsched\fR(1M), \fBprinters.conf\fR(4), \fBattributes\fR(5)
167 \fBaccept\fR and \fBreject\fR affect only queueing on the print server's
168 spooling system. Requests made from a client system remain queued in the client
169 system's queueing mechanism until they are cancelled or accepted by the print
170 server's spooling system.
173 \fBaccept\fR is CSI-enabled except for the \fIdestination\fR name.
176 When IPP is in use, the user is prompted for a passphrase if the remote print
177 service is configured to require authentication.