Label sizes
Label 40 × 30 mm
The 40 × 30 mm label 1.57 × 1.18 inches is a common thermal format. Here you will find the dimensions in dots for every DPI and a ready-to-use ZPL example.
The 40 × 30 mm label (1.57 × 1.18 inches) is a common thermal format. Here you will find the dimensions in dots for every DPI and a ready-to-use ZPL example.
Dimensions in dots per DPI
| DPI | Width | Height |
|---|---|---|
| 203 | 320 | 240 |
| 300 | 472 | 354 |
| 600 | 945 | 709 |
Dots are the printer's pixels; they result from inches × DPI (1 inch = 25.4 mm).
Defining this label in ZPL
^PW sets the print width, ^LL the label length – both in dots. The example applies to 203 dpi; use the table values for 300/600 dpi.
^XA
^PW320
^LL240
^FO50,50^A0N,40,40^FD 40 × 30 mm^FS
^XZ
Tip
Choose 300 dpi for high print quality and fine barcodes – 203 dpi suffices for standard text.