read events and errors from a serial port
Hello, i need to read events, errors and request from a serial ports device (point of sale). I install the commApi library and the samples (SampleRead.java and SampleWrite.java). When i run SampleRead.java the application doesn't show any event or data when i read from the inputStream. I can write to the port serial device but i can't read the events, how can i do to prove SampleRead.java?. Thanks so much for your help!!!
[434 byte] By [
cwaizani] at [2007-9-27 17:52:24]

I am facing similar problem.I am sending data to the outputstream of the serailport as bytes.I am using a TMU200/U200P printer(with auto cutter).After receiving some 32 lines ,the printer just stops printing.Whatever command we give after this doesn't execute.I am giving command to cut the paper .But this doesn't execute after that.The output buffer empty event is fired even when the printer continues printing.Is it because the buffer in the printer is small?What is the workaround for this?