ZPL command guide

ZPL ^FO Field Origin Command

^FO sets the x/y origin for the next field. It is one of the first commands to inspect when a Zebra label prints in the wrong place.

^FOCoordinatesLayout
Preview ^FO examples

What ^FO does

^FOx,y tells the printer where the next field begins. The values are dots, so the same physical position uses different numbers on 203 DPI and 300 DPI printers.

^XA
^PW812
^LL406
^FO50,50^A0N,40,40^FDTop left text^FS
^FO50,130^BY2
^BCN,100,Y,N,N
^FDABC123456789^FS
^XZ

Common mistakes

Most ^FO problems are boundary problems, not syntax problems. Check ^PW, ^LL, printer DPI, and the size of the field that starts at that origin.

  • x is greater than the configured ^PW
  • y is close to or below ^LL
  • barcode height extends beyond the label
  • a 203 DPI coordinate set is reused on a 300 DPI printer
ZPL ^FO Command Guide - Field Origin Coordinates Explained