Shifts the origin of the coordinate system; every field is placed relative to this point.
Engine status: Rendered
This command produces visible output in the preview.
REFERENCE x, ySIZE 100 mm, 150 mm
GAP 3 mm, 0 mm
CLS
REFERENCE 0, 0
PRINT 1Open this example in the preview →
Output of the example above in our renderer (203 dpi). Not verified on a physical printer.
| Parameter | Meaning |
|---|---|
x, y | New origin in dots; every later field is placed relative to it |
Forgetting that REFERENCE carries over: the origin stays shifted for the following labels in the stream; send REFERENCE 0, 0 when the next label expects the plain origin.
ZPL equivalent: ^LH · EPL R · Language comparison
SIZE · GAP · CLS · TEXT · BARCODE · QRCODE · BOX · BAR · BITMAP · PRINT · DIRECTION · DENSITY · SPEED · OFFSET · SET · CODEPAGE · BLINE