ZPL commandsBarcodes
^BYBar code field default
✓Supported by zplkit
Sets the default module width, wide to narrow ratio and height for the bar codes that follow. Put it before a bar code command to control its size.
Format
^BYw,r,hParameters
| Parameter | Description | Default |
|---|---|---|
w | Module (narrow bar) width, in dots1 to 10 | 2 |
r | Wide to narrow bar ratio2.0 to 3.0 | 3.0 |
h | Bar code height, in dots | 10 |
Example
Edit it to see what prints
^BXData Matrix bar code
Data Matrix, a square or rectangular 2D symbol that stores a lot of data in a small area. Common for marking parts and healthcare items.
^BZPOSTNET bar code
USPS postal bar code: POSTNET by default, or PLANET or Intelligent Mail through the t parameter. It encodes ZIP Code and tracking data on mail.