PortDock

Barcode Scanner Test

Scan a barcode to see the text with Enter, Tab and GS shown, ms between characters, prefix and suffix, Korean IME garbling, Caps Lock effects and GS1 data.

Privacy: scanned values and keystrokes stay inside this browser and are not sent anywhere.

For scanners without an Enter or Tab suffix, a scan ends after this much silence.

Last scan

No scans yet.

Scan log

#TimeReceivedCharsMedian gapEnd keyLooks like

How to use

  1. Click the box once and scan. Scan the same barcode two or three times, then a different one.
  2. In «Received», check whether ‹CR/Enter› or ‹Tab› is added at the end. If your program waits for Enter and none arrives, change the scanner's suffix setting.
  3. A median gap of 35 ms or less between characters means the scanner sent it, 60 ms or more is human typing speed, and in between it is shown as «hard to tell». If a scanner's gaps are uneven, characters can be lost through USB hubs, remote desktop or a slow PC.
  4. After two or more scans, characters added to every scan are shown as «Common prefix and suffix».

Garbled into Korean letters («ㅁㅠㅊ»)

A scanner sends key presses like a keyboard («the A key»). If the Windows input method is in Korean mode, the A key becomes «ㅁ», so «ABC» arrives as «ㅁㅠㅊ» (or «뮻»). Switch to English input before scanning, or set the scanner's keyboard language, automatic Hangul/English switching or ALT code (ALT+digits) mode. This page restores the original text from key positions (US layout).

Caps Lock

Scanners send capitals as «Shift + key». With Caps Lock on, case can flip and «Ab» arrives as «aB». Use the scanner's «ignore Caps Lock / auto» option or turn Caps Lock off.

GS1 barcodes (GS1-128, GS1 DataMatrix)

Pharma and logistics barcodes chain AIs (application identifiers) and values, like «(01) GTIN (17) expiry (10) lot (21) serial». After a variable-length field (10, 21 …) FNC1 must arrive as a GS (0x1D) character to separate it from the next. Over a keyboard interface GS may come as Ctrl+] or be dropped, and fields then run together — scanners let you choose a replacement character for GS.

In the field

When scans arrive wrong in an MES, WMS or inspection program, use this to tell a scanner problem from a PC input state problem first. For the keyboard itself, use the keyboard tester.

More with the PortDock apps

If the scanner is in virtual COM port (USB CDC/VCP) mode, data arrives as serial, not keystrokes. Open the port in PortDock Serial to see HEX and line endings (CR, LF), and read the USB serial driver and COM number without admin rights in PortDock Port Inspector.

FAQ

The scanner types nothing

Click the box first so it has the cursor. If still nothing, the scanner may be in virtual COM port mode (it appears under Device Manager → Ports (COM & LPT)).

Some digits are missing or out of order

Very short gaps can be missed on slow PCs, remote desktop or virtual machines. Increase the scanner's inter-character delay.

I cannot see GS

Many scanners do not send GS in keyboard mode or replace it with another character. Check the scanner's FNC1 / GS replacement setting.