Positioning

^FOField Origin

Sets the top-left position of the next field in dots.

Category
Positioning
Syntax
^FOx,y,z

What ^FO does

^FO is the most-used positioning command. It sets where the next field (text, barcode, graphic) begins, measured in dots from the label home. x is horizontal, y is vertical, both increasing right and down.

Syntax

^FOx,y,z

Parameters

ParameterDescriptionValuesDefault
xHorizontal position, dots0
yVertical position, dots0
zJustification (0 left, 1 right, 2 auto)0,1,20

Example

^XA
^FO100,120^A0N,40,40^FDPositioned^FS
^XZ

At 203 dpi, ^FO406,0 is one inch (203 dots × 2) from the left.

Paste this into the free ZPL viewer to see it render, or convert it to PDF.

Notes & tips

  • Positions are in dots, not inches or mm.
  • Applies to the very next field only.

See the full ZPL command reference for all 92 documented commands.

Work with your labels, not just read about them

Zentralabel converts, previews, validates, and enriches ZPL labels right in your browser — free tools for one-offs, batch processing for scale.