accept(1M) DG/UX R4.11MU05 accept(1M)
NAME
accept, reject - accept or reject print requests
SYNOPSIS
accept destinations
reject [-rreason] destinations
DESCRIPTION
accept allows the queueing of print requests for the named
destinations. A destination can be either a printer or a class of
printers. Run lpstat -a to find the status of destinations.
reject prevents queueing of print requests for the named
destinations. A destination can be either a printer or a class of
printers. (Run lpstat -a to find the status of destinations.) The
following option is useful with reject.
-r reason Assign a reason for rejection of requests. This reason
applies to all destinations specified. Reason is
reported by lpstat -a. It must be enclosed in quotes if
it contains blanks. The default reason is unknown reason
for existing destinations, and new destination for
destinations just added to the system but not yet
accepting requests.
The user must have appropriate privilege to invoke accept or reject.
On a generic DG/UX system, appropriate privilege is granted by having
an effective UID of 0 (root). See the appropriateprivilege(5) man
page for more information.
On a system with DG/UX information security, appropriate privilege is
granted by having one or more specific capabilities enabled in the
effective capability set of the user. See the capdefaults(5) man
page for more information.
FILES
/var/spool/lp/*
SEE ALSO
admlpsched(1M), lpadmin(1M), lpsched(1M), enable(1), lp(1),
lpstat(1), appropriateprivilege(5).
NOTES
The lp subsystem supports running with multiple lp schedulers. When
more than one lpsched is defined, each scheduler will appear as an
independent spooler with it's own set of printer queues, lp forms,
classes and user definitions. The accept command can operate with
only one lpsched at a time. To "target" a specific lpsched, the
environment variable DGLPSCHED should be set to the desired lpsched
name before executing the accept command. If the DGLPSCHED variable
is unset, then the default lpsched will be targeted. The currently
defined lpscheds can be listed with the admlpsched -o list command.
Licensed material--property of copyright holder(s)