command to view job state
angelb
angelb at bugarin.us
Tue May 22 15:13:57 PDT 2007
> I'm looking to get the job state using command line. So I want to know
> if a job has been held or not, etc... Lpstat and lpq do not give the job
> state. Is there anything that will?
>
> Thanks!
>
You mean like this?
cupsclient# lpstat -p abricoh -o
printer abricoh disabled since Tue May 22 17:08:48 2007 -
Paused
abricoh-88 root 1024 Tue May 22 17:09:24 2007
abricoh-89 root 1024 Tue May 22 17:09:31 2007
That shows the printer queue is currently disabled and there are
two jobs queued for it.
More information about the cups
mailing list