How to get filename of job in cups?

Posted by Grook on Super User See other posts from Super User or by Grook
Published on 2011-05-23T16:45:23Z Indexed on 2011/11/30 10:05 UTC
Read the original article Hit count: 261

Filed under:
|
|
|

I have printed a couple of files and lpstat shows that they are completed. But the output is something like this:

# lpstat -W completed -l

Canon-1                 root           1086464   Sat May 21 22:47:03 2011
Alerts: job-canceled-by-user
queued for Canon
Canon-2                 root            337920   Mon May 23 20:18:02 2011
Alerts: job-canceled-by-user
queued for Canon
CanonWin-3              root             17408   Mon May 23 20:29:40 2011
Alerts: job-completed-successfully
queued for CanonWin`

How can i get names of files which has been printed? P.S. Is there is any bash-script which allows me to get names of all files which has been printed?

© Super User or respective owner

Related posts about unix

Related posts about printer