Skip to content
barcoder

Standards/dotcode

DotCode

Type2D Matrix
Completeness69%high

Overview

DotCode is a rectangular two-dimensional matrix symbology built from disconnected dots. The dots sit on a checkerboard grid set diagonally to the symbol's edges, so no two printed dots touch 415. AIM describes it as a symbology for existing high-speed industrial printing equipment, "ideally suited for high-speed industrial ink jet and laser marking" because it needs no continuous lines or touching elements 12.

Andrew Longacre Jr. invented it at Hand Held Products, which filed the patent in February 2008 46. AIM published the first specification in October 2009, and the current edition, ISS DotCode Symbology Specification revision 4.0, was ratified in July 2019 123. Its main deployment is the unit-pack identifier of the EU tobacco traceability system under Implementing Regulation (EU) 2018/574 79.

History

Invention. US patent 8,011,596, Machine readable 2D symbology printable on demand, names Andrew Longacre Jr. as inventor and Hand Held Products as assignee. It was filed on 13 Feb 2008, published as US 2009/0200386 A1 on 13 Aug 2009 and granted on 6 Sep 2011 4. Its background names the problem: "One way of printing time-dependent data at production line speeds is ink jet or laser printing", for variable data such as lot numbers or freshness dates 4. The claims describe printable elements "positioned on a grid diagonal to the longitudinal axis of the rectangular array", which "can stay nominally disconnected providing internal clocking information", in an array whose two dimensions have "an odd sum" 4. Google Patents lists the patent as active, with an adjusted expiry of 24 May 2029 4.

Longacre joined Welch Allyn as a technical contributor in 1980, was a charter member of AIM's Technical Symbology Committee from 1982 and retired from Honeywell in 2008. Stony Brook University's AIDC 100 archive credits him with "helping to design Channel Code (which begat RSS), Aztec Code, and most recently DotCode" 5. Wikipedia dates the invention to 2008 and says it was meant as a replacement for Code 128 6. Seagull Scientific says DotCode was released in 2009, and Domino Printing says it was invented that year and names Longacre as its developer 1214.

Specification editions.

Edition Date Evidence
AIM Bar code symbology specification – DotCode, order code AIMD013 published October 2009 AIM store listing, archived 2011 2
ISS DotCode revision 3.0 August 2014 cited by EU 2018/574 Article 21 7
ISS DotCode revision 4.0 board ratified 19 Jul 2019; announced 31 Jul 2019 AIM store and AIM North America press release 13

Revision 4.0 "defines a revised encoding algorithm to prevent rare but significantly flawed dot patterns" and expanded the print-quality verification parameters onto a finer scale 3. AIM recommends that regulations citing revision 3.0 or earlier be updated to the latest version 1. Zint implements the revision 4.0 draft 0.15 dated 28 May 2019 1819.

Regulation. The Commission adopted Implementing Regulation (EU) 2018/574 on 15 Dec 2017. Its Article 21 lists DotCode as one of three permitted carriers for unit-level unique identifiers 7. The traceability system had to be in place by 20 May 2019 for cigarettes and roll-your-own tobacco, and by 20 May 2024 for all other tobacco products 8.

Decoding work. A Datalogic patent application (priority 26 Oct 2017, granted in 2020) notes that DotCode symbols "do not have a standard finder pattern that indicates a starting location". It also says the usual decoders rely on Fast Fourier Transform methods that need strong hardware 17.

Technical specification

The specification is sold by AIM ($400 for revision 4.0 with encoder source code) and no free copy was found 1. The details below come from the patent, vendor references and the open-source encoders.

Parameter Value
Type matrix of disconnected dots; dots only on alternate (checkerboard) grid positions 415
Dimensions rows and columns each at least 5; height + width must be odd 61520
Orientation with an odd sum, two corners are always dot positions; the edge with two corner dots fixes the start of the bitstream 415
Finder pattern none; readers locate the dot lattice itself 617
Symbol character 9 dot positions with 5 printed (113 patterns, values 0–112) 619
Error correction Reed–Solomon over GF(113); 3 + ⌊ND/2⌋ check words for ND data words, interleaved in blocks when longer 6719
Masks 4 data masks; Zint also tries "prime" variants with the corners lit 618
Data any byte value; Latin-1 by default, other code pages by ECI 20
Encodation Code Sets A, B and C, Upper Shift, Binary Latch, macros, FNC1, FNC3 6
Structured Append up to 35 symbols 1820
Quiet zone 3X on all sides 61214

Size and capacity. No fundamental maximum is defined 121415. Seagull calls 124 × 124 dots "a practical limit", and Domino says printers are likely limited to 124 dots in either direction 1214. Wikipedia gives a recommended practical maximum of 100 × 99 dots, about 366 codewords, 730 digits or 304 bytes 6. Domino says the typical tobacco format of 7 × 124 dots holds about 40–46 characters 14. Encoders set their own caps. BWIPP limits rows and columns to 5–200 each by default 20. Zint caps the width at 200 and gives a maximum of about 1,220 characters or 2,940 digits 18. About a third of a symbol is error correction 1218.

Zint sizes a symbol from the codeword count. Each codeword takes 9 dots, and two more dots are added. A symbol of H × W positions offers H × W / 2 dot positions, and leftover positions are padded 19. The Barcoder playground's default, BARCODER DOTCODE, shows the arithmetic. Zint encodes it as 17 data codewords plus 11 check codewords (3 + 17/2), in 28 columns × 19 rows (28 + 19 = 47, odd), with mask 0. That uses 254 of the 266 dot positions (Verified: the Zint library bundled in the zint-bindings 1.2.2 Python package, debug output).

GS1 DotCode. GS1 uses the name GS1 DotCode for DotCode carrying GS1 data. A DotCode symbol whose data begins with two digits encodes GS1-formatted data 9. BWIPP's gs1dotcode encoder takes Application Identifier syntax and inserts FNC1 itself. Its example is a tobacco unit-pack string of AI (235), AI (01) and AI (8008) 21.

Not ISO. No ISO/IEC edition of DotCode was found. Zint lists AIM TSC1705001 (2019) as its DotCode reference 18. ISO/IEC 21471 is the specification for extended rectangular Data Matrix (DMRE), not for DotCode 1828.

Use cases

  • EU tobacco traceability. Article 21(1) of Regulation 2018/574 allows unit-level identifiers in "at least one" of Data Matrix, QR Code or DotCode. DotCode must meet the Reed–Solomon level NC = 3 + ND/2, and symbols conforming to the ISS DotCode specification (revision 3.0, August 2014) are presumed to comply 7. Aggregated-level identifiers (Article 21(5)) may use Data Matrix, QR Code or Code 128, but not DotCode 7. 2D carriers must grade at least 3.5 under ISO/IEC 15415 and stay readable for five years (Article 22) 7. Domino reports that DotCodes "have been used to great success for on-pack serialization in the European tobacco industry", on lines producing up to 1,000 packs per minute 14.
  • GS1 restriction. GS1 says GS1 DotCode "is only used to meet the requirements of the EU tobacco traceability regulation EU 2018/574", and that it was approved as a data carrier only for that purpose 910.
  • Other industries. Vendor pages name beverage, distribution and e-commerce markets, and Dynamsoft gives the example of bottling plants running over 1,000 bottles per minute 15. Scandit lists product and packaging marking, shipping labels and anti-counterfeiting labels on consumer goods 13. These are vendor claims. No named deployment outside tobacco was found in a primary source.
  • Marking methods. Domino applies DotCode with industrial inkjet printers and CO2 and fibre lasers 14. Dynamsoft says tobacco cartons, unlike packs, carry laser-printed Data Matrix codes that are scanned on picking lines 16.

Implementations

Encoders.

  • Zint (C) supports BARCODE_DOTCODE (symbology 115). It sizes the symbol to be roughly square unless --cols (up to 200) is set, picks the best of 8 masks unless --mask is given, and supports ECI, GS1 data and Structured Append. DotCode always renders in dotty mode 18. Its dotcode.c follows the revision 4.0 draft 0.15 of 28 May 2019, "incorporating suggestions from Terry Burton at BWIPP" 19.
  • BWIPP (PostScript) added preliminary DotCode support on 6 Jun 2017 and a gs1dotcode convenience encoder on 28 Dec 2020 23. Options are columns, rows, ratio (default 1.5), mask, parse, parsefnc, readerinit, sampos/samtotal, and the global dotcode.maxrows/dotcode.maxcols limits 20. Its October 2026 releases raised the input limit beyond 2,000 characters, enforced the 200 × 200 limit, and added FNC1 in second position, Structured Append and readerinit 23.
  • bwip-js (JavaScript), the BWIPP port that renders Barcoder's playground, lists dotcode and gs1dotcode 24. For the playground's input, bwip-js 4.11.0 (the wiki's locked version) produces the same 28 × 19 dot matrix as Zint, position for position (Verified: node bwip.raw against the Zint bitmap, diff identical; all 152 dots on the checkerboard). In BWIPP, inkspread shrinks matrix modules by a fraction of the module size, and dotty draws modules as dots 22. The playground's inkspread: "0.16" matches the BWIPP wiki's own example 20.
  • OkapiBarcode (Java) has no DotCode class 26.
  • The Symbology documentation (a Zint wrapper) still gives the older figure of about 450 characters or 900 digits 29.

Decoders. No open-source decoder was found. DotCode is missing from zxing-cpp's format list 25 (Verified: the zxing-wasm 3.1.4 format enum and the zxing-cpp 3.1.1 Python BarcodeFormat have no DotCode entry, and zxing-wasm returned nothing for the playground PNG). Commercial SDKs read it, such as Dynamsoft's (BF2_DOTCODE) 15, and so do some scanners: Zebra's RS6100 exposes DotCode as parameter 1906, disabled by default 27. Scandit says DotCodes "cannot be read using only built-in camera software" 13. In 2019 GS1 warned that even trading partners with imaging scanners "for the most part cannot decode GS1 DotCode" 11.

Comparison

EU 2018/574 carrier DotCode Data Matrix QR Code Code 128
Unit level (Art. 21(1)) yes, AIM ISS DotCode yes, ISO/IEC 16022:2006 yes, ISO/IEC 18004:2015, level H no
Aggregated level (Art. 21(5)) no yes yes yes, ISO/IEC 15417:2007

All cells: 7.

AIM's case for DotCode is printing: it needs neither continuous lines nor touching elements, so a high-speed inkjet or laser coder can lay it down at line speed 12. The cost is reading. There is no finder pattern 17, few retail scanners handle it 11, and phone cameras need a dedicated app 13. In 2019 GS1 advised members to use GS1 identifiers in GS1 DataMatrix or GS1 QR Code rather than wait for DotCode support downstream 11.

Fun facts

  • The odd sum of rows and columns is what makes orientation work: with no finder pattern, only two corners can hold dots, and the reader starts from that edge 415.
  • Scandit describes DotCode's message encoding as "inspired by Code 128" 13.

Status

Active, in a narrow niche. AIM sells revision 4.0 (2019) as the current specification 1, while EU 2018/574 still cites revision 3.0 (2014) 7. The traceability system now covers all tobacco products, since 20 May 2024 8. GS1 confines GS1 DotCode to that regulation 910. Zint and BWIPP still maintain their encoders, and BWIPP changed its DotCode encoder several times in 2026 1823. No source names a successor.

Sources

Deployments

No country reports mention this standard by name.

Regions / aggregations not mapped to a single country

  • Universal
source · content/standards/dotcode/index.md