Sets the direction of a text field — horizontal, vertical or right-to-left — and an extra gap between characters; mostly used for Asian fonts.
^FPd,gH prints left to right, V top to bottom with the characters stacked, R right to left. In vertical and reverse directions the characters are placed as combining semantic clusters.
^FP interacts with the justification of ^FO and ^FT and with the rotation of ^A; the guide's Field Interactions chapter shows the combinations.
Labelixa's preview draws this command.
^XA
^FO100,50^A0N,40,40^FPV,10^FDVERTICAL^FS
^XZStacks the letters of VERTICAL top to bottom with 10 extra dots between them.
| Parameter | Description | Values | Default |
|---|---|---|---|
d | direction: H horizontal, V vertical, R reverse (right to left) | H · V · R | H |
g | additional gap between characters in dots | 0–9999 | 0 |
Zebra ZPL II Programming Guide (P1134473-11EN Rev A), page 202. Zebra guide page →