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

rmque Command

Purpose

Removes a printer queue from the system.

Syntax

rmque -q Name

Description

The rmque command removes a queue from the system configuration by deleting the queue stanza named by the -q flag from the /etc/qconfig file. All queue devices must be deleted using the rmquedev command before entering this command.

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

-q Name Specifies the name of the queue to be removed.

Examples

To remove printer queue lp0 , enter:

rmque -q lp0

Files

/usr/bin/rmque Contains the rmque command.
/etc/qconfig Contains the configuration file.

Related Information

The chque command, lsque command, mkque command, rmquedev command, smit command.

The /etc/qconfig file.

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

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

Removing a Print Queue in 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 ]