To generate a GS1-128 barcode in ZPL that includes a check digit, follow these steps:
^BY3,3,100
^FD(01)04200000000888(21)ABCDEFGHIJ(10)123456^FS
In this example, the data consists of three GS1 Application Identifiers: (01) for the Global Trade Item Number (GTIN), (21) for the Serial Shipping Container Code (SSCC), and (10) for the Lot Number. The data itself is just a sample set of values.
^FH Y
This will automatically calculate and add the check digit to the barcode when it is printed.
^BXN,10,200 ^FD(01)04200000000888(21)ABCDEFGHIJ(10)123456^FS
This will generate a GS1-128 barcode with the included check digit.
Asked: 2023-04-30 05:34:37 +0000
Seen: 7 times
Last updated: Apr 30 '23