6324 Add an `ndp' tool for manipulating the neighbors table
[illumos-gate.git] / usr / src / man / man1m / accept.1m
blobe148c8045b9e157533f8df0eeb647eda99feb7d4
1 '\" te
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"
8 .SH NAME
9 accept, reject \- accept or reject print requests
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fBaccept\fR \fIdestination\fR...
14 .fi
16 .LP
17 .nf
18 \fBreject\fR [\fB-r\fR \fIreason\fR] \fIdestination\fR...
19 .fi
21 .SH DESCRIPTION
22 .sp
23 .LP
24 \fBaccept\fR allows the queueing of print requests for the named destinations.
25 .sp
26 .LP
27 \fBreject\fR prevents queueing of print requests for the named destinations.
28 .sp
29 .LP
30 Use \fBlpstat\fR \fB-a\fR to check if destinations are accepting or rejecting
31 print requests.
32 .sp
33 .LP
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
37 and server.
38 .SH OPTIONS
39 .sp
40 .LP
41 The following options are supported for \fBreject\fR:
42 .sp
43 .ne 2
44 .na
45 \fB\fB-r\fR \fIreason\fR\fR
46 .ad
47 .RS 13n
48 Assigns a reason for rejection of print requests for \fIdestination.\fR
49 .sp
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.
54 .RE
56 .SH OPERANDS
57 .sp
58 .LP
59 The following operands are supported:
60 .sp
61 .ne 2
62 .na
63 \fB\fIdestination\fR\fR
64 .ad
65 .RS 15n
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.
71 .RE
73 .SH EXIT STATUS
74 .sp
75 .LP
76 The following exit values are returned:
77 .sp
78 .ne 2
79 .na
80 \fB\fB0\fR\fR
81 .ad
82 .RS 12n
83 Successful completion.
84 .RE
86 .sp
87 .ne 2
88 .na
89 \fBnon-zero\fR
90 .ad
91 .RS 12n
92 An error occurred.
93 .RE
95 .SH FILES
96 .sp
97 .ne 2
98 .na
99 \fB\fB/etc/printers.conf\fR\fR
101 .RS 24n
102 System printer configuration database
106 .ne 2
108 \fB\fB$HOME/.printers\fR\fR
110 .RS 24n
111 User-configurable printer database
115 .ne 2
117 \fB\fBou=printers\fR\fR
119 .RS 24n
120 LDAP version of \fB/etc/printers.conf\fR
124 .ne 2
126 \fB\fBprinters.conf.byname\fR\fR
128 .RS 24n
129 \fBNIS\fR version of \fB/etc/printers.conf\fR
133 .ne 2
135 \fB\fBprinters.org_dir\fR\fR
137 .RS 24n
138 \fBNIS+\fR version of \fB/etc/printers.conf\fR
141 .SH ATTRIBUTES
144 See \fBattributes\fR(5) for descriptions of the following attributes:
149 box;
150 c | c
151 l | l .
152 ATTRIBUTE TYPE  ATTRIBUTE VALUE
154 CSI     Enabled. See \fBNOTES\fR.
156 Interface Stability     Obsolete
159 .SH SEE ALSO
162 \fBenable\fR(1), \fBlp\fR(1), \fBlpstat\fR(1), \fBlpadmin\fR(1M),
163 \fBlpsched\fR(1M), \fBprinters.conf\fR(4), \fBattributes\fR(5)
164 .SH NOTES
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.