Charles Duval wrote:
Hello,
I'm trying to get the status of a USB Printer ( DELL 720C ) while printing a multi-pages file. I'd like to be able to detect the status "out-of-paper" when there are anymore piece of papers in the printer or "off line" when the printer is shutdown.
But I've always got the same status = 18 => OK ( with a %02X format conversion ), when sending an ioctl LP_GETSTATUS during a processing printing. (I'm not using the usb-unix backend of CUPS which seems to have the same default).
I've found something a bit strange => the paper status is returned by the mean of the usblp->writeurb->status ?
Is it something normal or special to THIS printer ?
I've read that some kernels have "buggy USB driver which don't like to be queried while sending data". I'm using a 2.8.6 Debian kernel in debug mode.
In /var/log/debug, I've got always the same output for this ioctl : usblp_ioctl: cmd=0x60b (^F nr=11 len=0 dir=0) usblp_control_msg: rq: 0x01 dir: 1 recip: 1 value: 0 idx: 0 len: 0x1 result: 1
Where can I found any piece of informations or tools to be able to correct this feature ?
Thank you in advance for your support.
Charles
begin:vcard fn:Charles Duval n:Duval;Charles adr:24 Boulevard Solferino;;boite aux lettres 207;Rennes;;35000;France email;internet:[EMAIL PROTECTED] tel;cell:06 17 01 26 70 x-mozilla-html:FALSE version:2.1 end:vcard
