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

Commands Reference, Volume 3


mkquedev Command

Purpose

Adds a printer queue device to the system.

Syntax

mkquedev -d Name -q Name -a 'Attribute = Value' ...

Description

The mkquedev command adds a printer queue device to the system by adding the stanza described on the command line to the /etc/qconfig file.

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


-a 'Attribute = Value' Specifies the 'Attribute = Value' attribute to be added to the device stanza in the /etc/qconfig file. This flag must be the last flag when entering the mkquedev command on the command line. For a list of valid attributes, see the /etc/qconfig file.

Note: The 'backend = ' attribute must be included when entering this command on the command line.
-d Name Specifies with the Name variable the name of the queue device to add.

Note: The queue device name must not exceed 20 characters.
-q Name Specifies with the Name variable the name of the queue (this name must already exist) to which the queue device is added. The mkquedev command automatically adds the 'device = ' attribute to the specified queue stanza.

Examples

To add the postscript print queue device to the lp0 queue, specify the backend program to be the piobe command (backend = /usr/lib/lpd/piobe) and direct the backend program not to align the paper (align = FALSE), enter:
mkquedev -qlp0 -dpostscript -a 'backend = /usr/lib/lpd/piobe' \
-a 'align = FALSE'

Files


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

Related Information

The chquedev command, lsquedev command, mkque command, rmquedev command.

The /etc/qconfig file.

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

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

Adding a Print Queue Device in the AIX 5L Version 5.1 Guide to Printers and Printing.

Printer Support in the AIX 5L Version 5.1 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.1 Web-based System Manager Administration Guide.


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