---
title: "How do I print Datamatrix barcodes on thermal printers?"
slug: "how-do-i-print-datamatrix-barcodes-on-thermal-printers"
description: "How do I print Datamatrix barcodes on thermal printers?"
tags: ["check-ai", "QA576", "datamatrix", "barcode", "2d", "viridicode"]
updated: 2024-07-09T13:44:15Z
published: 2024-07-09T13:44:15Z
canonical: "docs.retailvista.net/how-do-i-print-datamatrix-barcodes-on-thermal-printers"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.retailvista.net/llms.txt
> Use this file to discover all available pages before exploring further.
# How do I print Datamatrix barcodes on thermal printers?
<span class="fr-marker" data-id="0" data-type="true" style="display: none; line-height: 0;"></span><span class="fr-marker" data-id="0" data-type="false" style="display: none; line-height: 0;"></span<span class="fr-marker" data-id="0" data-type="true" style="display: none; line-height: 0;"></span><span class="fr-marker" data-id="0" data-type="false" style="display: none; line-height: 0;"></span>This document describes the different control codes for various thermal printers to be able to print Datamatrix codes. Of course, the coordinates (horizontal/vertical) ultimately depend on the desired exact position on labels.
In the binaries, you can find the pages from the documentation of the various printers.
It is strongly recommended to print a text that represents the barcode in addition to the Datamatrix barcode. This is similar to the numeric value of a barcode that is often printed below the barcode. Since the total text for a Datamatrix is too long, a compressed variant of the barcode has been created. This is available as the 'TwoDimensionalBarcodeHash' field. This field can be used for searching and comparing on the screen to ensure that the correct barcode is being used, for example when changing a sales price for a specific barcode.
**Sato GL408e**
%2 H0360V0140FX001+001005003 %2 BX01100404000000001 %2 DC %2 H0360V0255RDB00,25,35,
ESC+BX - Datamatrix definition ESC+DC - The actual content to be printed for Datamatrix
**Sato CL4NX**
%2 H0730V01502D51,04,04,000,000 %2 DN>,
ESC+2D51 - GS1 Datamatrix barcode definition ESC+DN - Data for 2D51 command, followed by the actual Datamatrix content