December 2001
Intermediate to advanced
506 pages
10h 4m
English
This section examines some of the commands that you would use with the print queue.
The lpstat command displays information about the current status of the line printer.
The lpstat command syntax is as follows:
lpstat [ -aList ] [ -cList ] [ -d ] [ -oList ] [ -pList ] [ -r ] [ -s ] [ -t ] [ -uList ] [ -vList ] [ -W ]
An example of the lpstat command, without any flags, is as follows:
# lpstat Queue Dev Status Job Files User PP% Blks Cp Rnk ------ ---- ------- --- ---------------- ------------ --- ---- -- --- lpforu lp0 READY
The qchk command displays the current status information regarding specified print jobs, print queues, or users.
The qchk command syntax is as follows:
qchk [ -A ] [ -L | -W ] [ -P Printer ...Read now
Unlock full access