Problem was javax.comm.ParallelPort 's getOutputStream() -ed objects write() method. HERE goes ANSWER  
Author Message
KiLLBoY





PostPosted: 2005-1-6 21:32:00 Top

java-programmer, Problem was javax.comm.ParallelPort 's getOutputStream() -ed objects write() method. HERE goes ANSWER To all, who tryed to send tada to Parallel port using javax.comm api.
I had the same problem at home when I wrote program.
Then I went to my working place and tested my program, - the problem
remained - program hanged forever after sending bytes to parallel port.
I had tryed almost everything at home, so the way could be only one -
PRINTER and SO THAT WAS ENDEED!!!
I turned printer on and bytes went away :) program worked fine!

So, as we could see Windows platforms (and maybe others too) block all
outgoing signals to the ports from where OS does not get or receive the
signal that means the port is alive (=something is connected to that
port).

That was one more good lesson for me.

If this helped somebody, let me know.
Tengo
----------
Who is looking for something, that will find it.