ZPL commands

^FO · Field Origin

Sets the position X/Y in dots for the following field. Without ^FO the field is placed at 0,0.

Sets the position (X/Y in dots) for the following field. Without ^FO the field is placed at 0,0.

Parameters

  • ^FOx,y - x: X-coordinate in dots (from the left)
  • ^FOx,y - y: Y-coordinate in dots (from the top)

Example

^XA
^FO50,50^A0N,30,30^FDHello^FS
^XZ
ZPL preview: ^FO · Field Origin

Tip

Convert mm to dots: mm × dpi / 25.4 (at 203 dpi = mm × 8). The zplCloud tool does this automatically.