BarcodeVariants
public static class BarcodeVariantsApplication / 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 Signature | Returns | Description |
|---|---|---|
static # DhlAwb(string number) | BarcodeMatrix | DHL Air Waybill: 10 digits, last digit = first nine digits mod 7, in Code 128 C. |
static # Dun14Ean14(string data) | BarcodeMatrix | DUN-14 as GS1-128 (AI 01). |
static # Dun14Itf(string data) | BarcodeMatrix | DUN-14 as ITF-14 (check computed or verified). |
static # Ean99(string data) | BarcodeMatrix | EAN-99 (in-store coupon): EAN-13 starting with 99. 12 or 13 digits. |
static # FedExGround96(string number) | BarcodeMatrix | FedEx 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) | BarcodeMatrix | HIBC LIC/PAS in Aztec Code (BWIPP hibcazteccode). |
static # HibcCodablockF(string data) | BarcodeMatrix | HIBC LIC/PAS in Codablock F (BWIPP hibccodablockf). |
static # HibcDataMatrix(string data) | BarcodeMatrix | HIBC LIC/PAS in Data Matrix (BWIPP hibcdatamatrix). |
static # HibcMessage(string data) | string | HIBC message: "+" + data + mod 43 check (BWIPP hibc* encoders). |
static # HibcMicroPdf417(string data, int columns = 2) | BarcodeMatrix | HIBC LIC/PAS in MicroPDF417 (BWIPP hibcmicropdf417, default 2 columns). |
static # HibcQr(string data) | BarcodeMatrix | HIBC LIC/PAS in QR Code (BWIPP hibcqrcode, EC level M). |
static # IfaDataMatrix(string ppn, string? batch = default, string? expiry = default, string? serial = default) | BarcodeMatrix | IFA 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) | BarcodeMatrix | ISBT 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) | BarcodeMatrix | ISBT 128 Data Matrix: compound message "=+" + data structures (ICCBBA ST-014) in Data Matrix. |
static # ItalianPost2of5(string number) | BarcodeMatrix | Italian Post 2 of 5: Interleaved 2 of 5 with appended mod 10 check digit (leading zero pad to even). |
static # Jan8(string data) | BarcodeMatrix | JAN-8: EAN-8 whose GS1 prefix is 45 or 49 (Japan). 7 or 8 digits. |
static # Mod10(string digits) | char | GS1 mod 10 (weights 3/1 from the right) check digit of a digit string. |
static # Mod37_2(string s) | char | ISO 7064 mod 37-2 check character (ICCBBA ISBT 128 keyboard check; values 0-9, A-Z, '*'). |
static # Numly(string number) | BarcodeMatrix | Numly Number: 19 digits in Code 39. |
static # Ppn(string pznOrPpn) | string | IFA PPN: "11" + PZN (8 digits) + 2 check digits (Σ ASCII·weight, weights 2,3,4,… mod 97). |
static # PpnDataMatrix(string ppn) | BarcodeMatrix | IFA PPN-only Data Matrix (format 06 with DI 9N). |
static # Semacode(string url) | BarcodeMatrix | Semacode: a URL encoded in Data Matrix. |
static # SwissPostParcel(string number) | BarcodeMatrix | Swiss Post parcel number: 18 digits in Code 128 (subset C), text grouped "98.xx.xxxxxx.xxxxxxxx". |
static # UspsImpb(string tracking, string? zip = default) | BarcodeMatrix | USPS 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) | BarcodeMatrix | USPS PIC: same structure as BarcodeVariants.UspsImpb, typically AI 91 (no routing). |
static # UspsSackLabel(string number) | BarcodeMatrix | USPS 8-digit sack label (Interleaved 2 of 5). |
static # UspsTrayLabel(string number) | BarcodeMatrix | USPS 24-digit tray label (Interleaved 2 of 5). |
static # VicsBol(string number) | BarcodeMatrix | VICS Bill of Lading number: 17 digits (GS1 company prefix + serial + mod 10 check) in Code 128 C. |
static # VicsScacPro(string scac, string pro) | BarcodeMatrix | VICS SCAC PRO: 4-letter carrier SCAC + PRO number in Code 128 (digits use subset C). |
static # VinDataMatrix(string vin) | BarcodeMatrix | VIN as Data Matrix. |
static # VinQr(string vin) | BarcodeMatrix | VIN as QR Code (EC level M). |

