2

I'm trying to scan barcodes and send them to an input field.

I have a Barcode scanner (Symbol LS2208) but when I scan a barcode I get the code as if it was written using a QWERTY keyboard (instead of the AZERTY keyboard my users have), for example, instead of getting 2 I get é, ? instead of M, etc.

I read its manual but didn't find how to change the language, so I would like to convert the text using javascript in the input onkey event.

I wonder if there is an existing script that would convert QWERTY keys to AZERTY.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
stacker
  • 21
  • 1
  • 6
  • The key here is the match between scanner and OS. if you can't find the way to configure azerty on the scanner, configure qwerty on PC keyboard – Saic Siquot Dec 04 '15 at 10:18
  • the Barcode Scanner is recognized has a keyboard, try to change its layout into the localization options in windows – Arnaud Gueras Dec 04 '15 at 10:18
  • @LuisSiquot 99% of our visitors use AZERTY keyboards , I dont want ask them to configure QWERTY on their PC keyboars . – stacker Dec 04 '15 at 10:30
  • @ArnaudGueras do you mean change it in the region an Language windows ? – stacker Dec 04 '15 at 10:33
  • @stacker, if my answer helped you, feel free to up vote and/or accept it. – jcaron Dec 06 '15 at 02:41

1 Answers1

1

Open the LS2208 manual, go to page B-10. Scan the "French (France)" barcode (or other appropriate barcode if you use a different type of keyboard).

You can find the manual here: https://portal.motorolasolutions.com/Support/US-EN/Mobile+Networks+RFID+and+BarCode+Scanners/Bar+Code+Scanning/General+Purpose+Scanners/LS2208_US-EN

jcaron
  • 17,302
  • 6
  • 32
  • 46