ESC+D — Code 39 (Ratio 1:2)
Plain English
Prints a Code 39 barcode with a 1:2 wide-to-narrow ratio. This produces a wider, more easily scanned barcode compared to ESC+B. The wider ratio improves readability at the cost of more label space.
When to use
When you need Code 39 with better scan reliability — the wider ratio is more forgiving for worn or damaged labels.
Syntax
ESC+Dabcdddddata
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+D0020080PART-456 ESC+Q1 ESC+Z
Code 39 (1:2 ratio) barcode encoding "PART-456"