Skip to command documentation
Supportedformatrasterfield scope
^FO

Field Origin

^FO configures field Origin. It applies to the current field and can change pixels in the rendered label.

Syntax
^FOx,y,z
x

X-axis location (in dots)

Sets x-axis location (in dots). It can be omitted when the documented default is suitable.

Default
0
Range
0–32000
Required
No
Documented values40032000

x variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

x = 80

Uses 80 for x-axis location (in dots) while the other command values stay at representative defaults.

ZPLcaret-fo-x-1.zpl
^XA
^PW640
^LL360
^FO80,90,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

x = 300

Uses 300 for x-axis location (in dots) while the other command values stay at representative defaults.

ZPLcaret-fo-x-2.zpl
^XA
^PW640
^LL360
^FO300,90,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

x = 500

Uses 500 for x-axis location (in dots) while the other command values stay at representative defaults.

ZPLcaret-fo-x-3.zpl
^XA
^PW640
^LL360
^FO500,90,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
y

Y-axis location (in dots)

Sets y-axis location (in dots). It can be omitted when the documented default is suitable.

Default
0
Range
0–32000
Required
No
Documented values40032000

y variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

y = 40

Uses 40 for y-axis location (in dots) while the other command values stay at representative defaults.

ZPLcaret-fo-y-1.zpl
^XA
^PW640
^LL360
^FO320,40,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

y = 120

Uses 120 for y-axis location (in dots) while the other command values stay at representative defaults.

ZPLcaret-fo-y-2.zpl
^XA
^PW640
^LL360
^FO320,120,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

y = 220

Uses 220 for y-axis location (in dots) while the other command values stay at representative defaults.

ZPLcaret-fo-y-3.zpl
^XA
^PW640
^LL360
^FO320,220,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
z

Justification

Sets justification. It can be omitted when the documented default is suitable.

Default
last accepted ^FW value or ^FW default
Required
No
Documented values012

z variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

z = 0

Uses 0 for justification while the other command values stay at representative defaults.

ZPLcaret-fo-z-1.zpl
^XA
^PW640
^LL360
^FO320,90,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

z = 1

Uses 1 for justification while the other command values stay at representative defaults.

ZPLcaret-fo-z-2.zpl
^XA
^PW640
^LL360
^FO320,90,1
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.