zplCore.comzplCore.com

BarcodeVariants

public static class BarcodeVariants

Application / data-format variants built on the existing carrier encoders (Code 128, GS1-128, ITF, Code 39, EAN, Data Matrix, QR, Aztec, Codablock F, MicroPDF417): input validation, check digits and human readable text per the respective carrier or industry specification.

Methods

Method SignatureReturnsDescription
static # DhlAwb(string number)BarcodeMatrixDHL Air Waybill: 10 digits, last digit = first nine digits mod 7, in Code 128 C.
static # Dun14Ean14(string data)BarcodeMatrixDUN-14 as GS1-128 (AI 01).
static # Dun14Itf(string data)BarcodeMatrixDUN-14 as ITF-14 (check computed or verified).
static # Ean99(string data)BarcodeMatrixEAN-99 (in-store coupon): EAN-13 starting with 99. 12 or 13 digits.
static # FedExGround96(string number)BarcodeMatrixFedEx Ground "96" barcode: 22 digits starting with 96 as GS1-128 (AI 96). The last 15 digits are the tracking number whose last digit is a mod 10 (3/1) check.
static # HibcAztec(string data)BarcodeMatrixHIBC LIC/PAS in Aztec Code (BWIPP hibcazteccode).
static # HibcCodablockF(string data)BarcodeMatrixHIBC LIC/PAS in Codablock F (BWIPP hibccodablockf).
static # HibcDataMatrix(string data)BarcodeMatrixHIBC LIC/PAS in Data Matrix (BWIPP hibcdatamatrix).
static # HibcMessage(string data)stringHIBC message: "+" + data + mod 43 check (BWIPP hibc* encoders).
static # HibcMicroPdf417(string data, int columns = 2)BarcodeMatrixHIBC LIC/PAS in MicroPDF417 (BWIPP hibcmicropdf417, default 2 columns).
static # HibcQr(string data)BarcodeMatrixHIBC LIC/PAS in QR Code (BWIPP hibcqrcode, EC level M).
static # IfaDataMatrix(string ppn, string? batch = default, string? expiry = default, string? serial = default)BarcodeMatrixIFA securPharm / PPN Data Matrix: ISO/IEC 15434 format 06 "[)>RS06GS9N{PPN}GS1T{batch}GSD{YYMMDD}GSS{serial}RSEOT". Optional elements are left out when null. ppn may be an 8-digit PZN.
static # Isbt128(string data)BarcodeMatrixISBT 128 data structure in Code 128: data identifier "=" or "&" + second character + data. For the Donation Identification Number ("=" + 13 chars + 2 flag chars) the human readable carries the mod 37-2 check character (computed over the 13 DIN characters) after the flags; it is not encoded.
static # Isbt128DataMatrix(string data)BarcodeMatrixISBT 128 Data Matrix: compound message "=+" + data structures (ICCBBA ST-014) in Data Matrix.
static # ItalianPost2of5(string number)BarcodeMatrixItalian Post 2 of 5: Interleaved 2 of 5 with appended mod 10 check digit (leading zero pad to even).
static # Jan8(string data)BarcodeMatrixJAN-8: EAN-8 whose GS1 prefix is 45 or 49 (Japan). 7 or 8 digits.
static # Mod10(string digits)charGS1 mod 10 (weights 3/1 from the right) check digit of a digit string.
static # Mod37_2(string s)charISO 7064 mod 37-2 check character (ICCBBA ISBT 128 keyboard check; values 0-9, A-Z, '*').
static # Numly(string number)BarcodeMatrixNumly Number: 19 digits in Code 39.
static # Ppn(string pznOrPpn)stringIFA PPN: "11" + PZN (8 digits) + 2 check digits (Σ ASCII·weight, weights 2,3,4,… mod 97).
static # PpnDataMatrix(string ppn)BarcodeMatrixIFA PPN-only Data Matrix (format 06 with DI 9N).
static # Semacode(string url)BarcodeMatrixSemacode: a URL encoded in Data Matrix.
static # SwissPostParcel(string number)BarcodeMatrixSwiss Post parcel number: 18 digits in Code 128 (subset C), text grouped "98.xx.xxxxxx.xxxxxxxx".
static # UspsImpb(string tracking, string? zip = default)BarcodeMatrixUSPS Intelligent Mail package barcode (IMpb) / Package Identification Code: GS1-128 with optional routing AI (420) ZIP (5, 9 or 11 digits) followed by the tracking number whose first two digits are the application identifier 91, 92, 93, 94 or 95. The tracking number's last digit is a GS1 mod 10 check (appended when omitted, 22 or 26 digits total incl. the AI).
static # UspsPic(string tracking, string? zip = default)BarcodeMatrixUSPS PIC: same structure as BarcodeVariants.UspsImpb, typically AI 91 (no routing).
static # UspsSackLabel(string number)BarcodeMatrixUSPS 8-digit sack label (Interleaved 2 of 5).
static # UspsTrayLabel(string number)BarcodeMatrixUSPS 24-digit tray label (Interleaved 2 of 5).
static # VicsBol(string number)BarcodeMatrixVICS Bill of Lading number: 17 digits (GS1 company prefix + serial + mod 10 check) in Code 128 C.
static # VicsScacPro(string scac, string pro)BarcodeMatrixVICS SCAC PRO: 4-letter carrier SCAC + PRO number in Code 128 (digits use subset C).
static # VinDataMatrix(string vin)BarcodeMatrixVIN as Data Matrix.
static # VinQr(string vin)BarcodeMatrixVIN as QR Code (EC level M).