^FP Field Parameter
Sets the direction in which the characters of a text field are laid out (horizontal, vertical or right to left) and adds an optional gap between characters.
^FPd,g
^FP parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
ddirectionp. 202 |
The direction of the character sequence in the field. |
|
H
|
gadditional inter-character gap (in dots)p. 202 |
Extra space between characters. |
|
0Used when no value is entered. |
^FP notes and gotchas
-
Interaction
pp. 202, 1606 to 1612^FPinteracts with the justification parameter of^FOand^FTand with the rotation parameter of^A. The guide's Field Interactions section (pages 1606 to 1612) lays the results out in charts: four orientations (normal, rotated, bottom up, inverted), each with^FPH,^FPVand^FPR, for^FOand^FT, left and right justified. -
Interaction
The
pp. 61, 201, 202, 205, 208^FOentry says the origin is set independently of rotation (page 201), and the^FTentry says its typesetting origin does not change with rotation (page 205). The^Aand^FOentries send the reader to the Field Interactions charts for the result together with^FP(pages 61, 201).^FWsets the default rotation (page 208). -
Note
The guide says the command allows vertical and reverse formatting of the font field and that it is commonly used for Asian fonts.
p. 202 -
Note
For vertical and reverse directions, combining semantic clusters are used to place characters. The page shows a .14 badge above this paragraph and the one on interactions below it, but neither gives a firmware version in its text, so the version is not stated.
p. 202 -
Note
The guide's example sets the direction to vertical with a gap of 10 dots in one field and to reverse with a gap of 10 dots in another, each with its own
p. 202^FO. -
Note
Not stated by the guide: whether
p. 202^FPstays in effect after the field it precedes, or applies to every later field.
^FP example
^XA ^FO60,40^FPV,5^A0N,30,30^FDTALL^FS ^XZ
One text field at 60 dots from the left and 40 down. ^FPV selects vertical printing, top to bottom, with 5 extra dots between characters; the field then uses the scalable font 0 at 30 dots.
Guides that use ^FP
BarcoderX is a .NET SDK for thermal labels and barcodes. See how it prints and exports labels.
Source Zebra, ZPL II, ZBI 2, Set-Get-Do, Mirror, WML Programming Guide, P1134473-11EN Rev A, 2026/07/05, pages 60, 61, 190, 201, 202, 204 to 206, 208, 1606 to 1612.
Written by BarcoderX in its own words. Checked against the guide on 2026-11-14.
ZPL and ZPL II are trademarks of Zebra Technologies Corporation. This reference is written by BarcoderX in its own words from Zebra's published programming guide. BarcoderX is an independent product and is not affiliated with, endorsed by or sponsored by Zebra Technologies.