December 1New requirements for 5 groups: grocery products, animal feed, clothing and household linen, and 2 more · What to do
EN
Sign inTry for free

Free · works in the browser

Barcode scanner check for Chestny ZNAK

Scan the code from the screen. We’ll show whether the whole code came through, whether the scanner passes invisible GS separators and what to fix in its settings.

How the scanner is connected

For marking, the scanner works in COM port mode: the code comes as is, whole, with GS separators, and the layout and Caps Lock don’t interfere. That’s how the scanner works in the Truemark account.

How to switch the scanner to COM port mode

The same test code as in the Truemark account: two GS separators, all Latin letters and digits, and characters the Russian layout confuses. This isn’t a marking code.

The test code and everything the scanner sent are processed in your browser and aren’t sent anywhere.

The browser will show a list of devices: choose the scanner. Google Chrome, Microsoft Edge or Yandex Browser is needed.

What we check

  • Whole codeall characters, without cuts or distortion
  • GS separatorsinvisible ASCII 29 in their places
  • AIM prefixno extra ]d2 before the code
  • Layout and Caps LockLatin letters, case as in the code

How to check a scanner

  1. For marking, the scanner works in COM port mode: choose “COM port” and click “Connect scanner”. If the scanner still “types” codes like a keyboard, switch it to COM port mode following the instructions, or for testing choose “As a keyboard” and click the check field.
  2. Scan the test DataMatrix right from the screen. If the scanner doesn’t read from the screen, click “Print” and scan from paper.
  3. Look at the result. Green lines are fine, red ones show what’s in the way. Below the checks is what to fix in the scanner settings.
  4. Fix the setting and scan the code again. Each new scan is checked from scratch.

You can check your own marking code too: choose “Your own code” and scan the label. Without a sample, flipped case isn’t visible, but separators, prefix and layout are checked the same way.

What each check means

CheckWhat is wrongWhat it leads to
GS separatorsThe invisible ASCII 29 character didn’t come, or other characters came insteadThe serial number and crypto tail stick together, and the checkout and accounting software can’t parse the code
AIM prefixThree characters like ]d2 came before the codeExtra characters get into the code, and Chestny ZNAK doesn’t know such a code
LayoutCyrillic came instead of LatinThe code is wrong, although the scanner read it correctly
Caps LockUppercase and lowercase letters swappedIn a marking code, case matters, so the code becomes different
Whole codeThe code is cut off or has distorted charactersChestny ZNAK won’t accept a document with such a code

A line ending after the code (CR, LF or Tab) is shown by the check but not counted as an error: that’s how the scanner marks the end of the code. Details on how a marking code is structured and where its separators are, on the page marking code check. You can break your own code into parts there.

COM port or keyboard mode

COM port mode (USB-COM, USB Serial) is needed for marking: it passes the code as bytes, as is, with GS separators and unaffected by the layout. The scanner works in this mode in the Truemark account. The scanner is switched to it with a setup barcode from the manual, after which it stops “typing” codes into Notepad and other programs. That’s not a fault: now it passes codes only to programs listening to the port.

Keyboard mode (USB HID) is the scanner default. The scanner passes the code as keystrokes, so the Windows layout and Caps Lock affect the result, and the invisible GS separator gets lost. This mode doesn’t suit marking; it’s kept here for testing. You can return to it with the “USB HID” or “USB Keyboard” setup code from the same manual. A scanner connected to the computer’s COM port with an RS-232 cable is opened by the account at 9600 bps: 8 data bits, no parity, 1 stop bit.

Step by step, with setup code examples: how to set up a scanner for marking codes and how to connect a scanner to the Truemark account.

For the warehouse and receiving, instead of a scanner at the computer there’s the Truemark handheld terminal app, and for the production line, the marking station: it prints a label with the code and weight right on the line. All equipment the account works with is in the knowledge base section “Equipment and handheld terminals”.

If the scanner won’t read the code from the label

The test code reads from the screen but not from the label: so it’s about printing or the scanner’s capabilities.

  • Read the code with the Chestny ZNAK app on a phone. If the app reads it but the scanner doesn’t, the scanner can’t handle that size or print quality.
  • If the app doesn’t read it either, the code is printed with an error. Check 100% print scale without fit-to-page, a code margin from the label edge of at least 3 mm, and print darkness.
  • Make sure the scanner is two-dimensional. A scanner designed only for linear barcodes won’t read DataMatrix. You can see it right away here: EAN-13 reads, DataMatrix doesn’t.

More signs and solutions in the article “Scanner doesn’t recognize the marking code”.

Questions

Frequently asked questions about scanner checks

Didn't find an answer? Write to us, and an expert will reply in 15 minutes on average. More answers in the knowledge base and blog.

How do I check that a scanner suits Chestny ZNAK?

Switch the scanner to COM port mode, click “Connect scanner” and scan the test DataMatrix from the screen. The check shows whether the code was read in full, whether GS separators came, and whether there’s an AIM prefix, Russian layout or extra keys. If the scanner doesn’t read DataMatrix at all but reads an EAN-13 barcode, it’s one-dimensional: marking codes need a 2D scanner.

What is GS and why does a scanner lose it?

GS is the invisible ASCII 29 control character inside a marking code. It separates the serial number from the crypto tail. In keyboard mode, the scanner passes the code as keystrokes, and the invisible character often gets lost. In COM port mode, the code comes through whole.

What is the AIM prefix ]d2?

It’s a symbology label: the scanner reports that it read a GS1 DataMatrix. The marking code itself doesn’t have it, so the checkout or accounting software gets three extra characters. The prefix is turned off in the scanner settings; manuals call it AIM ID, Symbology Identifier or Code ID.

Why does the code come in Russian letters?

In keyboard mode, the scanner “presses” keys, and the Windows layout decides which letters come out. With the Russian layout on, Cyrillic comes instead of Latin. For marking, switch the scanner to COM port mode: in it, the layout doesn’t affect the code.

Which scanner mode is needed for marking?

COM port mode: the code comes as is, with GS separators, and the layout and Caps Lock don’t interfere. The Truemark account works with a scanner in this mode right in a Chromium browser: Google Chrome, Microsoft Edge or Yandex Browser. The scanner is switched to it with the “USB-COM” setup barcode from its manual, after which it stops “typing” codes into Notepad. Step by step in the article how to switch a scanner to COM port mode.

Can I work without a scanner at the computer, on a handheld terminal or station?

Yes. In the warehouse, a handheld terminal works instead of a scanner at the computer: the Truemark app installs on Android 7.0 and newer terminals with a built-in scanner. For variable-weight goods there’s the marking station: the label with the code prints at the moment of weighing.

What does the scanner send after the code?

Usually a CR character; in keyboard mode, that’s Enter. Some scanners send CR and LF or Tab. That’s how the scanner marks the end of the code: the check shows what came but doesn’t count it as an error, and the ending doesn’t affect the code itself.

Does the check send anything to the server?

No. The test code and everything the scanner sent are processed in your browser. In COM port mode, the browser asks for permission to access the port and reads only it.

The scanner reads the code from the screen but not from the label. What should I do?

So it’s about printing or the scanner’s capabilities. Read the code with the Chestny ZNAK app on a phone: if the app reads it but the scanner doesn’t, the scanner can’t handle that size or print quality. If the app doesn’t read it either, the code is printed with an error: check 100% scale, a margin from the label edge of at least 3 mm, and print darkness.

Scan codes in the Truemark account

A scanner in the browser, no software to install: UTDs, code application, introduction into circulation, Wildberries assembly tasks and Ozon postings. And everything else for marking in one window.

Try for freeSales: +7 812 765-02-50 · info@truemark.ru

Or leave a request

We’ll answer about volumes, pricing and getting started. Leave your phone or email and your question in the request form.