G
Guest
hi all i have this probem, question:
i have an x86 industrial device with windows CE and NETcf2.0. this device
has a parallel port and three serial port.
using the serialports.getPortsName() method i can see the 3 serials but not
the parallel port..but here the strange things if i call :
serialPort.PortName="LPT1"
serialPort.Open();
no problem i can comunicate with a printer linked with the parallel port.
But here the problem if the printer is off, so i can send string to it, the
writeTimeout exception never fires, even if i set it at 5000 milliseconds.
So my question is..how can i recognize if the priter is linked and on ? i
have also tried the cdHolding propriety but no scuccess..
i have an x86 industrial device with windows CE and NETcf2.0. this device
has a parallel port and three serial port.
using the serialports.getPortsName() method i can see the 3 serials but not
the parallel port..but here the strange things if i call :
serialPort.PortName="LPT1"
serialPort.Open();
no problem i can comunicate with a printer linked with the parallel port.
But here the problem if the printer is off, so i can send string to it, the
writeTimeout exception never fires, even if i set it at 5000 milliseconds.
So my question is..how can i recognize if the priter is linked and on ? i
have also tried the cdHolding propriety but no scuccess..