Adds a printer queue device to the system.
mkquedev -d Name -q Name -a 'Attribute = Value' ...
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 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 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.
|-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'
|/usr/bin/mkquedev||Contains the mkquedev command.|
|/etc/qconfig||Contains the configuration file.|
The chquedev command, lsquedev command, mkque command, rmquedev command.
The /etc/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.
Adding a Print Queue Device in the AIX Version 4.3 Guide to Printers and Printing.
Printer Support 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.