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

Ozgur Gungor ozgur22 at gmail.com
Thu Nov 23 00:25:17 PST 2006


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.

Thank you.




More information about the cups mailing list