How to turn a Chestny Znak code file into print-ready labels

Tsvetoslav Metodiev, CEO of Export Label

Tsvetoslav Metodiev, CEO of Export Label

Helps European food and beverage exporters label shipments for Chestny Znak.

Published: Last updated:

Key takeaways

  • The importer orders the codes in Chestny Znak and sends you a CSV or PDF file; you turn each code into a Data Matrix label.
  • Never open and re-save the code file in Excel: it can strip the invisible GS separator and the printed codes will not be accepted.
  • Every code is printed once, in a fixed order, so units, packs and pallets match what the importer reports.

A Chestny Znak code file is a list of unique marking codes that your Russian importer ordered for your products. To turn it into labels you (1) check the file without editing it, (2) map each code to a Data Matrix symbol on a label template of the right size, (3) assign codes to units, packs and pallets in the packing order, and (4) print with a printer that meets the quality grade. Specialised software does steps 2-4 in seconds; doing it by hand in Excel or a generic label designer is where most errors come from.

What is inside a Chestny Znak code file?

Each line is one marking code. For most food groups the short code structure is: 01 + 14-digit GTIN + 21 + serial number + GS + 93 + 4-character check code. The serial length depends on the product group (for example 6 characters for dairy and 13 for grocery goods). For confectionery, the identification part of the code is 31 characters in the first structure and 24 in the second.

PartWhat it isExample length
01 + GTINProduct code (14 digits)16 characters
21 + serialUnique number of this one unit8-15 characters
GSInvisible separator (ASCII 29)1 character
93 + check codeCheck code generated by the operator6 characters

The importer usually exports the codes from the Chestny Znak order system (SUZ) as CSV, or as a PDF with ready Data Matrix images. Both work. A CSV gives you more control over the layout; a PDF fixes the symbol size chosen by the importer.

Why do codes printed from Excel get rejected?

The GS separator is a non-printing character. It does not show on screen and it often does not survive copying into an Excel cell. If the GS is missing or typed in as text, the Chestny Znak system does not recognise the code correctly. The label then looks perfect but fails when the importer's scanner or the system reads it.

Two more traps:

  • Chestny Znak CSV files are encoded in UTF-8, while Excel may open them in another encoding and change characters.
  • Excel can turn long numbers into scientific notation or cut leading zeros.

Rule: treat the code file as read-only. Load it straight into the label software, never into a spreadsheet you then save again.

How do you turn the file into labels, step by step?

  1. Check the file. Count the codes, compare with the order quantity per GTIN, and check for duplicates. A duplicate code means a duplicate label, and only one of them can be valid.
  2. Choose the template. Set the label size, the Data Matrix size and any human-readable text (product name, GTIN, batch). Labels can be any size the packaging needs.
  3. Set the packing hierarchy. Define how many units go in a pack and how many packs on a pallet. This decides which unit codes belong to which pack and pallet label.
  4. Generate in order. Each unit, pack and pallet label gets the next code in sequence, so the printed roll follows the real packing order on the line.
  5. Preview and print. Check a few labels by scanning them, then print the roll.
  6. Send the report back. Give the importer a report showing which unit codes are in which pack and on which pallet. They need it for the next steps in Chestny Znak.
Chestny Znak labels coming off a thermal label printer, in the order they will be applied.

How long does it take?

Rolls of printed Chestny Znak labels grouped by pack and pallet with their code sheets
Printed label rolls for one shipment, each bundle with its sheet showing the pack or pallet code and the range of units it covers.

By hand, preparing labels for one truck can take a person a full day, and one shifted row in a spreadsheet puts hundreds of units on the wrong pallet. With Export Label one pallet of labels is generated in about 20 seconds from the PDF or CSV file. One of our clients generates more than 3 million labels a month this way, and their staff apply the labels by hand at normal line speed.

What do you need before you start?

  • The code file from your importer (CSV or PDF), one file per order.
  • The packing scheme: units per pack, packs per pallet.
  • A thermal label printer. Any common brand works, and a suitable printer costs about EUR 200-300.
  • Labels in the size your packaging needs.

Frequently asked questions

Can I open the CSV file to look at it?

Yes, in a plain text editor, without saving it. Do not edit or re-save it in Excel.

Is a PDF from the importer better than a CSV?

Neither is better. The PDF already contains the Data Matrix images; the CSV lets you control size and layout. Export Label accepts both.

Can one code be printed twice?

Printing it twice does not create two valid units. Each code identifies one unit, so a duplicate is a problem the importer will see. Print every code once.

What if a label is damaged before it is applied?

Reprint that exact code, not a new one, and make sure the damaged label is destroyed.

Who pays for the codes?

The Russian importer orders and pays for the codes in Chestny Znak. The European exporter pays only for printing the labels.

Do I need an account in Chestny Znak?

Not for printing. The importer handles the system; you receive the files and print.

Sources

  1. Chestny Znak knowledge base: code structure for dairy products
  2. Chestny Znak knowledge base: code structure for grocery products
  3. Chestny Znak knowledge base: identification means, marking code and identification code (sweets)
  4. Chestny Znak knowledge base: why the GS separator is required
  5. Chestny Znak knowledge base: CSV format and UTF-8 encoding
  6. Infostart: the invisible character that makes codes from Excel fail

Related guides