ZPL commands

^BJ · Standard 2 of 5 Bar Code

Generates a Standard 2 of 5 barcode digits only; older, less common format .

Generates a Standard 2 of 5 barcode (digits only; older, less common format).

Parameters

  • ^BJo,h,f,g - o: Orientation (N/R/I/B)
  • ^BJo,h,f,g - h: Bar code height in dots
  • ^BJo,h,f,g - f: Print interpretation line (Y/N)
  • ^BJo,h,f,g - g: Print interpretation line above code (Y/N)

Example

^XA
^FO50,50^BY2^BJN,80,Y,N^FD1234567890^FS
^XZ
ZPL preview: ^BJ · Standard 2 of 5 Bar Code

Tip

Standard 2 of 5 is rarely scanned today - prefer Code 128 or Interleaved 2 of 5 where possible.