^FP Field Parameter

Field position and orientation ZPL caret command

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.

Format ^FPd,g

^FP parameters

Parameters of ^FP
ParameterMeaningAccepted valuesDefault
ddirectionp. 202

The direction of the character sequence in the field.

  • Hhorizontal printing (left to right)
  • Vvertical printing (top to bottom)
  • Rreverse printing (right to left)
H
gadditional inter-character gap (in dots)p. 202

Extra space between characters.

0 to 9999 dots

0

Used when no value is entered.

^FP notes and gotchas

  • Interaction

    ^FP interacts with the justification parameter of ^FO and ^FT and 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, ^FPV and ^FPR, for ^FO and ^FT, left and right justified.

    pp. 202, 1606 to 1612
  • Interaction

    The ^FO entry says the origin is set independently of rotation (page 201), and the ^FT entry says its typesetting origin does not change with rotation (page 205). The ^A and ^FO entries send the reader to the Field Interactions charts for the result together with ^FP (pages 61, 201). ^FW sets the default rotation (page 208).

    pp. 61, 201, 202, 205, 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 ^FO.

    p. 202
  • Note

    Not stated by the guide: whether ^FP stays in effect after the field it precedes, or applies to every later field.

    p. 202

^FP example

example.zplZPL
^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.