1

Hello I have keyboard wedge type of scanner. Necessary condition for it is that it requires cursor to be set on text field to receive barcode Number. But i want to store scanned barcode number into buffer and used it later.

so is there any java library available which will help me in that aspect ?

Thanks !!!

Sachin Doiphode
  • 431
  • 2
  • 10
  • 24

3 Answers3

4

Zxing is a good option.

You can also try this:

http://www.softpedia.com/get/Programming/Components-Libraries/Java-Barcode-Reader.shtml

Adam Paynter
  • 46,244
  • 33
  • 149
  • 164
Nirmal- thInk beYond
  • 11,847
  • 8
  • 35
  • 46
4

I just answered a similar question in depth here, with an example of my implementation (I didn't want to use a keyboard hook because I didn't want to require focus on the program before interpreting a scan).

Community
  • 1
  • 1
egerardus
  • 11,316
  • 12
  • 80
  • 123
1

One way is zxing

moritz
  • 5,094
  • 1
  • 26
  • 33
  • 2
    : zxing is used to read barcode from images but i have barcode scanner to do that. I want java library which will read scanner output without need to have cursor on textField. – Sachin Doiphode Apr 09 '11 at 14:52
  • There is the class [Scanner](http://download.oracle.com/javase/6/docs/api/java/util/Scanner.html) that comes in my mind for a problem like this. – moritz Apr 10 '11 at 12:28