What ^LH does
^LH shifts the origin (0,0) of the label by an x/y offset in dots. Every ^FO position is then measured from this new home. It is commonly used to nudge an entire label into alignment without editing every field.
Syntax
^LHx,yParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
x | Horizontal home, dots | — | 0 |
y | Vertical home, dots | — | 0 |
Example
^XA
^LH0,0
^FO50,50^A0N,30,30^FDShifted origin^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Related commands
See the full ZPL command reference for all 92 documented commands.
