zplCore.comzplCore.com

ZplExtract

public static class ZplExtract

Label understanding: turns ZPL into structured data per label — every text (with a role guess), every barcode with its data as encoded (GS1 element strings with titles and validity, GS1 Digital Link, MaxiCode structured carrier message, ISO/IEC 15434 carrier messages) and recognised entities: sender / recipient / return address blocks, tracking numbers (UPS 1Z, FedEx, DHL, USPS IMpb, UPU S10 …, check digits where public), SSCC, GTIN, batch, expiry, serial, weights, dates, amounts, order and reference numbers, phone numbers and e-mail addresses.
Assistive and rule-based: captions in English, German, French, Spanish, Italian, Polish, Dutch and Portuguese, layout and postal code patterns, public check digit algorithms. Deterministic, no machine learning, no network. Every entity carries a confidence, its source fields and the evidence; results are not guaranteed to be complete or correct. Text inside images is not read.

Methods

Method SignatureReturnsDescription
static # Run(string zpl, ExtractOptions? options = default)ExtractResultExtracts texts, barcodes and entities from every label the ZPL prints.
static # Run(byte[] zpl, ExtractOptions? options = default)ExtractResultExtracts from raw ZPL bytes (UTF-8 when valid, else code page 850, like the renderer).