DataMatrix Barcode Fonts

DataMatrix is a two-dimensional matrix symbology made up of square modules arranged in a square or rectangle pattern. This barcode is capable of packing large amount of data and has the capability of recovering the original data encoded even when it is partially damaged through an error correction technique. The DataMatrix barcode is composed of solid adjacent patterns known as the "finder patterns" in L-shape for locating and orienting the symbol.



Download Now    Buy Now    Brochure

ConnectCode DataMatrix Barcode Font package

This is a professional True Type (TTF) barcode font package that is used to create a DataMatrix barcode by selecting a font in the text editor. The package includes a standalone encoder, a .Net Dynamic Link Library (for application integration) and a true type font for creating a DataMatrix barcode that strictly adheres to the industry specifications ISO/IEC 16022:2006 (ECC200).

DataMatrix Barcode Resource



DataMatrix Barcode

Error Correction

The DataMatrix barcode uses the Reed-Solomon error correction technique for data recovery. This allows a partially damaged barcode to be read and decoded. A partially damaged barcode could be the result of a partially torn printed barcode. The original data encoded in the barcode could be retrieved by encoding additional codewords in the barcode for redundancy and error correction.

Data Encodation

The DataMatrix Barcode can pack large amount of data using various encodation methods. Each encodation method is optimized for a specific type of data. For example, the C40 method is optimized for upper case alphanumeric characters.

The list below shows the different encodation methods specified in the DataMatrix specification.

  • ASCII - ASCII 0 - 127
  • C40 - Upper case alphanumeric
  • Text - Lower case alphanumeric
  • X12 - ANSI X12 EDI Data Set
  • EDIFACT - ASCII 32 - 94
  • Base 256 - Byte values 0 - 255
Datamatrix Shape

The DataMatrix barcode supports 24 square symbols and 6 rectangular symbols. The sizes of the different symbols are shown below.

Square
Square  Row  Column  
 1010
 1212
 1414
 1616
 1818
 2020
 2222
 2424
 2626
 3232
 3636
 4040
 4444
 4848
 5252
 6464
 7272
 8080
 8888
 9696
 104104
 120120
 132132
 144144

The diagrams below illustrate the 12 x 12, 32 x 32 and 64 x 64 DataMatrix symbols.


12 x 12


32 x 32


64 x 64

Rectangle
Rectangle  Row  Column  
 818
 832
 1226
 1236
 1636
 1648

The diagram below illustrates an 8 x 18 Rectangular DataMatrix barcode.

Prefix

The DataMatrix barcode supports the following prefixes in the symbol. A prefix is used to adhere to barcode industry standards such as one authorized by AIM International/GS1 or for abbreviating a header to the symbol.

  • None
  • FNC1 - GS1 FNC1 character
  • 05 Macro - Macro codeword 236
  • 06 Macro - Macro codeword 237
  • Reader Programming - Indicates the symbol encodes a message used to program the reader system


DataMatrix Barcode Font

The following is the description of the DataMatrix Barcode Font used by the Encoder or .Net DLL.

Font Name Description Recommended Sizes
CCodeDataMatrix (CCodeDataMatrix_Trial for the Trial version) Standard DataMatrix Barcode Font. Font Size 2 .. 64

Note:

1. You may see spaces (though rare) between multiple Rows when you use the DataMatrix Code barcode fonts in certain font sizes. The DataMatrix barcodes at these sizes should be avoided. The spaces can be easily removed by increasing or decreasing the font size by 1 point.



Font Encoder

ConnectCode's DataMatrix barcode font package comes bundled with a Font Encoder that allows you to encode the barcode quickly and easily. This is useful if you like to encode a single barcode to be pasted on your brochure or product items. The Encoder supports all parameters as described in the sections above.

The Shape and Prefix parameters can be easily specified through the user interfaces shown below.

The Font Name and Font Size in the "Output" section can be changed after the DataMatrix barcode is created. This allows the height and size of the barcode to be changed and catered to your needs.

The "Show As Text" option allows you to see the text output of the barcode in a normal text font. The "Copy Barcode" button allows the barcode to be copied and pasted to other applications easily.



.NET SDK

A .NET Barcode SDK is also bundled in the ConnectCode DataMatrix Barcode Font package. This SDK can be bundled in your applications if you purchase the necessary distribution licenses.

Library Name : DataMatrix.dll

Namespace : ConnectCode.BarcodeFonts2D

Class Name : DataMatrix

Requirements : .NET 2.0 and onwards

Constructors and Functions

DataMatrix(String data, int shape, int prefix);

This is the constructor for the DataMatrix barcode. It is used for initializing the DataMatrix barcode.

data : The data input string to be encoded as a barcode
shape : 0 for Square and 1 for Rectangle
prefix : DataMatrix prefix. 0 for None, 1 for GS1 FNC1, 2 for 05 Macro, 3 for 06 Macro and 4 for Reader Programming.

String Encode();

This function encodes the barcode based on the parameters specified in the constructor. The result will be returned as a string.


Sample Usage (C#)

 

Using ConnectCode.BarcodeFonts2D;
.
.
.
DataMatrix barcode = new DataMatrix("12345678",0,0);
String result = barcode.Encode();
Font font = new Font("CCodeDataMatrix", 8);
//private System.Windows.Forms.RichTextBox richTextBox1;
richTextBox1.Text = outputstr; 
richTextBox1.SelectAll();
richTextBox1.SelectionFont = font;

   


Sample Visual Studio Project

1. Name - ConnectCode Encoder

2. Solution Name - ConnectCode.sln

3. Language - C#

4. Requirements - .Net 2.0 and onwards, Visual Studio 2005, 2008, 2010, 2012, 2015, 2017, 2019 and onwards.



Download ConnectCode DataMatrix Barcode Fonts

System Requirements

  • Windows Windows 7, Windows 8, Windows 10, Windows 11 or
  • Windows Server 2003, 2008, 2012, 2016 or 2019
  • 300 MHz processor
  • 64 MB RAM
  • 100 MB of Hard Disk space
EXE Format (Executables)

End User License Agreement

Zip Format (Zip File)

Overview of what the installer does

  • Install the Barcode Font Encoder on your system.
  • Install .Net DLL and help file on your system.
  • Install True Type fonts on to your system with your permission. During installation you will be prompted whether to allow the installer to copy the fonts into your "C:\Windows\Fonts" folder automatically.

The DataMatrix Encoder requires the Microsoft .Net Framework (2.0 or onwards) to run. If the software fails to launch, you may want to install the latest .Net Framework from the following:

msdn.microsoft.com/en-us/netframework/aa569263.aspx

Uninstall Instructions

  • On your system, go to "C:\Program Files (x86)\ConnectCodeDataMatrixTrial" or the location where the software is installed.
  • Double click on Uninstall.exe.
  • Click on the "Yes" button followed by the "Uninstall" button. This will uninstall all the fonts and software on your system.


Windows installation notes

Important: It is recommended to close all other applications before proceeding with the installation.

The reason is because the installer set up the barcode fonts by copying the files into the Windows fonts (C:\Windows\Fonts) directory. Some software applications may be using Windows fonts and this may block the Copy process. If you are in the middle of the installation process and notice that the installation has stalled, simply shut down other applications to let the installation resume.

Windows Server installation notes

  • For Windows Server 2003/2008/2012/2016/2019, it is recommended that you choose "No" when the installer requests to setup the fonts for you automatically. After the installation, follow the steps below to setup the fonts for your server.
  • Click on the Start button and click Run.
  • Enter the following command: %windir%\fonts
  • Click OK.
  • On the File menu, click on Install New Font
  • In the Folders box, click the folder that contains the font that you want to add, and then click OK. ConnectCode Barcode Fonts is by default installed in the directory C:\Program Files\<ConnectCode directory>
  • In the List of fonts box, click the font that you want to add. You can add all ttf (TrueType fonts) files in the ConnectCode directory. To select more than one font at a time, press and hold the CTRL key while you select each font.
  • Click to select the Copy Fonts To Fonts Folder check box.
  • Click OK.

How do I install the barcode fonts on my PC manually?

The steps below are optional as the installer will be automatically setting up the fonts for you.

  • Right click on the Start button and click on Open Windows Explorer.
  • Using the Windows Explorer, go to the directory C:\Program Files\<ConnectCode directory>.
  • Copy all the font files (of type TrueType font file) to the C:\Windows\Fonts directory
  • With the above setup, the barcode fonts can be used by all applications on the PC such as Microsoft Excel and Microsoft Word.