Reject print queue requests for directory-enabled System V print systems.
dslpreject [ -r Reason ] PrintQueueName
The dslpaccept and dslpreject commands are used to set a print queue so that it will accept or reject print requests being queued for it. Unlike the accept and reject commands, the directory-enabled commands can control remote print systems, so long as they are directory-enabled. This is because they write directly to the print queue object on the directory server. Print requests that are already queued are not affected by the dslpreject command.
The user of this command must be directory-enabled and have permissions set for write, modify, search and read on the directory, in the directory context in which the user is administrator.
Item | Description |
---|---|
-r Reason | Assigns a reason for the rejection. Strings containing whitespace should be within double quotes. Reason is a string that is displayed by the lpstat command. No default reason is set when one is not specified. |
Item | Description |
---|---|
PrintQueueName | The PrintQueueName parameter is the RDN® of the print queue object. Multiple print queue names may be specified in a comma-separated list. |
dslpreject -r "no toner" printer1