Printer State Question (when it is idle, when it is processing)

Michael Sweet mike at easysw.com
Thu Nov 23 06:31:46 PST 2006


Ozgur Gungor wrote:
> Hello all,
> 
> I wrote a printer administration program as a part of a large software, by using CUPS API. My problem is:
> 
> Firstly, I am sending a large (lets say 100 pages long) text file to printer using cupsPrintFile().
> 
> After that, i am polling the printer using IPP_GET_PRINTER_ATTRIBUTES request to get "printer-state".
> 
> I expect that i get IPP_PRINTER_PROCESSING until all of the 100 pages printed and the job is finished. But instead of that, I only see proccesing for a couple of seconds (probably less), and then the only state I get is IPP_PRINTER_IDLE.
> 
> I am not sure that if this is a configuration error or a property of CUPS. Can you please help me.

We need more information to answer your question...

What version of CUPS are you using?

What driver are you using?

What printer?

How is the printer connected? (lpstat -v printername)

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list