^LH — Label Home: the reference point of the label

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^LH — Label Home: the reference point of the label

Goal

Set the label home reference point with ^LH.

Description

^LH moves the label home — the (0,0) origin that every ^FO and ^FT is measured from. The default home is the top-left corner of the label.

Example

^XA
^LH100,60
^FX Home moved 100 dots right, 60 dots down: the box below starts there, not at 0,0.
^FO0,0^GB260,70,2^FS
^FO15,15^A0N,28,28^FDHome is here^FS
^XZ

Rendered ^LH label

Result

The box starts 100 dots right and 60 dots down — at the new home — instead of the label corner.

Article author: Arthur Isaev