La commande 'accept' permet l'utilisation d'une file d'attente.
La syntaxe est 'accept destination'. Où destination est le nom d'une file d'attente ou d'un groupe.
Pour interdire l'utilisation d'une file d'attente, la commande est 'reject' avec la même syntaxe que 'accept'. : 'reject destination'
accept, reject Command
Purpose
Accepts/rejects print requests.
Syntax
accept Destinations
reject [ -r Reason ] Destination
Description
The accept command allows the queuing of print requests for the named Destinations. A Destination can be either a printer or a class of printers. To find out the status of a destination, run lpstat -a command.
The reject command prevents queuing of print requests for the named destinations. A destination can be either a printer or a class of printers. To find out the status of a destination, run lpstat -a command.
If you enter accept -? or reject -?, the system displays the command usage message and returns 0.
Flags
Security
Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.
Files
/var/spool/lp/*