Adds a printer queue to the system.
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 Printer Queues application in Web-based System Manager (wsm) to change printer characteristics. 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
Item | Description |
---|---|
-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:
Item | Description |
---|---|
/usr/bin/mkque | Contains the mkque command. |
/etc/qconfig | Configuration file. |