Reference
Label sizes, dots and dpi
Every number in a ZPL label is a count of printer dots, so the same design is a different set of numbers on every printer. These tables convert the common label sizes to dots at 203, 300 and 600 dpi, and explain what has to change when a label moves between machines.
The same inch, three resolutions
^PW812 ^LL1218 at 203 dpi and
^PW1200 ^LL1800 at 300 dpi.
Useful constants: 203 dpi is very close to 8 dots per millimetre, 300 dpi is 11.8, and 600 dpi is 23.6. If you think in millimetres, multiplying by 8 gets you within a dot on the most common printers.
Common label sizes in dots
Width × height, as you would write them in ^PW and ^LL.
| Label | Millimetres | 203 dpi | 300 dpi | 600 dpi |
|---|---|---|---|---|
| 1.25 × 1 in | 32 × 25 | 254 × 203 | 375 × 300 | 750 × 600 |
| 1.5 × 1 in | 38 × 25 | 304 × 203 | 450 × 300 | 900 × 600 |
| 2 × 1 in | 51 × 25 | 406 × 203 | 600 × 300 | 1200 × 600 |
| 2.25 × 1.25 in | 57 × 32 | 457 × 254 | 675 × 375 | 1350 × 750 |
| 3 × 1 in | 76 × 25 | 609 × 203 | 900 × 300 | 1800 × 600 |
| 3 × 2 in | 76 × 51 | 609 × 406 | 900 × 600 | 1800 × 1200 |
| 4 × 2 in | 102 × 51 | 812 × 406 | 1200 × 600 | 2400 × 1200 |
| 4 × 3 in | 102 × 76 | 812 × 609 | 1200 × 900 | 2400 × 1800 |
| 4 × 6 in | 102 × 152 | 812 × 1218 | 1200 × 1800 | 2400 × 3600 |
| 6 × 4 in | 152 × 102 | 1218 × 812 | 1800 × 1200 | 3600 × 2400 |
Millimetres to dots
| Measurement | 203 dpi | 300 dpi | 600 dpi |
|---|---|---|---|
| 10 mm | 80 | 118 | 236 |
| 25 mm | 200 | 295 | 591 |
| 50 mm | 400 | 591 | 1181 |
| 75 mm | 599 | 886 | 1772 |
| 100 mm | 799 | 1181 | 2362 |
| 150 mm | 1199 | 1772 | 3543 |
Moving a label between printers
Four things scale with resolution, and forgetting any one of them produces a label that looks almost right.
| What | Where | 203 → 300 | 203 → 600 |
|---|---|---|---|
| Label size | ^PW ^LL | × 1.478 | × 2.956 |
| Positions | ^FO x and y | × 1.478 | × 2.956 |
| Font height | ^A ^CF | × 1.478 | × 2.956 |
| Barcode module | ^BY | × 1.478 | × 2.956 |
In practice people round 203 → 300 to × 1.5 and
203 → 600 to × 3, which is close enough for text and shapes.
Round ^BY up rather than down: a narrow bar that comes out slightly wide
still scans, and one that comes out slightly thin often does not.
In MakeZPL you change the dpi in the label panel and the design keeps its physical proportions — the tool does the arithmetic on every coordinate, font size and module width for you, and re-validates the result.
How much fits on a label?
A rough working figure, for sizing text before you draw anything.
| Font height | Physical height | 2 in wide | 4 in wide |
|---|---|---|---|
| 20 dots | 2.5 mm | ~40 | ~81 |
| 30 dots | 3.8 mm | ~27 | ~54 |
| 40 dots | 5.0 mm | ~20 | ~40 |
| 60 dots | 7.5 mm | ~13 | ~27 |
Font 0 is a condensed face, so these counts are generous compared with a normal-width font; treat them as an upper bound and leave margin. Where the content varies per record, let MakeZPL’s shrink-to-fit mode pick the size against your real data rather than guessing from the longest value you can think of.
Sizes and dpi FAQ
Conversions, printer resolution and moving labels between machines.
How many dots is a 4 x 6 label?
812 x 1218 dots at 203 dpi, 1200 x 1800 at 300 dpi, and 2400 x 3600 at 600 dpi. Declare it with ^PW812 ^LL1218 for the 203 dpi case.
How do I convert millimetres to ZPL dots?
Divide by 25.4 to get inches, then multiply by the print resolution. At 203 dpi that works out at almost exactly 8 dots per millimetre, at 300 dpi 11.8, and at 600 dpi 23.6.
What resolution is my Zebra printer?
Most desktop and industrial Zebras are 203 dpi; 300 dpi is common for small-text and pharmacy work, and 600 dpi is reserved for very small labels and fine electronics marking. The printer's configuration label, printed from the front panel, states it.
Will my 203 dpi label print on a 300 dpi printer?
It will print, but at two thirds of the intended size, tucked into the top-left corner — every coordinate is in dots, and the dots got smaller. Multiply all coordinates, font heights and ^BY values by 1.5, or just change the dpi in MakeZPL and let it rescale the design.
Does higher dpi mean a better barcode?
It means finer control, not automatically better output. A barcode's narrow bar has a physical width that scanners expect; at 600 dpi you need a ^BY of 6 to 8 to reach the same physical width that ^BY2 or 3 gives at 203 dpi.