Use case

Pallet labels: the logistic unit label and how it prints

A pallet label identifies one logistic unit so a warehouse or carrier can match the physical pallet with the electronic messages about it. This page is the overview: what the label must carry, the barcodes and why, the data and the route to the printer. The GS1 rules in full are in the GS1-128 and SSCC-18 explainer, and the ZPL for one label is in the pallet label guide.

What is built today: Status

The label at a glance

GS is the GS1 General Specifications and LLG the GS1 Logistic Label Guideline. Gray references point to their sections; see Sources.

Schematic of a pallet label in three blocks, top, middle and bottom A portrait label in three blocks. 1 The top block holds free text and graphics: a ship-to address and a logo. 2 The middle block repeats the barcoded data as text with its data title, here SSCC and the 18 digits with their application identifier, with an optional 2D symbol to the right. 3 The bottom block holds the GS1-128 barcode and its human-readable text, the lowest element on the label. The bars and the 2D symbol are decorative, not scannable. TOP SHIP TO Example Logistics Inc. 123 Example Street Panama City LOGO 1 MIDDLE SSCC (00) 376104250021234569 2D 2 BOTTOM (00) 376104250021234569 3
Schematic, not scannable. The three building blocks of a GS1 logistic label, top to bottom; only the bottom one is required. The SSCC is the explainer's example number. Data titles stay in English unless partners agree otherwise.
  1. Top blockFree text and graphics: names and addresses, a logo, handling symbols. Text at least 3 mm high. GS 6.6.4.4
  2. Middle blockEvery barcoded value repeated as text with its data title, such as SSCC. GS 6.6.4.2; LLG 6-2, 6-6, 6-7 A 2D symbol, if there is one, goes to the right.
  3. Bottom blockThe GS1-128 barcode or barcodes with their readable text. The SSCC barcode goes in the lowest part of the label. GS 6.6.4.1.1; LLG 6-13, 6-22

What the label must carry

A pallet label identifies one logistic unit: an item of any composition, put together for transport or storage, that a warehouse or carrier matches with the electronic messages about it. GS 2.2.1; LLG 1.2.1

The SSCC is the only mandatory element on a GS1 logistic label. The label has three building blocks, and only the bottom one is required. GS 6.6.3, 6.6.3.1; LLG 3-1, 2.2

A label can also be split into up to three segments filled in at different times: supplier (SSCC, batch, dates), customer (ship-to, purchase order) and carrier (postal code, routing). The segment with the SSCC is always present and lowest, and an SSCC already on a unit is never replaced or changed. GS 6.6.3.2; LLG 2.3, 6-25

A pallet of one product can add its contents with AI 02 and a count in AI 37, a batch in AI 10 and one date. LLG 4-1, 4-4, 4-13, 4-20, 6-23

Size and placement have their own rules: A6 or 4 × 6 inches for an SSCC with little else, A5 or 6 × 8 inches for more data, barcodes between 400 and 800 mm above the base, and two identical labels on adjacent sides are recommended. GS 6.6.4.5, 6.7.1.1, 6.7.2; LLG 7

The full rules, the check digit worked by hand and the common mistakes are in GS1-128 and SSCC-18: what goes on a pallet label.

Which barcodes, and why

GS1-128 is a subset of Code 128 with strict rules about what goes inside: an FNC1 straight after the start character, then data fields that each begin with an Application Identifier. AI 00 is an SSCC followed by exactly 18 digits. GS 5.4; GS 5.4.3.7, 5.4.7.4; GS 3.2 Table 3-1; LLG 6-9, 6-10

Barcodes on a pallet label, their role and the edition each needs
BarcodeRole on the labelEdition
GS1-128 carrying the SSCC-18The mandatory barcode, in the lowest part of the label. GS 6.6.4.1.1; LLG 6-13, 6-22Basic
GS1-128 with more fieldsThe contents, a count and a batch, when the pallet carries one product. LLG 4-1, 4-4, 4-13, 4-20, 6-23Basic
GS1 Data Matrix or GS1 QR CodeOptional, beside the GS1-128. It must repeat all the element strings the GS1-128 holds. GS 2.2.1Ultimate

BarcoderX is designed to meet GS1's rules for GS1-128 and SSCC-18, including check digits and quiet zones. It has the Application Identifier dictionary, per-identifier validation, check digits, and SSCC and GTIN helpers built in; you enter data in brackets or with FNC1 and the check digit is computed for you. GS1 built in Check digit calculator

The data it needs

Each value on the label is bound into a template from your own data. The sample SSCC is the one the explainer works through, so its check digit is right.

Fields a pallet label needs, a sample value and where each goes
FieldSample valueWhere it goes
SSCC376104250021234569The bottom barcode with AI 00, and the middle block as text with its data title. GS 6.6.4.1.1; LLG 6-13, 6-22; GS 6.6.4.2; LLG 6-2, 6-6, 6-7
Extension digit, company prefix, serial referenceYour GS1 member organization issues the company prefix; you choose the extension digit and the serial reference, and the check digit is computedPositions 1 to 17 of the SSCC; the last digit is the check digit. GS 3.3.1
Ship-to name and addressExample Logistics Inc., 123 Example Street, Panama CityThe top block, as text.
Order or purchase-order referencePO-48213The top block, or the customer segment.
Contents and count (one product)AI 02 and AI 37A second GS1-128 field. LLG 4-1, 4-4, 4-13, 4-20, 6-23
BatchAI 10, up to 20 charactersA GS1-128 field. GS 3.2 Table 3-1; LLG 6-10

An SSCC stays with its unit for life and must not be reused within one year of the shipment date, though regulations or industry rules may ask for longer; the company that builds the unit, or owns its brand, allocates it. GS 4.3.1.1, 4.3.1.2

The values come from objects, a DataTable, CSV, JSON or XML. Templates and data

How it reaches the printer

The printer commands are the same on both routes, and both run on infrastructure you operate.

  • Direct, from your application. The SDK packages send the printer commands from your own .NET process over TCP port 9100, serial, the Windows spooler, CUPS or USB. No API server and no agent is in the path.
  • Through your API server. Your application queues a print job through the REST API on your API server. A print agent on the printer's network collects it and writes it to the printer beside it. The agent only dials out, so the printer network needs no inbound port.

A pallet label is printed once the pallet is built, typically by a program that knows the order and allocates the SSCC. Delivery to the agent is at-least-once and the agent de-duplicates by job id, so a reconnect does not print a label twice, and a retried request with an idempotency key does not queue a second label.

Two identical labels on adjacent sides of a pallet are recommended, so plan two copies. In ZPL the quantity is set with ^PQ, covered in the label size, quantity and settings guide. GS 6.6.4.5, 6.7.1.1, 6.7.2; LLG 7

GS1 names heat-sensitive material as not acceptable and thermal paper that changes color in heat or sun as one to avoid, so check the media you load. LLG 9-8, 9-15

A job queued on your API server moves through states you can see:

  1. Queued
  2. Dispatched
  3. Received
  4. Spooled
  5. Printed
  • Failed
  • Canceled
  • Expired

Which edition covers it

EditionsBasic covers the linear (1D) and postal symbologies, including every GS1 DataBar variant; Ultimate adds the PDF417 family, other multi-row symbologies, every matrix (2D) symbology and GS1 composites, as set out on the pricing page.

For a pallet label, that means GS1-128 and SSCC-18 are in Basic, since the pricing page lists them under linear barcodes. A GS1 Data Matrix or GS1 QR Code beside the GS1-128 is a matrix (2D) symbology and needs Ultimate.

The ZPL behind it

The ZPL pallet label guide builds one pallet label with an SSCC-18 barcode and explains it line by line, including where the programming guide is unclear. These are the commands it uses.

^BC
Prints the Code 128 barcode that carries the SSCC.
^BY
Sets the module width in dots.
^FO
Places each field.
^GB
Draws the rules between blocks.
^FD
Holds the data of a field.

New to the printer language? Read the ZPL guides and command reference.

Sources The gray references point to the GS1 General Specifications (GS), Release 26.0, and the GS1 Logistic Label Guideline (LLG), Release 1.3. Every GS1 statement here is the one already published and checked on the GS1-128 and SSCC-18 explainer, with the same references. What this page says about BarcoderX comes from its published barcodes, printing, platform, pricing and FAQ pages.

Written by BarcoderX in its own words. It is not a GS1 publication, and the GS1 documents are the authority.

ZPL and ZPL II are trademarks of Zebra Technologies Corporation. BarcoderX is an independent product and is not affiliated with, endorsed by or sponsored by Zebra Technologies.