Adds a printer queue device to the system.
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.
Item | Description |
---|---|
-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. |
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'
Item | Description |
---|---|
/usr/bin/mkquedev | Contains the mkquedev command. |
/etc/qconfig | Contains the configuration file. |