dslpaccept Command
Purpose
Accept print queue requests for directory-enabled System V print systems.
Syntax
dslpaccept PrintQueueName
Description
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.
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.
Parameters
Item | Description |
---|---|
PrintQueueName | The PrintQueueName parameter is the relative distinguished name (RDN) of the print queue object. Multiple print queue names may be specified in a comma-separated list. |
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
- To set the print queue "hpcolor" to accept requests:
dslpaccept hpcolor