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.
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
The dslpaccept command dslpaccess command, dslpadmin command, dslpdisable command, dslpenable command, dslpprotocol command, dslpsearch command, lpstat command.