HI
I m writing driver for the printer. and I want to fire an event when ever the printer cover is open, paper is not there or any other events which stops the printer to work. for that I need to use thread which will monitor the printer continuously and whenever the event will occur it should popup one msg.
Can anyone help me how to do that or provide any sample program.
Thanks in Advance
Abhi