Barcode scanner test

How the scanner passes codes on: GS separator, ]d2 prefix, Enter, keyboard layout.
Plus test marking codes for setting up a till and 1C.

Barcode scanner test

Scan the codes on the screen and the page shows how the scanner passes them to programs: whether the GS separator arrives, whether a ]d2 prefix and Enter are added, whether the keyboard layout and letter case get mixed up, whether characters get lost.

1. Codes to check

2. Scan here

A scanner in keyboard mode types the code into this field. Each code is analysed separately. If the codes on the screen do not read, zoom the page in.
How scanners are usually set up for marking codes
  • USB keyboard (HID) mode is the simplest: the code is typed into any field. For 1C a virtual COM port mode is often better: it does not depend on the layout and does not lose GS.
  • In keyboard mode the GS separator is sent as a key combination — on many scanners it is Ctrl+]. Look for FNC1 or GS in the manual.
  • Not every program needs the AIM ID prefix (]d2, ]C1, ]Q3): if 1C or the till says the code is not recognised, try turning it off.
  • A CR (Enter) suffix after the code is needed almost always — it tells the program the scan is over.
  • Settings are changed by scanning configuration barcodes from your model's manual. After changing them, run this test again.

The check runs in your browser; codes are not sent anywhere.

Test marking codes

Codes with a correct structure for setting up a scanner, a till and 1C in test mode: long check code, short one, codes for dairy, beer and tobacco. They can go straight to printing.

Why test the scanner

Most “marking code not recognised” errors happen not because of the code but on its way from the label to the program. A scanner in keyboard mode “types” the code like a person: with a Russian layout Latin letters turn Cyrillic, the invisible GS separator may get lost, a ]d2 prefix appears at the start and there is no Enter at the end. The test shows exactly what reaches the program and suggests what to change in the scanner settings.

How to use it

  1. Put the cursor in the scan field.
  2. Scan the codes on the screen one by one: EAN-13, Code 128, Data Matrix and QR. If the scanner does not read from the screen, zoom the page in or raise the brightness.
  3. An analysis of each scan with advice appears below the field.
  4. Change the scanner settings with configuration barcodes from its manual and run the test again.

Test marking codes

The generator in the second block creates codes with a correct structure: long and short, for dairy, beer and tobacco. They let you check how a till, 1C or warehouse software accepts and parses codes without touching real ones. The product number comes from the internal range and the check code is random, so Chestny ZNAK will not accept such codes. You can print them in the Chestny ZNAK code check, and the formats by group are described in the article Marking code formats.

Further reading

Frequently asked questions

Why does the scanner not send the GS separator?

GS is a control character with no key on the keyboard. In keyboard mode the scanner sends it as a key combination, usually Ctrl+], or not at all — it depends on the settings. Turn on sending FNC1 as GS in the scanner per its manual or connect it in virtual COM port mode.

What is ]d2 at the start of a code?

It is the symbology identifier (AIM ID): the scanner reports that it read a GS1 DataMatrix. For QR it is ]Q, for GS1-128 ]C1. Some programs use it, others treat it as extra characters. If 1C or the till rejects the code, try turning the prefix off.

Why do Russian letters arrive instead of Latin ones?

A scanner in keyboard mode presses keys, and the letters come out in the layout active in the system. Fixes: switch the layout to English before scanning, turn on layout-independent input in the scanner, or fix the code afterwards — the Chestny ZNAK code check can do that.

Can I test a scanner that does not read the screen?

Some laser scanners cannot read screens. Print the page: codes on paper test the same things. 2D codes, Data Matrix and QR, are not read by laser scanners at all — marking codes need a scanner with a camera (2D imager).

More tools

Barcodes and marking

QR code
Link, text, contact card, e-mail, SMS
Barcode generator
EAN-13, Code 128, Data Matrix, PDF417, Aztec
Price tags and labels
Price tags, ingredients, thermal labels
Codes for internal use
Barcodes with prefix 2 and weight codes
SSCC generator
Box and pallet codes, GS1-128 labels
Chestny ZNAK codes
Checking marking codes and printing DataMatrix
Code list comparison
Missing, extra, repeated codes