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 [login to view URL]) (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 [login to view URL] (RXTX) to work. This needs to work on Win32 with Parallel port; both writing of bytestreams and reading status messages.
It is not necessary for a program include writting to LPT1 and communicating by socket to run as a Kernel mode driver. Any other special reason? I think I can get it done in two days and picking five for being cautious.