I did some research around, some of the answers suggest using inpout32.dll, I tried it in C#, it always return 255 whenever I read from any address. sample code.
All I want to do is to read from 0x379 when my printer is power on and off, see if I can get two sets of different data, hence I can tell the printer is on or off!(I don't know if this will work, let me know if u know it won't work!)
If u happens to know any other way around to accomplish the task, please share it with me.