|
-
Feb 7th, 2002, 10:14 AM
#1
Thread Starter
New Member
Get printer status before printing
Hi,
I have to watch the printer status of a matrix printer (Epson LQ1070+). Therefore I used the WMI class 'Win32_Printer'. But I only get a status (eq. Out of paper) when I am trying to print. When no print job is in the spooler I always get the status 'READY/IDLE', even when the printer got no paper and the red 'Out of paper' LED on the printer is ON.
Does anyone know how I can get a status before I send a printjob?
I heard that it's also possible to read the LPT-port directly. As I read obn a webpage, a couple of pins from the printerconnector are also sending a status. But I'm using win NT4, and I don't know how I have to read the LPT-port directly.
Can somebody give me an example-code on how to read the LPT port?
Thanx for your help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|