accept, reject - allow/prevent LP destination queuing requests
destination ... destination ...] ...
The command permits the command (see lp(1)) to accept printing requests
for each named LP printer or printer class destination queue.
The command causes the command to reject subsequent printing requests
for each named destination queue. Requests already queued will con‐
tinue to be processed for printing by the scheduler (see lpsched(1M)).
Use the command (see lpstat(1)) to find the status of destination
For an overview of LP command interactions, see lp(1).
The command can have the following option.
Specifies a string that is used to explain why the
command is not accepting requests for a destina‐
tion. reason applies to all queues mentioned up
to the next option. If reason or is omitted, the
default reason is "". The maximum length of rea‐
son is 80 bytes. reason message of length
greater than 80 bytes is truncated to 80 bytes.
reason is reported by the command and by the com‐
mand when users direct requests to a rejected
The variable determines the language in which messages are displayed.
If is not specified or is set to the empty string, it defaults to "C"
If any internationalization variable contains an invalid setting, all
internationalization variables default to "C" (see environ(5)).
International Code Set Support
Single- and multibyte character code sets are supported.
These examples assume you have a system with two printers named and and
one class named that includes both printers.
To allow all destinations to accept print requests:
To reject requests to the class destination, requiring users to choose
To reject requests to the individual printer destinations, requiring
all requests to go through the class destination:
and operate on the local system only.
Directory of spooler configuration data
Directory of spooler log files
Directory of LP spooling files and directories
SEE ALSOenable(1), lp(1), lpstat(1), lpadmin(1M), lpsched(1M), rcancel(1M),
rlp(1M), rlpdaemon(1M), rlpstat(1M).