On Thu, Nov 15, 2001 at 04:04:06PM +0530, Archana Vasant Deshmukh wrote:
> Hi All,
>
> I need to detect the status of the printer connected to the parellel port of Linux Machine(kernel 2.4.8),Redhat 6.2
>
> I have written a small application:
Try tunelp program:
# tunelp /dev/lp0 -s
/dev/lp0 status is 216, on-line
# tunelp /dev/lp0 -s
/dev/lp0 status is 120, busy, out of paper, on-line
Mirek
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 05:59:08 EST