Parallel port communication using Java Comm
Posted on 2001-06-02
When we write on the parallel port using ParallelPort.getoutputStream().write(byte) then the signal DOESNOT appear on the pins but if we connect the port with the printer then the printer prints the data byte.
Is there any acknowledgement signal back from the printer which allows the port to make the data byte appear on the pins.
We cannot change the Mode of the Port other than SPP to ECP or EPP or other through Java Comm, although we have changed the Mode in the ROM BIOS.
We want the data byte to appear on the pins as soon as the write method is called. Right now our application stucks after calling the write method if printer is not connected.