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

-r Reason Assigns a Reason for rejection of requests. The Reason applies to all of the specified Destinations. The lpstat -a command reports the reason. If it contains blanks, Reason must be enclosed in quotes. The default reason is unknown reason for existing destinations, and new destination for destinations just added to the system but not yet accepting requests.

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/*

Related Information

The enable command, lpadmin command, and lpsched command.

icon phone
Téléphone/Whatsapp : +33 (0)6 83 84 85 74
icon phone