^FO Field Origin
Sets the field position: x, y coordinates in dots from the top-left corner.
Fields and position · Updated 2026-10-20
Syntax
^FOx,y,z
Parameters
| Parameter | What it does | Values |
|---|---|---|
x | Horizontal position from the left edge, in dots. | 0 to 32000; default 0 |
y | Vertical position from the top edge, in dots. | 0 to 32000; default 0 |
z | Justification. | 0 = left, 1 = right, 2 = auto; default: ^FW's |
Common mistakes
- ^FO places the TOP-LEFT corner of the field. To place text by its baseline use ^FT.
- Coordinates are in dots, so the same ^FO lands in a different place on a 300 dpi printer: convert with the density.
Example
Edit the code and the label redraws. This is the same engine as the API.
Questions
What does ^FO do in ZPL?
Sets the field position: x, y coordinates in dots from the top-left corner.
What is the syntax of ^FO?
^FOx,y,z
What should I watch out for with ^FO?
^FO places the TOP-LEFT corner of the field. To place text by its baseline use ^FT.