Disable print queue requests for a System V print subsystem.
dslpdisable [ -r Reason ] PrintQueueName
The dslpenable and dslpdisable commands are used to enable or disable a print queue from processing print requests that have been queued for it. Unlike the enable and disable 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.
Item | Description |
---|---|
-r Reason | Assign the reason for disabling the print queue.
Strings containing whitespace should be double quoted. 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. This could be a list of print queues. If the print queue name does not exist in the directory context, the command fails. |
dslpdisable -r "routine maintenance" printer1