[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 4

rmquedev Command

Purpose

Removes a printer or plotter queue device from the system.

Syntax

rmquedev -d Name -q Name

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 can use the Web-based System Manager Printer Queues application (wsm printers fast path) to run this command. You could also use the System Management Interface Tool (SMIT) smit rmquedev fast path to run this command.

Note: Do not edit the /etc/qconfig file while there are active jobs in any queue. Editing includes both manual editing and use of the chque, mkque, rmque, mkquedev, rmquedev, or chquedev commands. It is recommended that all changes to the /etc/qconfig file be made using these commands. However, if manual editing is desired, first issue the enq -G command to bring the queuing system and the qdaemon to a halt after all jobs are processed. Then edit the /etc/qconfig file and restart the qdaemon with the new configuration.

Flags

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

Examples

To delete the loc device stanza from the /etc/qconfig file and modify the "DEVICE =" stanza in the preceding queue stanza lpq, enter:

rmquedev -q lpq -d loc

Files

/usr/bin/rmquedev Contains the rmquedev command.
/etc/qconfig Configuration file.

Related Information

The chquedev command, lsquedev command, mkquedev command, rmque command, smit command.

The /etc/qconfig file.

Printer Overview for System Management in the AIX Version 4.3 Guide to Printers and Printing.

Spooler Overview for System Management in the AIX Version 4.3 Guide to Printers and Printing.

Removing a Print Queue in the AIX Version 4.3 Guide to Printers and Printing.

Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.


[ Previous | Next | Contents | Glossary | Home | Search ]