ACCEPT(8) | Maintenance Commands and Procedures | ACCEPT(8) |
accept, reject - accept or reject print requests
accept destination...
reject [-r reason] destination...
accept allows the queueing of print requests for the named destinations.
reject prevents queueing of print requests for the named destinations.
Use lpstat -a to check if destinations are accepting or rejecting print requests.
Generally, accept and reject are run on the print server to control local print queues. Under some configurations, accept and reject are run on client systems when IPP is being used to communicate between client and server.
The following options are supported for reject:
-r reason
reason is reported by lpstat -a. By default, reason is unknown reason for existing destinations, and new printer for destinations added to the system but not yet accepting requests. Enclose reason in quotes if it contains blanks.
The following operands are supported:
destination
The following exit values are returned:
0
non-zero
/etc/printers.conf
$HOME/.printers
ou=printers
printers.conf.byname
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
CSI | Enabled. See NOTES. |
Interface Stability | Obsolete |
enable(1), lp(1), lpstat(1), printers.conf(5), attributes(7), lpadmin(8), lpsched(8)
accept and reject affect only queueing on the print server's spooling system. Requests made from a client system remain queued in the client system's queueing mechanism until they are cancelled or accepted by the print server's spooling system.
accept is CSI-enabled except for the destination name.
When IPP is in use, the user is prompted for a passphrase if the remote print service is configured to require authentication.
February 25, 2017 | OmniOS |