3

I want to read barcode from barcode device using Java. Please guide me.

2

2 Answers 2

3

do you need a scanner that does keyboard inout ? a cCOMM (rS232) scanner a USB scanner that doesnt do keybaord input ??

Most barcode reading is done by simpel barcode to keyboard input. This works without any programming in Java as it is your barcodescanner that just send keybaord events to your application. just put focus in a textfield , scan and it works.

The other options is COMM communication

read all about it http://java.sun.com/products/javacomm/ and here http://www.jcontrol.org/download/rxtx_en.html

you can connect USB devices to your computer and with the proper device driver read them as if they are COMM devices This can be better then using USB itself as its far more complex then COMM communication

2

Well.. Any barcode reader is able to translate the barcode into characters, right? It works just like you type the characters in with your keyboard. I don't think you need a java-based one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.