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 | Barcode type selector: 1 = Code 39 (the symbology this command prints) |
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+D1020080PART-456 ESC+Q1 ESC+Z
Code 39 (1:2 ratio) barcode (type selector 1) encoding "PART-456"