How does the DataMatrix and GS1-128 encoder format ECC 200 and FNC1 data?
The DataMatrix generator passes parenthesized strings or raw payloads into local Web Workers running bwip-js, producing valid ECC 200 DataMatrix, GS1-128, GS1 DataMatrix, Aztec barcode, and PDF417 symbols inside your browser. Automatic FNC1 control insertion lets downstream scanners isolate variable-length supply-chain fields with zero server requests.
Built in alignment with the GS1 2D Barcodes and DataMatrix overview, ECC 200 uses Reed-Solomon error correction across square modules so partially scuffed carton labels still decode reliably. Unlike naive generators that print literal parentheses into Code 128 bars, enabling gs1-128 or gs1datamatrix triggers strict AI parsing (parse: true), inserting true symbology-level FNC1 function characters instead.
In Single symbol mode, toggling Show human-readable text label turns on automatically whenever GS1-128 (with AI & FNC1) is selected so shipping docks can read digits visually if laser beams fail. For classic retail EAN-13, UPC-A, or non-GS1 linear inventory tags, switch to the 1D UPC-A, EAN-13, and Code 128 barcode maker instead.
Symbologies, GS1 Application Identifiers, and check digits
Selecting the right 2D or linear format balances physical space against scanner distance across warehouse racks, PCB components, ID cards, and carton manifests. This encoder outputs five industrial symbologies covering compact 2D markings alongside linear GS1-128 logistics bars.
| Symbology | Pixel aspect | GS1 FNC1 support | Common shipping and industrial role |
|---|---|---|---|
| DataMatrix (ECC 200) | Square 1:1 |
Plain payload mode | Small-part aerospace, electronics, and medical tracking |
| GS1 DataMatrix | Square 1:1 |
Automatic via (AI) tags |
Healthcare UDI, pharmacy unit-dose, retail 2D tags |
| GS1-128 (with AI & FNC1) | Linear bars | Automatic via (AI) tags |
Pallet SSCC-18 and outer carton shipping labels |
| Aztec Code | Square 1:1 |
Plain payload mode | Rail tickets, boarding passes, dense URLs |
| PDF417 | Stacked 3:1 height |
Plain payload mode | Driver licenses, customs manifests, PDF417 barcode bills |
Validate GTIN-14 and SSCC-18 check digits
Structured logistics labels formatted under the GS1 Application Identifiers reference standard combine fixed-length keys ((01) GTIN, (00) SSCC) with variable lot ((10)), batch dates ((11), (15), (17)), and serial ((21)) attributes. Real-time GS1 validation inspects leading parenthesized prefixes before printing.
Specifically, the validator verifies 14 digits on (01) or (02) GTINs and 18 digits on (00) SSCC pallet identifiers using Modulo 10 right-to-left 3/1 weighting, while checking YYMMDD validity (6 digits) on production and expiry dates. When tying SSCC-18 carton labels back to ASN dispatch feeds, teams often inspect corresponding X12 856 ASN and EDIFACT files right before printing.
Choosing quiet zone modules and PNG scale
Even perfect modules fail warehouse verification if adjacent text crowds the symbol perimeter or raster anti-aliasing softens edge contrast. Setting Quiet zone modules between 0 and 12 (default 4 modules) wraps clean white borders around both SVG viewboxes and bitmap matrices, protecting ECC 200 DataMatrix and GS1-128 barcodes from finder-pattern interference.
Meanwhile, PNG Scale (1 to 10, default 4) scales integer module widths (3x vertical height multiplier for PDF417) through a pure TypeScript grayscale encoder (8 bits per channel, colorType=0, zlib level 6). Bypassing browser canvas anti-aliasing preserves razor-sharp black-and-white edges across 203 DPI, 300 DPI, and 600 DPI printers governed by ISO 16022 and ISO 15417 contrast tolerances.
Batch SVG, crisp PNG, and PDF label sheet printing
Switching to Batch & PDF label sheet turns newline-delimited payloads inside Batch lines (one symbol payload per line) into production print runs, supporting Copies per line (1 to 200 in the interface) and Skip start slots so half-used label sheets never go to waste.
Print Avery 5160 and 4x6 thermal labels accurately
Five pre-measured templates cover standard thermal and office die-cut sheets without manual margin math: 4 x 6 in Thermal Label, Avery 5160 / 8160 (Letter) (30 labels per sheet, 2.625 x 1 in), and Avery 5163 Shipping (Letter) (10 labels per sheet, 4 x 2 in).
European and warehouse stock presets add Avery L7160 (A4) (21 per sheet, 63.5 x 38.1 mm) plus A4 8-up Warehouse Grid (8 per sheet, 92 x 65 mm). Optional Print label caption renders sanitized text truncated at 48 characters in Helvetica, while Cut / alignment outlines draws 0.5 pt light gray borders.
If downstream ERP warehouses supply raw printer scripts rather than plain line lists, teams can preview Zebra ZPL shipping labels without physical printers alongside PDF sheet runs generated here.
Vector PDF sheets vs ZIP PNG and SVG archives
Selecting ZIP of vector SVGs exports paths aligned with the W3C Scalable Vector Graphics (SVG) 2 Specification for CAD engraving or Adobe Illustrator packaging artwork, whereas ZIP of raster PNGs packages bit-exact grayscale bitmaps for headless ERP mail-merge imports. Choosing Vector PDF label sheet invokes @cantoo/pdf-lib inside the PDF worker, coalescing consecutive horizontal dark pixels into unified vector rectangles so multi-page PDF files remain compact.
Printer scaling tip: Always select Actual size or
100%scale in your PDF print dialog and disable Fit to page, otherwise Avery 5160 and L7160 rows drift off die-cut sheet edges.
When should you verify GS1 barcodes before thermal label printing?
Round-trip verification matters whenever strings pack multiple variable-length Application Identifiers, custom FNC1 group boundaries, or dense micro-labels printed near lower module sizes. Testing digital exports catches check-digit errors and clipped quiet zones before adhesive rolls commit bad GTIN or SSCC data to outbound pallets.
Generated PDF label sheets conform to vector coordinate geometry documented in the Library of Congress PDF 1.7 format specification, ensuring identical bar spacing across macOS Preview, Windows, and Linux CUPS spools. Click Load sample payload to validate GS1 syntax on screen, confirm every Quiet zone modules margin looks balanced, and inspect human-readable captions before committing full runs.
After downloading your test SVG, PNG, or multi-label PDF sheet, run an immediate verify FNC1 GS1 parsing with a camera or image scan check directly inside your browser to confirm retail and warehouse scanners interpret every AI separator accurately before production printing.