[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 2

dslpdisable Command

Purpose

Disable print queue requests for a System V print subsystem.

Syntax

dslpdisable [ -r Reason ] PrintQueueName

Description

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.

Flags

-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.

Parameters

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.

Exit Status

0
Indicates success.
1
Indicates invalid options.
2
Indicates that the specified print queue is unknown.
3
Indicates that this user does not have modify permissions.
4
Indicates that an invalid RDN was supplied.
5
Indicates that the value is already set.
6
Indicates that the command is unable to contact the directory service
7
Indicates any other error.

Examples

  1. To disable print queue "printer1", specifying the reason "routine maintenance", enter the following:
    dslpdisable -r "routine maintenance" printer1

Related Information

The dslpaccept command, dslpaccess command, dslpadmin command, dslpenable command, dslpprotocol command, dslreject command, dslpsearch command, lpstat command.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]