I want to save successful printed jobs to an external database. Therefore I am currently using the lpstat -w completedshell command and save the output to that database. But unfortunately the command also returns canceld print jobs.
So is there any possibility to get a list without the canceled print jobs?
I want to save successful printed jobs to an external database. Therefore I am currently using the
lpstat -w completed
shell command and save the output to that database. But unfortunately the command also returns canceld print jobs. So is there any possibility to get a list without the canceled print jobs?