Skip to main content

Barcode Catalog

A reference catalog of every barcode symbology a document can draw, so an author can pick the right one for retail, healthcare, logistics or postal work.

  • A cover band in figures. The number of symbologies, families and shortcodes, and the images to supply — none — beside a QR code specimen.
  • A linked index of seven families. 2D matrix and stacked, 1D linear, retail (GTIN), postal, specialty, GS1 and HIBC, each with what it serves and how many codes it holds; a click lands on the family's heading.
  • One card per symbology. Its name, what it is used for, a live specimen on a tinted panel, and the key and payload that drew it, set in a monospaced face.
  • From QR to Pharmacode. QR, DataMatrix, PDF417, Aztec and MaxiCode; Code 128, Code 39, EAN-13 and UPC-A; GS1-128 and DataBar with Application Identifiers; Royal Mail and USPS Intelligent Mail; HIBC and Pharmacode.
  • Specimens at their own proportions. Matrix codes keep their shape, linear codes stretch to the card, and postal codes keep the height their bar pitch fixes, with every panel of a family standing the same height.
  • Plus a colour accent per family shared by its heading, index dot and panels, and a running header and footer with live page numbers.

Features used: PDF/A-2b conformance, columns, tables, barcodes (australiapost, aztec, c25, c25iata, c25ind, c25logic, channel, codabar, codablockf, code11, code128, code16k, code39, code93, databar, databar-exp, databar-expstk, databar-ltd, databar-omnstk, datamatrix, dotcode, dpidentcode, dpleitcode, ean13, ean8, excode39, flat, gridmatrix, gs1-128, hanxin, hibc, hibc-39, hibc-aztec, hibc-codablockf, hibc-dm, hibc-micropdf, hibc-pdf417, hibc-qr, inter25, itf14, japanpost, kix, koreapost, logmars, maxicode, micropdf417, microqr, msi, pdf417, pharma2, pharmacode, planet, postnet, qrcode, rmqr, royalmail4state, telepen, telepen-num, ultracode, upca, upce, upnqr, uspsimail, vin), links, headers and footers

How it's built​

A specimen card​

Every symbology is one card in a three-column row. The card is a column whose first node is a bare { "style": "card" }: it draws nothing, and gives the column its white fill, border, rounded corners and padding. Below it come the name, what the code is used for, the specimen on its tinted panel, and the key and payload in a monospaced face (Columns).

{ "document": {
"styles": {
"card": { "backgroundColor": "#FFFFFF", "border": "0.75pt solid #E3E7EF", "borderRadius": 8,
"paddingTop": 9, "paddingBottom": 8, "paddingLeft": 10, "paddingRight": 10 },
"panel1-8": { "backgroundColor": "#E7F4F2", "textAlign": "center",
"paddingLeft": 6, "paddingRight": 6, "paddingTop": 8, "paddingBottom": 8 } },
"content": [
{ "columns": { "style": "cardRow", "widths": [1, 1, 1], "rows": [
[ { "style": "card" },
{ "p": "Code 128", "style": "cardName" },
{ "p": "Shipping and logistics labels", "style": "cardUse" },
{ "p": "[barcode, code128, DOC-2026-04521, 104|40]", "style": "panel1-8" },
{ "p": "code128", "style": "cardKey" },
{ "p": "DOC-2026-04521", "style": "cardData" } ],
[ { "style": "card" },
{ "p": "Code 39", "style": "cardName" },
{ "p": "Industrial and government IDs", "style": "cardUse" },
{ "p": "[barcode, code39, DOCPAYLOAD, 104|40]", "style": "panel1-8" },
{ "p": "code39", "style": "cardKey" },
{ "p": "DOCPAYLOAD", "style": "cardData" } ],
[ { "style": "card" },
{ "p": "Code 93", "style": "cardName" },
{ "p": "Denser successor to Code 39", "style": "cardUse" },
{ "p": "[barcode, code93, DOC-93-DEMO, 104|40]", "style": "panel1-8" },
{ "p": "code93", "style": "cardKey" },
{ "p": "DOC-93-DEMO", "style": "cardData" } ] ] } } ] } }

The specimen is the barcode shortcode, [barcode, kind, data, width|height] in points (Barcodes, Symbologies). The panel's vertical padding is chosen per specimen so that every panel of a family stands the same height: a 58 pt QR code gets 11 pt above and below, a 26 pt PDF417 gets 27 pt, and both panels come out 80 pt tall.

The family index on the first page is a table whose names are [goto, id] links; each family's heading carries that id, so a click in the PDF lands on the heading (Navigation).

{ "document": { "content": [
{ "table": { "style": "indexTable", "widths": [0.25, 3.8, 4.4, 0.4], "rows": [
[ { "p": "●", "style": "dot1" },
{ "p": "[goto, family-linear]1D Linear[/goto]", "style": "ixName" },
{ "p": "Warehouses, libraries and factories", "style": "ixWhat" },
{ "p": "18", "style": "ixCount" } ] ] } },
{ "h2": "1D Linear", "id": "family-linear", "style": "h2f1" } ] } }

Each family has its own accent, carried by three styles that share one colour: the heading's left border (h2f1), the index dot (dot1) and the panel tint (panel1-…).