rmquedev Command
Purpose
Removes a printer or plotter queue device from the system.
Syntax
Description
The rmquedev command removes a printer or plotter queue device from the system configuration by deleting the device stanza named by the -d flag from the /etc/qconfig file. It also modifies the Device=DeviceName1,DeviceName2,DeviceName3 line of the queue stanza, deleting the entry for the device Name.
You could also use the System Management Interface Tool (SMIT) smit rmquedev fast path to run this command.
Flags
Item | Description |
---|---|
-d Name | Specifies the Name of the device stanza to be deleted from the qconfig file. |
-q Name | Specifies the Name of the device to be modified in the preceding queue stanza. |
Security
Attention RBAC users and Trusted AIX® users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.
Examples
To delete the loc device stanza from the /etc/qconfig file and modify the "DEVICE =" stanza in the preceding queue stanza lpq, enter:
Files
Item | Description |
---|---|
/usr/bin/rmquedev | Contains the rmquedev command. |
/etc/qconfig | Configuration file. |