zplCloud

Label sizes

Label 40 × 30 mm

The 40 × 30 mm label (1.57 × 1.18 inches) is one of the most common formats in thermal printing. Here you will find the exact dimensions in dots for every DP…

Label 40 × 30 mm

The 40 × 30 mm label (1.57 × 1.18 inches) is one of the most common formats in thermal printing. Here you will find the exact dimensions in dots for every DPI as well as a ready-to-use ZPL example.

Dimensions in pixels (dots) per DPI

DPIWidth (px)Height (px)
---------
203 DPI320 px240 px
300 DPI472 px354 px
600 DPI945 px709 px

Dots are the pixels the printer uses. They result from inches times DPI.

How to define this label in ZPL

Use ^PW for the print width and ^LL for the label length, both in dots. Adjust the DPI to your printer so the scaling is exact.

^XA
^PW320
^LL240
^FO50,50^A0N,40,40^FD 40 × 30 mm^FS
^XZ

FAQ

How many pixels does a 40 × 30 mm label have?

That depends on the DPI: the higher the DPI, the more dots. See the table above for 203, 300 and 600 DPI.

How much is 40 × 30 mm in inches?

The 40 × 30 mm label equals 1.57 × 1.18 inches (1 inch = 25.4 mm).