Print queues in AIX 5L - How to list print queues in AIX print queue, aix print queue
How to list print queues in AIX 5L
1st method of listing print queues in AIX 5L is using lsallq command:
Commands Reference, Volume 3, i - m
lsallq Command
Purpose
Lists the names of all configured queues.
Syntax
lsallq [ -c]
Description
The lsallq command lists the names of all configured queues contained in the /etc/qconfig file. By specifying the -c flag, this listing is displayed in colon format. This flag is used mainly by SMIT.
You can use the Printer Queues application in Web-based System Manager (wsm) to change print queue characteristics. You could also use the System Management Interface Tool (SMIT) smit lsallq fast path to run this command.
Flag
-c Causes colon format output for use by SMIT.
2nd method for listing print queues is using enq -sAW command:
Description
The enq command is a general-purpose utility for enqueuing requests to a shared resource, typically a printer device. Use the enq command to enqueue requests, cancel requests, alter the priority of a request, and display the status of queues and devices.
The enq command has five different syntax diagrams because all the flags are not meant to work together. Some of these flags are meant for file processing and accept FileName as an option. The other flags are used for changing the priority of a print job, displaying the status, changing the status of the queue or the queue daemon, and canceling a print job.
-A Provides status for all queues. This is like running the enq -q command once for each queue in the qconfig file. -s Obtains the status of print queues without listing any files. -W Specifies the wide status format with longer queue names, device names, and job numbers. Job number information is available on AIX 4.3.2 and later. This flag can be used with the -A flag or the -q flag. It cannot be used with the -L flag. If the -L flag and -W flag are used simultaneously, the first one specified takes precedence.
Designed and developed by Andrei Manescu. Optimized for Mozilla Firefox.
Copyright 2007 Andrei Manescu
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by those who posted them.