Barcode scanners: how it works
Every barcode scanner works: USB, Bluetooth and 2.4 GHz scanners in keyboard mode, serial (COM) scanners, the phone or laptop camera and the phone app’s scanner. A scan fills the code field of the page; on a page without one it opens the matching record.
Lesson 2 of 6 · How it works
How it works
Scanners in keyboard mode need no setup: zmle tells a scanner from a person typing by the speed of the keystrokes. The newest code field on screen gets the scan — a dialog’s field before the page behind it; lists put the code into their search.
On a page without a code field a scan opens the record it belongs to — product, purchase order, goods received note, delivery note, receipt, booking — when «A scan … opens the record» is on for the station.
Arabic, Bangla, Russian or French keyboard layouts can turn a scanner’s keystrokes into other letters; «Keyboard layout: Automatic» reads the physical keys instead, and «Always physical keys» fixes AZERTY / QWERTZ layouts.
Prefix, suffix and the end key (Enter, Tab or a pause) are set per station or per device; the scanner’s GS1 separator (Ctrl+]) is kept, so GS1-128 and GS1 DataMatrix codes keep their GTIN, batch, expiry and serial.
Serial scanners: switch «A serial (COM) scanner is connected» on for the station and pair the port once on the device (Chrome, Edge, Opera, the desktop app).
Camera: the «Camera» button reads EAN / UPC, Code 128 / 39 / 93, ITF, Codabar, DataBar, QR, Data Matrix, PDF417 and Aztec in every browser over https; the phone app uses the phone’s native scanner.
«Test scan» on Devices & printers shows what arrived — type, AIM identifier, GS1 content, timing — and what to change when the code is wrong.
Where to find it
- Devices & printers → This device → Barcode scanner
/admin/devices - Stations (scanner rules)
/admin/devices?tab=stations
Settings that change it
- Stations
/admin/devices?tab=stations
Checklist
Before you move on, check that you can:
- Open Devices & printers → This device → Barcode scanner
- Scanners in keyboard mode need no setup: zmle tells a scanner from a person typing by the speed of the…
- On a page without a code field a scan opens the record it belongs to — product, purchase order, goods…
- Arabic, Bangla, Russian or French keyboard layouts can turn a scanner’s keystrokes into other letters;…
- Prefix, suffix and the end key (Enter, Tab or a pause) are set per station or per device; the scanner’s GS1…
Tips and common mistakes
- Digits come out as other signs (for example & or é instead of 1 and 2): set «Keyboard layout» to «Always physical keys», or set the scanner to your keyboard layout.
- The scanner adds a symbol in front of every code: enter it as the prefix (Test scan shows it), or switch it off in the scanner.
- Laser scanners cannot read codes on a screen — use a printed label or a 2D imager scanner.
- A Bluetooth scanner that drops characters: raise «Longest gap» for the station, or move it closer to its receiver.