ZPL commands

^BZ · POSTAL Bar Code

Generates a POSTNET postal barcode USPS; long/short bars for ZIP codes .

Generates a POSTNET postal barcode (USPS; long/short bars for ZIP codes).

Parameters

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

Example

^XA
^FO50,50^BY2^BZN,80,N,N^FD123456789^FS
^XZ
ZPL preview: ^BZ · POSTAL Bar Code

Tip

POSTNET and PLANET (^B5) share the same bar style - POSTNET for the ZIP code, PLANET for mail tracking.