<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
No I mean the individual job states. So if you issue `lp -i printer-20
-H hold`, I want to see if that specific job is being held or not.<br>
<br>
Thanks angelb!<br>
<br>
angelb wrote:
<blockquote cite="mid:29488-cups.general@news.easysw.com" type="cite">
<blockquote type="cite">
<pre wrap="">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!
</pre>
</blockquote>
<pre wrap=""><!---->
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.
_______________________________________________
cups mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cups@easysw.com">cups@easysw.com</a>
<a class="moz-txt-link-freetext" href="http://lists.easysw.com/mailman/listinfo/cups">http://lists.easysw.com/mailman/listinfo/cups</a>
</pre>
</blockquote>
</body>
</html>