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 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




------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to