I have to do this by the serial port.
You can "virtualize" a serial port using the USB port:
- connect with an adapter to de USB port
- install te drivers and select a new created virtualized serial port (in my case COM3)
- uninstall the printer in the control panel printer window (quit device)
- is very important to quit the printer because if not, the port is taken by the printer and when you're trying to open the port will be an error ("The given port name does not start with COM/com or does not resolve to a valid serial port")
try it. it works great.
http://msmvps.com/blogs/coad/archive/2005/03/23/SerialPort-_2800_RS_2D00_232-Serial-COM-Port_2900_-in-C_2300_-.NET.aspx[
^]
PS. Thx to all!