Skip to content

Mailmark

Terry Burton edited this page Oct 14, 2026 · 12 revisions

Mailmark

Royal Mail Mailmark is an implementation of the Data Matrix (ECC 200) barcode symbology for application within the Royal Mail postal system.

Uses:

  • UK mail sorted and tracked by Royal Mail.

Variants:

Standards: Royal Mail Mailmark Barcode Definition Document.

Data and Options

  • The data field input consists of 45 characters of Mailmark structured data (including required space padding) followed by variable-length, free-formatted customer data.
  • Note: Due to the fixed-length field format of the message data it is important to carefully preserve spaces in the data field.
  • When the parse option is specified, any instances of ^NNN in the data field are replaced with their equivalent ASCII value, useful for specifying unprintable characters.
  • The mandatory type option is used to specify the size of the symbol, either 7 (24x24), 9 (32x32) or 29 (16x48).

Examples

A type 29 (16x48) symbol:

Data:    JGB 012100123412345678AB19XY1A 0             www.xyz.com
Options: type=29
Encoder: mailmark


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