Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Read from barcode readers  RSS feed

 
Piradharsan Navaratnam
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello my dear friends,

Can anybody explain me how to extract the barcode id from a barcode reader. I need my application to capture the id automatically when a barcode label is shown to the reader. Simply say a jsp with a form has a textfield when the client show the barcode lable to the reader it has to capture the id and put it to the texrfield automatically.


Please I hv to submit my project on july 30th. Can anybody help me.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Barcode readers are generally accessed through serial I/O, e.g. using the javax.comm package (some links are here). The manual of the reader should tell you what to send and what to receive (if it doesn't anyway come with example code).

If you're talking about filling in a textfield of an HTML form in the browser, then you'd need to have an applet running on that page which can access the barcode reader.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!