mkquedev Command
Purpose
Adds a printer queue device to the system.
Syntax
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 System Management Interface Tool (SMIT) smit mkquedev fast path to run this command.
Recommendation: To edit the /etc/qconfig file, use the chque, mkque, rmque, chquedev, mkquedev,
and rmquedev commands or SMIT. Further, it is recommended to
run these commands during slow or off-peak time.
If manual editing
of the /etc/qconfig file is necessary, you can first issue
the enq -G command to bring the queuing system and the qdaemon to
a halt after all jobs are processed. Then you can edit the /etc/qconfig file
and restart the qdaemon with the new configuration.Flags
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. |
Security
Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged
operations. For more information about authorizations and privileges, see Privileged Command
Database in Security. For a list of privileges and the
authorizations associated with this command, see the lssecattr command or the
getcmdattr subcommand.
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:
Files
Item | Description |
---|---|
/usr/bin/mkquedev | Contains the mkquedev command. |
/etc/qconfig | Contains the configuration file. |