Plain English

Shifts the origin for ALL subsequent positioning commands (`^FO`, `^FT`) by a fixed amount, in printer **dots**. If you set `^LH30,30`, then `^FO0,0` actually prints at (30,30). Like setting page margins — instead of changing every `^FO`, you offset the whole layout in one place.

When to use

When printing on pre-printed label stock where the printable area doesn't start at the edge, or to quickly shift an entire design. Remember units are **printer dots**, so 100 dots is ~12.5 mm on a 203 dpi printer and ~8.5 mm on a 300 dpi printer.

Syntax

^LHx,y

Parameters

ParameterDescription
xHorizontal offset in dots — added to every subsequent `^FO`/`^FT` x
yVertical offset in dots — added to every subsequent `^FO`/`^FT` y

Example

^XA
^LH20,20
^FO0,0^A0N,25,25^FDThis prints at 20,20^FS
^XZ

Label home shifts all content inward by 20 dots — physical mm depends on printer DPI.

Try it in the playground View all ZPL commands