-1

I hope to develop web based ERP system for retail startup. Is that possible to configure a device like bar-code reader? It runs through the browser. Will the browser can identify that kind of device?

Janath
  • 1,218
  • 4
  • 26
  • 53
  • This is a pretty broad question but yes, many barcode readers connect and interact with a device as a simple keyboard. If, in your webapp you provide an input with focus and then scan a barcode, many will act the same as if you had typed the number in yourself. See also [this question](http://stackoverflow.com/questions/2892280/usb-interface-barcode-scanners) – Jeff Lambert Apr 28 '16 at 16:45
  • They make usb barcode readers that act as a keyboard, so as long as your web based system puts the focus on the right field, the barcode scanner puts the code into the field. I bought 8 x $12 scanners on amazon to get this working on all of our POS. I also use zxing for their mobile fulfillment, it works with the zxing android app, so when they click a link to scan a code it opens the app, and then the app sends the browser to a custom url with the barcode embedded in a variable. It was full barcode functionality we needed in under an hour of work. – RightClick Apr 28 '16 at 17:18

1 Answers1

0

The webpage wouldn't have access to controlling how the client system deals with its hardware, but if configured normally on the client, the barcode reader will act just like a keyboard, and keyboards can indeed send information to a browser.

Although most punch clocks are simpler (cheaper) devices than a full computer with browser and everything, it can certainly be done that way.

Julie Pelletier
  • 1,740
  • 1
  • 10
  • 18