Label Size Reference

40 × 30 mm Thermal Label

A common small metric product and shelf label.

At 203 DPI
320 × 240 dots
Millimetres
40.0 × 30.0 mm
ZPL
^PW320 ^LL240

The 40 × 30 mm label

A common small metric product and shelf label.

40 × 30 mm in dots, inches & millimetres

ZPL works in dots, and the number of dots depends on the printer's resolution (DPI). Here is the 40 × 30 mm label at each common density:

ResolutionWidth (dots)Height (dots)ZPL
203 DPI320240^PW320 ^LL240
300 DPI473354^PW473 ^LL354
600 DPI945709^PW945 ^LL709
Inches1.5751.181
Millimetres40.030.0

Need a different size? The ZPL DPI & size calculator converts any dimensions to dots instantly.

ZPL header for a 40 × 30 mm label

Set ^PW (print width) and ^LL (label length) so the printer uses the full label and nothing clips:

^XA
^PW320
^LL240
^FO30,30^A0N,40,40^FD40 × 30 mm label^FS
^XZ

Paste it into the ZPL viewer to preview, or convert to PDF to print on any printer.

What a 40 × 30 mm label is used for

  • Product labels
  • Shelf labels
  • Retail price tags

Browse the full label size reference.

Work with your labels, not just read about them

Zentralabel converts, previews, validates, and enriches ZPL labels right in your browser — free tools for one-offs, batch processing for scale.