ZPL commands
^BC · Code 128 Bar Code (Subsets A, B and C)
Generates a Code 128 barcode with subsets A digits/uppercase , B full ASCII and C digit pairs, double density .
Generates a Code 128 barcode with subsets A (digits/uppercase), B (full ASCII) and C (digit pairs, double density).
Parameters
^BCo,h,f,g,e,m- o: Orientation (N/R/I/B)^BCo,h,f,g,e,m- h: Bar code height in dots^BCo,h,f,g,e,m- f: Print interpretation line (Y/N)^BCo,h,f,g,e,m- g: Print interpretation line above code (Y/N)^BCo,h,f,g,e,m- e: UCC check digit (Y/N)^BCo,h,f,g,e,m- m: Mode: N = normal (default), U = UCC case mode, A = automatic, D = UCC/EAN (GS1-128)
Example
^XA
^FO50,50^BY2^BCN,80,Y,N,N^FDzplCloud-128^FS
^XZ
Tip
GS1-128 (EAN-128): use mode D, or in normal mode put >;>8 (subset C plus FNC1) before the data. Only mode A packs digit strings into subset C automatically - in normal mode prefix them with >;.