60 × 40 mm label
The 60 × 40 mm label (2.36 × 1.57 inches) is one of the most common formats in thermal printing. Here are its exact dimensions in dots for each DPI plus a ready-to-use ZPL example.
Dimensions in pixels (dots) per DPI
| DPI | Width (px) | Height (px) |
|---|---|---|
| 203 DPI | 480 px | 320 px |
| 300 DPI | 709 px | 472 px |
| 600 DPI | 1417 px | 945 px |
Dots are the pixels the printer uses. They are calculated by multiplying inches by the DPI.
How to define this label in ZPL
Use ^PW for the print width and ^LL for the label length, both in dots. Match the DPI to your printer so the scale is exact.
^XA
^PW480
^LL320
^FO50,50^A0N,40,40^FDEditorZPL 60 × 40 mm^FS
^XZFrequently asked questions
How many pixels does a 60 × 40 mm label have?
It depends on the DPI: the higher the DPI, the more dots. See the table above for 203, 300 and 600 DPI.
What is 60 × 40 mm in inches?
The 60 × 40 mm label equals 2.36 × 1.57 inches (1 inch = 25.4 mm).
