Places the next field at position x,y measured from the top-left corner.
^FOx,y,z^FO sets where the next field starts: x dots from the left and y dots from the top, measured from the label home (0,0 unless ^LH moves it). Put one before every text, barcode and graphic field — the position belongs to the field it opens, and after ^FS the next field needs its own ^FO. x and y take 0–32000 dots; the optional z is the justification (0 left, 1 right, 2 auto), and the preview always left-justifies. Use ^FT instead when text must line up on its baseline, for example two font sizes on one line.
This command is supported by the preview engine.
^FO100,120^XA^PW609^LL406^FO50,50^A0N,40,40^FDSAMPLE TEXT^FS^XZ^XA
^PW609^LL406
^LH20,20
^FO0,0^GB569,366,3^FS
^FO30,30^A0N,40,40^FDSHIP TO^FS
^FO30,90^A0N,28,28^FDACME LOGISTICS^FS
^FO30,170^BY2^BCN,100,Y,N,N^FD12345678^FS
^XZ^LH20,20 moves the label home 20 dots right and down, so ^FO30,30 lands 50 dots from both edges — about 6 mm at 203 dpi, where 8 dots are 1 mm — and the frame at ^FO0,0 starts exactly at the home point. Each field (frame, two text lines, barcode) has its own ^FO and is closed by ^FS. The label is 609 × 406 dots: 3 × 2 inches at 203 dpi.
Open this label in the editor →
| Parameter | Description | Type | |
|---|---|---|---|
x | horizontal position from the left edge in dots | int | Default: 0 · Range: 0–32000 |
y | vertical position from the top edge in dots | int | Default: 0 · Range: 0–32000 |
z | justification; the preview only left-aligns (0=left, 1=right, 2=auto) | enum | Default: 0 · Options: 0, 1, 2 |
Zebra ZPL II Programming Guide (P1134473-11EN), page 201.
^FT · ^FD · ^FH · ^A · ^FB · ^FW · ^FR · ^FV · ^TB · ^PA · ^CW