|
lpstat -W [completed | not-completed] [-o printername]
will display those jobs that are/aren't completed on all, or specified printer queues.
so:
lpstat -W not-completed -o myprinter
lists all incomplete jobs in the printer queue "myprinter".
Will that work for your purposes?
|