^FO Field Origin

Field position and orientation ZPL caret command

Sets where the next field starts: the position of the field's upper-left corner, counted in dots from the label home position.

Format ^FOx,y,z

^FO parameters

Parameters of ^FO
ParameterMeaningAccepted valuesDefault
xx-axis location (in dots)pp. 201, 293

How far to the right of the label home position the field's upper-left corner is placed.

Placed independently of the field's rotation: the guide says the origin defines points along the x and y axes regardless of rotation. The ^LH entry says the area below and to the right of the home position is available for printing, so the x direction is to the right of the home position.

0 to 32000 dots

0
yy-axis location (in dots)pp. 201, 293

How far below the label home position the field's upper-left corner is placed.

The ^LH entry says the area below and to the right of the home position is available for printing, so the y direction is below the home position.

0 to 32000 dots

0
zjustificationp. 201

Which side of the field the origin refers to: the left edge, the right edge, or an automatic choice that depends on the script of the text.

Auto justification may give unexpected results with variable fields or bidirectional text; the guide advises left or right in those cases.

FirmwareSupported only in firmware V60.14.x, V50.14.x or later.

  • 0left justification
  • 1right justification
  • 2auto justification (depends on the script)

The last accepted ^FW value, or the ^FW default if none was sent.

^FO notes and gotchas

  • Gotcha

    There is no check that the origin lies on the label: if x or y is too large, the field can be positioned completely off the label.

    p. 201
  • Interaction

    The origin is measured from the label home, so ^LH moves every ^FO that follows it. The guide recommends sending ^LH early in the format.

    pp. 201, 293
  • Interaction

    The result also depends on the field-direction parameter of ^FP and the rotation parameter of ^A. The guide shows the combinations in its Field Interactions section, which starts on page 1606.

    pp. 201, 1606
  • Interaction

    With ^FO, a text block made with ^FB grows from top to bottom as the font gets bigger; with ^FT it grows from bottom to top, and can run past the top of the label.

    p. 187
  • Interaction

    Units follow ^MU: the guide's ^MU example places fields in dots, millimeters and inches with the same ^FO command. ^JM, which halves the print density, also changes where ^FO places a field.

    pp. 269, 312
  • Firmware

    On the page, the paragraph about the ^FP and ^A interaction carries the same .14 badge as the firmware statement for z. The guide's text gives no firmware version for that paragraph itself, so the version is not stated.

    p. 201
  • Guide issue

    The guide's tutorial says coordinates are measured from the left-hand trailing edge of the label as it leaves the printer, with exceptions, while the ^LH entry says the default home position is the upper-left corner. Treat the ^LH and ^FO entries as authoritative and do not repeat the tutorial wording.

    pp. 49, 201, 293

^FO example

example.zplZPL
^XA
^FO30,25^A0N,36,36^FDPart 4471^FS
^FO30,80^GB280,3,3^FS
^XZ

Two fields. The first starts 30 dots from the left and 25 dots down and holds a line of text in the scalable font 0; the second starts 30 dots from the left and 80 dots down and draws a thin solid line under it.

Guides that use ^FO

BarcoderX is a .NET SDK for thermal labels and barcodes. See how it prints and exports labels.

Source Zebra, ZPL II, ZBI 2, Set-Get-Do, Mirror, WML Programming Guide, P1134473-11EN Rev A, 2026/07/05, pages 49, 60, 61, 187, 190, 201, 202, 204, 205, 208, 210, 269, 293, 312, 1606.

Written by BarcoderX in its own words. Checked against the guide on 2026-11-14.

ZPL and ZPL II are trademarks of Zebra Technologies Corporation. This reference is written by BarcoderX in its own words from Zebra's published programming guide. BarcoderX is an independent product and is not affiliated with, endorsed by or sponsored by Zebra Technologies.