Required task is to implement a small interface application. Your interface is just for communication. Currently we have a java program, it writes to a printer on LPT1 the (parallel port) or (USB). Our existing code will deal with all printer control codes, formatting of messages etc. Your task is only to provide a simple interface that we can use to talk to the printer. This program will need to run as a Kernel mode driver in order to use the windows protected ports. Some solutions that might work.
1. A program which listens on TCP/IP port (probably localport is enough 127.0.0.1) (A) for bytestreams, which it writes directly to the printer, on port (B) it publishes printer status messages. We would write out bytestreams to port (A) from our Java program and add a Byte Stream Listener onto port (B). Your application would simply write any bytes to the printer (which lives on LPT1), which it receives on port (A), you just post any data received on port (A) directly with to the printer, no control codes needed and report any printer status messages back to us on port (B)
2. To get working a set of Java classes that I can easily incoporate into my program using one of the JNI technologies. This needs to work on Win32 with Parallel port; both writing of bytestreams and reading printer status messages.
3. To get [url removed, login to view] (RXTX) to work. This needs to work on Win32 with Parallel port; both writing of bytestreams and reading status messages.