Adds a printer queue to the system.
mkque [ -D ] -q Name [ -a 'Attribute = Value' ... ]
The mkque command adds a printer queue to the system by adding the stanza described on the command line to the end of the /etc/qconfig file.
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 mkque fast path to run this command.
To use the SMIT fast path to go directly to the Add a Local Queue dialog, enter:
smit mklque
To use the SMIT fast path to go directly to the Add a Remote Queue dialog, enter:
smit mkrque
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 daemon to a halt after all jobs are processed. Then edit the /etc/qconfig file and restart the qdaemon daemon with the new configuration.
-a 'Attribute = Value' | Specifies a line to be added to the queue stanza in the /etc/qconfig file. This flag must be the last flag when entering the mkque command on the command line. For a list of all valid attributes, see the /etc/qconfig file.
Note: It is recommended that you do not use the 'device = ' attribute. This attribute is handled automatically by the mkquedev command. Also note that the queuing system does not support multibyte host names. |
-D | Specifies that the queue defined by the Name variable queue is added to the top of the /etc/qconfig file and is therefore the default queue. If you do not specify this flag, the Name variable is added to the bottom of the /etc/qconfig file and is not the default queue. |
-q Name | Specifies the name of the queue to be added.
Note: The queue name must not exceed 20 characters. |
To add the print queue lp0 specifying a host name of leo and a remote print queue named lp013, enter:
mkque -qlp0 -a 'host = leo'-a 'rq = lp013'
/usr/bin/mkque | Contains the mkque command. |
/etc/qconfig | Configuration file. |
The chque command, lsque command, mkquedev command, rmque command.
The 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.
Printer Specific Information 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.
Printer Support in the AIX Version 4.3 Guide to Printers and Printing.