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

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 Printer Queues application in Web-based System Manager (wsm) to change printer characteristics.

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 5L Version 5.2 Guide to Printers and Printing.

Spooler Overview for System Management in AIX 5L Version 5.2 Guide to Printers and Printing.

Removing a Print Queue in AIX 5L Version 5.2 Guide to Printers and Printing.

For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.2 Web-based System Manager Administration Guide.

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