How do I print Datamatrix barcodes on thermal printers?
  • 09 Jul 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

How do I print Datamatrix barcodes on thermal printers?

  • Dark
    Light
  • PDF

Article summary

<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

<esc>%2
<esc>H0360<esc>V0140<esc>FX001+001005003<crlf>
<esc>%2
<esc>BX01100404000000001<crlf>
<esc>%2
<esc>DC<data:twodimensionalbarcode>
<esc>%2
<esc>H0360<esc>V0255<esc>RDB00,25,35,<data:twodimensionalbarcodehash><crlf>

ESC+BX - Datamatrix definition
ESC+DC - The actual content to be printed for Datamatrix

Sato CL4NX

<esc>%2
<esc>H0730<esc>V0150<esc>2D51,04,04,000,000
<esc>%2
<esc>DN<datalength:<data:twodimensionalbarcode>>,<data:twodimensionalbarcode>

ESC+2D51 - GS1 Datamatrix barcode definition
ESC+DN - Data for 2D51 command, followed by the actual Datamatrix content


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.