How to get filename of job in cups?
- by Grook
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?