Skip to content

GS1 DataMatrix Rectangular

Terry Burton edited this page Oct 21, 2026 · 2 revisions

GS1 DataMatrix Rectangular

GS1 DataMatrix Rectangular is the rectangular variant of GS1 DataMatrix, equivalent to using format=rectangle.

Uses:

  • Marking narrow areas with GS1 data, such as the edge of a part or a narrow label, for data that fits the largest rectangular symbol of 98 digits.

Variants:

Data syntax: GS1 Application Identifiers.

Standards: ISO/IEC 16022, ANSI/AIM BC11 - ISS Data Matrix, GS1 General Specifications.

Data and Options

  • The data field input is provided in GS1 Application Identifier standard format.
  • Note that it is not necessary to specify FNC1 characters since the encoder will insert these automatically where necessary.
  • Deprecated. The dontlint option disables GS1 Application Identifier syntax validation allowing images to be generated for input that does not comply with GS1 standards.
  • The gssep option separates the AIs with GS (ASCII 29) characters in place of FNC1. The GS1 standards tolerate this but do not encourage it. It is intended only for applications that mandate it, since a reader that conforms to the standards transmits either separator as GS. See Use of Group Separator character as an AI separator.
  • The columns and rows options are used to specify the size of the symbol.
  • The version option can also be used to specify the symbol size, as version=RxC. Valid options are 8x18, 8x32, 12x26, 12x36, 16x36, 16x48.
  • If columns, rows and version are unspecified the encoder will default to creating a symbol that is the minimum size to represent the given data.
  • With strictspec, the ast option sizes the symbol to a GS1 application standard, such as:
    • ast=gs1.sst6 - healthcare primary packaging, such as a blister or vial
    • ast=gs1.sst8 - healthcare packs also scanned in general distribution
    • ast=gs1.sst10 - healthcare packs dispensed to the patient, such as an outer pack carrying the EU Falsified Medicines Directive's unique identifier
    • ast=gs1.sst7.dpm.a - direct part marking with a connected finder pattern, such as by laser or chemical etching
    • ast=gs1.sst7.dpm.b - direct part marking with separate modules, such as by dot peen
    • ast=gs1.sst12.trade, ast=gs1.sst12.group - tobacco unit packets, and aggregated packaging

Examples

GTIN 9521234543213; Expiration date; Batch; Ship to location:

Data:    (01)09521234543213(17)120508(10)ABCD1234(410)9501101020917
Options:
Encoder: gs1datamatrixrectangular


Symbologies Reference

Point of Sale

GS1 DataBar

Supply Chain

Two-dimensional Symbols

One-dimensional Symbols

Postal Symbols

Pharmaceutical Symbols

Less-used Symbols

GS1 Composite Symbols

Raw Symbols

Partial Symbols

Clone this wiki locally