Java Data Matrix Generator Tutorial

Generate, create 2d barcode Data Matrix images in Java Class, JSP Pages, Servlet, Jasper Report

Generate, Create, Print, Draw Data Matrix barcode in Java projects

  • Easy to Generate Data Matrix in Java class, Java Bean, Applet, Swing applications
  • Create Data Matrix in Java Servlet, JSP, EJB, Tomcat, JBoss server side projects
  • Print, draw Data Matrix barcode images in Jasper Reports, iReport & Eclipse BIRT Java reporting software
  • Encoding, generating high quality Data Matrix BarCode images in GIF, JPEG, PNG, & EPS formats
  • Compatible with ISO / IEC 16022 (2nd edition 2006-09-15)
  • 100% written in Java for JDK 1.4.2 and later versions
  • Simple to redistribute Java Data Matrix barcode library. No registration key. No activation code
  • Mature Data Matrix barcode generation Java library


How to create, print Data Matrix in Java web, desktop application?

  1. Download Java Data Matrix Barcode Generator library
  2. Install Java Data Matrix barcode generation library into Java project
  3. Start to Create




















Common Asked Questions

What is a data matrix barcode?

A data matrix barcode is a 2d or matrix barcode symbology that is made of black (bar) and white (space) modules that are usually arranged in a square pattern. Using OnBarcode Java Barcode Generator library, you can easily create, encode, customize and print Data Matrix barcode images in Java classes.

What are the different types of Data Matrix?

According to Data Matrix latest ISO standard (ISO/IEC 16022), there are two versions of Data Matrix
  • ECC 000-140
  • ECC 200
Note: ECC200 is the recommended version by ISO/IEC 16022, which is also supported by GS1 standard. OnBarcode Java Barcode Library fully supports Data Matrix ECC200, which uses the Reed-Solomon error correction.

What is the ISO standard for Data Matrix barcode?

Data Matrix ISO specification is ISO/IEC 16022, and the latest standard version is ISO/IEC 16022:2024. Java Barcode Generator library fully supports ISO compatible Data Matrix generations in Java, JSP, Servlet, Spring web applications.

How much data can a Data Matrix barcode store?

The maximum data storage of Data Matrix is depending on its encoding data formats.
  • Alphanumeric data: up to 2,335 characters
  • Byte data (8-bit): 1,555 characters
  • Numeric data: 3,116 digits
If your encoding text size is over the maximum Data Matrix capacity, the Java barcode library will through an exception or create an empty image with error message in your Java class, JSP, Servlet codes.

What is the minimum and maximum size of Data Matrix barcode?

The minimum dimension size of Data Matrix is 10 x 10 modules. And the maximum dimension size of Data Matrix is 144 x 144 modules. Each modules are squares. OnBarcode Java Barcode library supports all formats defined in Data Matrix ISO standard. You can generate and customize the Data Matrix format through DataMatrix.setFormatMode() method in Java class.

What is the difference between Data Matrix and QR Code?

Data Matrix and QR Code have lot of same features. They are both 2 dimensional (matrix) barcodes, and enable to encode ASCII text, Unicode text, binary data. Both of them are encoding GS1 business data messages. Java Barcode SDK fully supports both Data Matrix and QR Code 2d barcodes generation in Java class, JSP, Servlet web and J2EE application.

Can a phone scan a Data Matrix barcode?

Yes. You can scan and read a Data Matrix barcode using your smartphone (iPhone or Android phone) with your barcode scanner app installed.




































Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.