8980 BIOS clock is sometimes one hour fast
[unleashed.git] / usr / src / man / man1m / accept.1m
blob7b8299a3b4ed1c2b69119fb2c64e1e97ee769584
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 "Feb 25, 2017"
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 .LP
23 \fBaccept\fR allows the queueing of print requests for the named destinations.
24 .sp
25 .LP
26 \fBreject\fR prevents queueing of print requests for the named destinations.
27 .sp
28 .LP
29 Use \fBlpstat\fR \fB-a\fR to check if destinations are accepting or rejecting
30 print requests.
31 .sp
32 .LP
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
36 and server.
37 .SH OPTIONS
38 .LP
39 The following options are supported for \fBreject\fR:
40 .sp
41 .ne 2
42 .na
43 \fB\fB-r\fR \fIreason\fR\fR
44 .ad
45 .RS 13n
46 Assigns a reason for rejection of print requests for \fIdestination.\fR
47 .sp
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.
52 .RE
54 .SH OPERANDS
55 .LP
56 The following operands are supported:
57 .sp
58 .ne 2
59 .na
60 \fB\fIdestination\fR\fR
61 .ad
62 .RS 15n
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.
68 .RE
70 .SH EXIT STATUS
71 .LP
72 The following exit values are returned:
73 .sp
74 .ne 2
75 .na
76 \fB\fB0\fR\fR
77 .ad
78 .RS 12n
79 Successful completion.
80 .RE
82 .sp
83 .ne 2
84 .na
85 \fBnon-zero\fR
86 .ad
87 .RS 12n
88 An error occurred.
89 .RE
91 .SH FILES
92 .ne 2
93 .na
94 \fB\fB/etc/printers.conf\fR\fR
95 .ad
96 .RS 24n
97 System printer configuration database
98 .RE
101 .ne 2
103 \fB\fB$HOME/.printers\fR\fR
105 .RS 24n
106 User-configurable printer database
110 .ne 2
112 \fB\fBou=printers\fR\fR
114 .RS 24n
115 LDAP version of \fB/etc/printers.conf\fR
119 .ne 2
121 \fB\fBprinters.conf.byname\fR\fR
123 .RS 24n
124 \fBNIS\fR version of \fB/etc/printers.conf\fR
127 .SH ATTRIBUTES
129 See \fBattributes\fR(5) for descriptions of the following attributes:
134 box;
135 c | c
136 l | l .
137 ATTRIBUTE TYPE  ATTRIBUTE VALUE
139 CSI     Enabled. See \fBNOTES\fR.
141 Interface Stability     Obsolete
144 .SH SEE ALSO
146 \fBenable\fR(1), \fBlp\fR(1), \fBlpstat\fR(1), \fBlpadmin\fR(1M),
147 \fBlpsched\fR(1M), \fBprinters.conf\fR(4), \fBattributes\fR(5)
148 .SH NOTES
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.