Connect a Barcode Scanner to an Electron Desktop App
In agricultural, industrial, and logistics integrated facilities, such desktop apps often need to read information from barcodes and QR codes printed on real-life physical objects.
Such barcodes and QR codes are scanned with a barcode scanner such as Zebra DS4305 Digital Scanner connected to the computer with a USB connector.
Receiving the code into the Electron app turns up to be very simple. The scanner is viewed as a keyboard.
So if you have in the HTML an
The scanner reads the code into the input field like it was typed in by the keyboard.