zpl.tools
Bar Code Commands

^B5 - Planet Code Bar Code

Creates Planet Code barcode for postal encoding

^B5 - Planet Code Bar Code

Overview

The ^B5 command creates a Planet Code barcode, used by postal services for encoding delivery information.

Syntax

^B5o,h,f,g

Parameters

  • o = Orientation
    • N = Normal (0°)
    • R = Rotated 90° clockwise
    • I = Inverted 180°
    • B = Bottom up (270°)
  • h = Bar code height in dots
  • f = Print interpretation line (below)
    • Y = Yes
    • N = No
  • g = Print interpretation line above
    • Y = Yes
    • N = No

Description

  • Postal code encoding format
  • Used by USPS and international postal services
  • Encodes address information
  • Required for automated mail sorting

Usage Notes

  • Numeric data only
  • Postal code format
  • Used with postal regulations
  • Specific digit format required

Example

^XA ^FO50,50 ^B5N,80,Y,N ^FD12345678901234^FS ^XZ
  • ^BZ - POSTNET
  • ^BC - Code 128
  • ^BY - Change Narrow Bar Width

See Also