Thermal printing · Free offline worksheet
ZPL dot size & barcode check digits
Calculate printer dots for a 4 × 6 label or your own stock size. Convert inches or millimetres at your printer’s DPI, validate UPC-A and check Code 128 symbols.
Size the label
Use the stock’s physical dimensions and the nominal DPI on the printer’s configuration report.
ZPL settings round to whole dots. Check the printer’s maximum printable width. If its manual gives 8 dots/mm exactly, enter 203.2 dpi.
Check the barcode
The modulo-103 symbol is internal to the barcode. Use printable ASCII in B or digit pairs in C. This worksheet uses one set per symbol. A valid checksum still needs a physical scan test.
How many printer dots is a 4 × 6 label at 203 dpi?
812 dots wide by 1,218 dots long. Multiply each dimension in inches by the printer resolution. The width is 4 × 203 = 812. The length in the feed direction is 6 × 203 = 1,218.
Try another printhead
- In Size the label, leave the stock at 4 inches wide by 6 inches long. At 203 dpi the ZPL values are
^PW812and^LL1218. - Change the resolution to 300 and select Calculate dots. The same stock now takes 1,200 × 1,800 dots.
- Use the resolution on your printer’s configuration report and check its maximum printable width before printing a proof.
Sizing a 4 × 6 thermal label
32 seconds · Silent demonstration of the steps above.
Keep the worksheet
Download the ZIP, extract the HTML file and open it in your browser. The worksheet and video both work with the network disconnected.
Download offline worksheetQuestions & answers
Where are my inputs stored?
This worksheet stores nothing. Inputs stay in the current tab and are processed on your device.
Does a valid UPC check digit mean that the label will scan?
It checks the digits. Scan a physical proof from the intended printer and stock to check dimensions, contrast and blank space around the bars.