1accept(1M)              System Administration Commands              accept(1M)
2
3
4

NAME

6       accept, reject - accept or reject print requests
7

SYNOPSIS

9       accept destination...
10
11
12       reject [-r reason] destination...
13
14

DESCRIPTION

16       accept  allows  the  queueing  of print requests for the named destina‐
17       tions.
18
19
20       reject prevents queueing of print requests for the named destinations.
21
22
23       Use lpstat -a to check if destinations are accepting or rejecting print
24       requests.
25
26
27       Generally,  accept  and  reject  are run on the print server to control
28       local print queues. Under some configurations, accept  and  reject  are
29       run  on  client  systems  when IPP is being used to communicate between
30       client and server.
31

OPTIONS

33       The following options are supported for reject:
34
35       -r reason    Assigns a reason for rejection of print requests for  des‐
36                    tination.
37
38                    reason  is  reported  by  lpstat -a. By default, reason is
39                    unknown reason for existing destinations, and new  printer
40                    for destinations added to the system but not yet accepting
41                    requests. Enclose reason in quotes if it contains blanks.
42
43

OPERANDS

45       The following operands are supported:
46
47       destination    The name of the destination accepting or rejecting print
48                      requests. Destination specifies the name of a printer or
49                      class of printers (see lpadmin(1M)). Specify destination
50                      using   atomic  name  or  URI-style  (scheme://endpoint)
51                      names. See printers.conf(4)  for  information  regarding
52                      the naming conventions for destinations.
53
54

EXIT STATUS

56       The following exit values are returned:
57
58       0           Successful completion.
59
60
61       non-zero    An error occurred.
62
63

FILES

65       /etc/printers.conf      System printer configuration database
66
67
68       $HOME/.printers         User-configurable printer database
69
70
71       ou=printers             LDAP version of /etc/printers.conf
72
73
74       printers.conf.byname    NIS version of /etc/printers.conf
75
76
77       printers.org_dir        NIS+ version of /etc/printers.conf
78
79

ATTRIBUTES

81       See attributes(5) for descriptions of the following attributes:
82
83
84
85
86       ┌─────────────────────────────┬─────────────────────────────┐
87       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
88       ├─────────────────────────────┼─────────────────────────────┤
89       │Availability                 │SUNWlp-cmds                  │
90       ├─────────────────────────────┼─────────────────────────────┤
91       │CSI                          │Enabled. See NOTES.          │
92       ├─────────────────────────────┼─────────────────────────────┤
93       │Interface Stability          │Obsolete                     │
94       └─────────────────────────────┴─────────────────────────────┘
95

SEE ALSO

97       enable(1),   lp(1),   lpstat(1),   lpadmin(1M),   lpsched(1M),   print‐
98       ers.conf(4), attributes(5)
99

NOTES

101       accept and reject affect only queueing on the print  server's  spooling
102       system.  Requests made from a client system remain queued in the client
103       system's queueing mechanism until they are cancelled or accepted by the
104       print server's spooling system.
105
106
107       accept is CSI-enabled except for the destination name.
108
109
110       When IPP is in use, the user is prompted for a passphrase if the remote
111       print service is configured to require authentication.
112
113
114
115SunOS 5.11                        5 Jun 2006                        accept(1M)
Impressum