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

Commands Reference, Volume 1

chquedev Command

Purpose

Changes the printer or plotter queue device names.

Syntax

chquedev -qName -dName [ -a'Attribute = Value'... ]

Description

The chquedev command changes the printer or plotter queue device names by changing the device stanza in the qconfig file specified by the -d, and -q flags. Within that stanza, each attribute that matches one of the 'Attribute = Value' flags given on the command line is replaced by the one entered on the command line. If no match is found, 'Attribute = Value' is added to the end of the stanza.

You can use the Printer Queues application in Web-based System Manager (wsm) to change printer queue characteristics. You could also use the System Management Interface Tool (SMIT) smit chquedev fast path to run this command.

Note: Do not edit the qconfig file while there are active jobs in any queue. Editing includes both manual editing and use of the mkque, rmque, chque, mkquedev, rmquedev, or chquedev commands. It is recommended that all changes to the 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 qconfig file and restart the qdaemon with the new configuration.

Flags

-a 'Attribute = Value' Specifies the stanza lines to change or add. For a list of valid attributes, see the qconfig file.
-d Name Specifies the device Name in the queue to be changed.
-q Name Specifies the queue Name in which to change the device stanza.

Examples

To change the ps device stanza on the lp0 queue to contain the line backend = 'piobe -x -y', enter:


chquedev -qlp0 -d ps -a backend = 'piobe -x -y'

Note: The -x flag and the -y flag in this example are flags for the piobe command.

Files

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

Related Information

The chque command, lsquedev command, mkquedev command, rmquedev command, piobe command.

The qconfig file.

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.

Changing / Showing Queue Characteristics in AIX 5L Version 5.2 Guide to Printers and Printing.

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

Printer Specific Information in AIX 5L Version 5.2 Guide to Printers and Printing.

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

Printer Colon File Conventions in AIX 5L Version 5.2 Guide to Printers and Printing.

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