Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

barcode scanner Interface

 
Jithesh Kozhipurath
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
How can I Interface a direcly connected bar code scanner with my java application. I want to read the barcode and get the result string to my application variable. Please help me, Urgent.
Thanx in advance,
 
Don Kiddick
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what api's does your barcode scanner vendor provide ?
D.
 
Jeffrey Spaulding
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Been a while since i used one of these.
Depends on the model.
We used to have one that was looped into the connection
between Computer and Keyboard and simply stuffed the characters it
recognized into the Keyboard datastream.
That would be easy, since it's exactly the same thing as reading
keyboard input.
I remember a second type that connected to the serial port, you might
wanna check the actual Hardware to find out what interface you're
confonted with.
J.
 
Jithesh Kozhipurath
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a scanner which works in the same way of a keyboard. Whatever I scan should be displayed on the currently focused application. The h/w vendor didnt give any APIs for connectivity with JAVA. And my requirement is specific to my application.
Please let me know how to access the scanner output.
Thanx
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic