Java and barcode scanners

Hi All,

i have following constellation :

a scanner which is a keyboard pass through device attached to my PC.

I would like to scan something into a JTextField.

At the beginning i saw that the string which was scanned was not displayed properly in the JTextField but at the same time i was able to do the same scan operation in e.g. "Notepad".

After a few tries i figured out that this is depends on transmission speed from the scanner into the PC. Then i looked into the scanners manual and find a setting where you can set the "time-out between characters". The default was 0 ms. After i set it to 10ms i had no problems with that. The string was now displayed properly in the JTextField. BUT

i also try to run the application on a different PC which is much slower (200MHZ instead of 550MHZ). And the result was the same as by the beginning. The application sometimes show the string correct and sometimes a few characters was dropped by "java".

--

My question is now is there any way to catch the input in something like a Buffer and then let display it in the JTextField. Because in my mind this is the only way it should work for each PC.

Rgds

baydin

[1237 byte] By [baydin] at [2007-9-26 12:01:14]
# 1
Is there really nobody who could help me ?thx in advancebaydin
baydin at 2007-7-2 2:24:33 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2

hello,

i saw your message and i have a problem, maybe you could help me.

how do you access the scanner . Could you post a few info to this issue. I dont know how to begin

and i ask myself already, if java is a good solution to work with a scanner. I have to scan barcodes on a serial port scanner.

Thanks in advance

JavaCook at 2007-7-2 2:24:33 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3

Hello,

I'm looking into using a barcode scanner for our web-based client/server application

(Java Applet using Visual Cafe as a GUI Builder).

Could you give me any more info, tips, advice etc. on what to look out for?

What hardware (barcode reader/scanner, Computer etc.) are you using?

Thanks,

PSS Team

L3-PSS at 2007-7-2 2:24:33 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 4
i've implemented a java applet wich uses classes from an IBM framework called wsbcc and java,comm api.the most difficult thing is to understand when the applet has to read in cmc7 or ocr mode (it depends on the web page).good luck
robybu at 2007-7-2 2:24:33 > top of Java-index,Java Mobility Forums,Consumer and Commerce...