^FO Field Origin
Sets where the next field starts: the position of the field's upper-left corner, counted in dots from the label home position.
^FOx,y,z
^FO parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
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
|
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
|
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. |
|
The last accepted |
^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
pp. 201, 293^LHmoves every^FOthat follows it. The guide recommends sending^LHearly in the format. -
Interaction
The result also depends on the field-direction parameter of
pp. 201, 1606^FPand the rotation parameter of^A. The guide shows the combinations in its Field Interactions section, which starts on page 1606. -
Interaction
With
p. 187^FO, a text block made with^FBgrows from top to bottom as the font gets bigger; with^FTit grows from bottom to top, and can run past the top of the label. -
Interaction
Units follow
pp. 269, 312^MU: the guide's^MUexample places fields in dots, millimeters and inches with the same^FOcommand.^JM, which halves the print density, also changes where^FOplaces a field. -
Firmware
On the page, the paragraph about the
p. 201^FPand^Ainteraction 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. -
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
pp. 49, 201, 293^LHentry says the default home position is the upper-left corner. Treat the^LHand^FOentries as authoritative and do not repeat the tutorial wording.
^FO example
^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.