^FW — Field Orientation: the default rotation

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^FW — Field Orientation: the default rotation

Goal

Rotate the field orientation with ^FW.

Description

^FW sets the default rotation (N normal, R 90° clockwise, I inverted, B bottom-up) for every field that follows — no per-field orientation needed. (It is not a width command.)

Example

^XA
^FWR
^FX Default orientation is now rotated 90 degrees.
^FO20,20^AD^FDRotated default^FS
^XZ

Rendered ^FW label

Result

One command rotates every field that follows it — the text prints vertically.

Article author: Arthur Isaev