^FOField Origin
^FO configures field Origin. It applies to the current field and can change pixels in the rendered label.
A representative output
This compact example is selected because the visible result clearly demonstrates ^FO.
Recommended rendered sample
Uses ^FO in a compact label where its visible effect is easy to inspect.
^XA
^PW500
^LL180
^FO45,55^A0N,48,40^FDOrigin (45,55)^FS
^XZxX-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
40032000x variations
Compare values side by side; other parameters remain at representative defaults.
x = 80
Uses 80 for x-axis location (in dots) while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO80,90,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZx = 300
Uses 300 for x-axis location (in dots) while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO300,90,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZx = 500
Uses 500 for x-axis location (in dots) while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO500,90,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZyY-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
40032000y variations
Compare values side by side; other parameters remain at representative defaults.
y = 40
Uses 40 for y-axis location (in dots) while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO320,40,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZy = 120
Uses 120 for y-axis location (in dots) while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO320,120,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZy = 220
Uses 220 for y-axis location (in dots) while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO320,220,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZzJustification
Sets justification. It can be omitted when the documented default is suitable.
- Default
last accepted ^FW value or ^FW default- Required
- No
012z variations
Compare values side by side; other parameters remain at representative defaults.
z = 0
Uses 0 for justification while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO320,90,0
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZz = 1
Uses 1 for justification while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO320,90,1
^A0N,42,34^FDORIGIN^FS
^FO28,318^A0N,22,22^FDCaret FO parameter example^FS
^XZPrimary source
Official Zebra reference
Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.