60 × 40 mm label
What layout is the 60 × 40 mm format suitable for?
The shelf label combines a location, SKU and short Code 128. Its 40 mm height separates two text lines from the barcode and its readable caption.
What limitation should I consider with 60 × 40 mm?
Replacing A1042 with a long reference widens the barcode even with unchanged ^BY. Check the new right edge and preserve blank margins; shorten the identifier or choose a larger label if it does not fit.
Dimensions in pixels (dots) per DPI
| DPI | Width × height (dots) |
|---|---|
| 203 | 480 × 320 |
| 300 | 709 × 472 |
| 600 | 1417 × 945 |
Rounded values: dots = mm × DPI / 25.4. Check the actual head density in your printer specifications; some manufacturers state it in dots/mm.
Working area at 203 DPI with a 3 mm margin: 432 × 272 dots. The margin is a choice for this example, not a manufacturer specification.
Example layout by resolution
Educational example; not a certified label or a physical print test. Sample text and codes stay the same in every language for comparison.
60 × 40 mm · 203 DPI
^XA
^PW480
^LL320
^FO24,24^A0N,28,28^FDSHELF B-03^FS
^FO24,88^A0N,24,24^FDSKU A1042^FS
^FO24,152^BY2
^BCN,88,Y,N,N^FDA1042^FS
^XZ60 × 40 mm · 300 DPI
^XA
^PW709
^LL472
^FO35,35^A0N,41,41^FDSHELF B-03^FS
^FO35,130^A0N,35,35^FDSKU A1042^FS
^FO35,224^BY3
^BCN,130,Y,N,N^FDA1042^FS
^XZ60 × 40 mm · 600 DPI
^XA
^PW1417
^LL945
^FO71,71^A0N,83,83^FDSHELF B-03^FS
^FO71,260^A0N,71,71^FDSKU A1042^FS
^FO71,449^BY6
^BCN,260,Y,N,N^FDA1042^FS
^XZWhat changes between resolutions
The examples scale positions and sizes with DPI: changing only ^PW and ^LL does not scale the content. ^BY and QR magnification use integer modules, so physical size may vary slightly.
How to adapt and verify the label
Measure width across the media path and height along the roll. Print without fit-to-page; check margins, dimensions and scanning with your intended media and reader. ^LL does not replace sensor calibration.
About the author
Eduard Diaz
Eduard Diaz is an IT technician (development) at S-IE, an official Zebra partner with more than 20 years providing identification and labelling services. He builds and maintains EditorZPL to make working with ZPL and Zebra label printers easier.
s-ie.cat