ESC+B — Code 39 (Ratio 1:3)
Plain English
Prints a Code 39 barcode with a 1:3 wide-to-narrow ratio. Code 39 is one of the oldest barcode standards — it encodes uppercase letters, digits, and a few special characters. The 1:3 ratio produces a more compact barcode.
When to use
When your application requires Code 39 — common in military (MIL-STD), automotive (AIAG), and legacy systems.
Syntax
ESC+Babcdddddata
Parameters
| Parameter | Description |
|---|---|
a | Check digit: 0=none, 1=include |
b | Reserved (use 0) |
c | Narrow bar width in dots |
dddd | Barcode height in dots (4 digits) |
data | Uppercase letters, digits, and -.$/ +% |
Example
ESC+A ESC+H0100 ESC+V0050 ESC+B0020080HELLO123 ESC+Q1 ESC+Z
Code 39 barcode encoding "HELLO123"