^BY — Barcode Defaults
Plain English
Sets the default size for all barcodes that follow. The "module width" controls how thick the thinnest bar is — bigger = easier to scan but takes more space. Set this once and it applies to all subsequent barcodes.
When to use
Before your first barcode command. Usually only needed once per label.
Syntax
^BYw,r,h
Parameters
| Parameter | Description |
|---|---|
w | Module width: 1-10 dots (default 2). Thinnest bar width. |
r | Wide-to-narrow ratio: 2.0-3.0 (default 3.0). For Code 39/ITF. |
h | Default barcode height in dots (default 10) |
Example
^XA ^FO50,50^BY3^BCN,100,Y^FD12345^FS ^XZ
^BY3 sets wider bars — easier to scan from distance