← All guides

^FO · Field Origin

Positions the next element (text, barcode, box) relative to the origin.

Values

X,Y in dots. Example: ^FO50,120 (X to the right, Y down).

Example

^XA
^FO50,50^A0N,40,40^FDEditorZPL^FS
^XZ

Tip

Combine with ^FS to close the field. Use ^FT if you want baseline reference.

Frequently asked questions

What is ^FO used for in ZPL?

See the description and values above: they explain what ^FO does and how to use it inside a ZPL label.

How do I test ^FO without a printer?

Copy the example, paste it into the ZPL viewer and see the result instantly in your browser.

Related tools