-
Notifications
You must be signed in to change notification settings - Fork 0
Barcode Scanner
Daniel Depaor edited this page May 28, 2026
·
1 revision
Simulates a keyboard wedge barcode scanner — the most common type used in POS and inventory systems.
Most barcode scanners act as a keyboard:
- You scan a barcode
- The scanner types the barcode digits as keystrokes
- It presses Enter (or Tab) at the end
- Your app receives the input in the focused text field
DeviceMocker does exactly this — without the physical scanner.
- 20 sample barcodes — EAN-13, UPC-A, Code128, QR codes, EAN-8
- Random barcode generator — generates valid barcodes with correct check digits
- Barcode type selector — EAN-13, UPC-A, Code128, QR Code, EAN-8, Custom
- Prefix / Suffix — add characters before/after the barcode
- Character delay — simulate realistic typing speed
- Batch scan mode — fire N random barcodes with configurable interval
- Scan history — click to re-scan previous barcodes
- Go to Devices → SCAN
- Enter a barcode value or click a sample barcode
- Select suffix: Enter (most common), Tab, None, CR, LF, CRLF
- Click Send After 3s → switch to your target app
- The barcode appears in your app's focused input field
For stress testing:
- Enable Batch Scan Mode
- Set Count (e.g., 10) and Interval (e.g., 1000ms)
- Click Start Batch Scan → switch to your app
- 10 random EAN-13 barcodes fire one after another
| Scanner Type | Suffix |
|---|---|
| Most POS scanners | Enter |
| Tab-to-next-field | Tab |
| Serial scanners | CR or CRLF |
| Raw data | None |