ZPL commands

^BU · UPC-A Bar Code

Generates a UPC-A barcode 12 digits; North American retail format .

Generates a UPC-A barcode (12 digits; North American retail format).

Parameters

  • ^BUo,h,f,g,e - o: Orientation (N/R/I/B)
  • ^BUo,h,f,g,e - h: Bar code height in dots
  • ^BUo,h,f,g,e - f: Print interpretation line (Y/N)
  • ^BUo,h,f,g,e - g: Print interpretation line above code (Y/N)
  • ^BUo,h,f,g,e - e: Print check digit in the interpretation line (Y/N, default Y)

Example

^XA
^FO50,50^BY2^BUN,80,Y,N,N^FD036000291452^FS
^XZ
ZPL preview: ^BU · UPC-A Bar Code

Tip

Provide 11 or 12 digits - the check digit is added by the printer.