lsallqdev Command
Purpose
Lists all configured printers and the names of the plotter queue devices within a specified queue.
Syntax
lsallqdev [ -c] -q Name
Description
By default, the lsallqdev command lists all the configured device names within a specified queue in the /etc/qconfig file.
If the scalability feature of the AIX printer subsystem is enabled, the
lsallqdev command lists all the configured device names within a specified queue
in the /etc/qconfig.bin file. For more information about the
printer_scalability
tunable parameter, see the printer_scalability
section in the Miscellaneous tunable
parameters page.
You can also use the System Management Interface Tool (SMIT) smit lsallqdev
fast
path to run this command.
Flags
Item | Description |
---|---|
-q Name | Specifies the queue name. |
-c | Causes colon format output for use by SMIT. |
Security
Attention RBAC 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 that are associated with this command, see the lssecattr
command or the getcmdattr subcommand.
Examples
-
To list the names of the configured queue devices within the
lp0
queue in the /etc/qconfig file, enter the following command:lsallqdev -q lp0
A list similar to the following list is displayed:lpd0 lpd1 lpd2
-
To list the names of the configured queue device within the
lp0
queue in the /etc/qconfig file, in colon format, enter the following command:lsallqdev -q lp0 -c
A list similar to the following list is displayed:lp0:lpd1 lp0:lpd2
Files
Item | Description |
---|---|
/usr/bin/lsallqdev | Contains the lsallqdev command. |
/etc/qconfig | Contains the configuration file. |