10xSebastian / barcode-scanner.js

Javascript library to handle and identify data (keystrokes) entered by a barcode scanner.
GNU General Public License v2.0
17 stars 7 forks source link

Which characters can be scanned, and which libs/protocols are supported? #7

Open 10xSebastian opened 8 years ago

10xSebastian commented 8 years ago

Asked by @smartmeter here: https://github.com/pape-io/barcode-scanner.js/issues/3#issue-119083836

Can this also scan characters, and which libs are supported. For e.g. if I have 2 types of codes Parts P0938823 and Fluids F0238847 would the scanner pick up the P and F how does it know which barcode standard to use. I mean is this a configuration in the lib or the scanner prefix codes.

10xSebastian commented 8 years ago

It only works with barcode scanners that produce character outputs. As a website can deal with any kind of character, this is how it works.

Your barcode scanner knows the standard, this library just deals with the character output.