Go to the previous, next section.

lpq

The command for examining the printer queue (or spool) is lpq. To display the queue of the default printer type lpq and you will see something like this:

lp is ready and printing
Rank   Owner      Job  Files                                 Total Size
active trent      971  standard input                        89471 bytes
1st    alsam      771  standard input                        16851 bytes
2nd    trent      973  standard input                        35393 bytes
3rd    hsin       466  standard input                        1233 bytes
4th    trent      975  standard input                        38179 bytes
5th    trent      978  standard input                        11381 bytes
6th    lynnette   461  Newsout                               2426 bytes

For a different printer, the -P option, as in lpr, can be used. For instance, to see what jobs are waiting for the `lw3' printer, use lpq -Plw3.

Go to the previous, next section.