ZPL commands

^PA · Advanced Text Properties

Enables advanced text features for TrueType/OpenType fonts: default glyph, bidirectional layout e.g. Arabic, Hebrew , character shaping and OpenType support.

Enables advanced text features for TrueType/OpenType fonts: default glyph, bidirectional layout (e.g. Arabic, Hebrew), character shaping and OpenType support.

Parameters

  • ^PAa,b,c,d - a: default glyph for missing characters: 0 = off (space, default), 1 = on (default glyph of the base font, usually a hollow box)
  • ^PAa,b,c,d - b: bidirectional text layout: 0 = off (default), 1 = on
  • ^PAa,b,c,d - c: character shaping: 0 = off (default), 1 = on
  • ^PAa,b,c,d - d: OpenType support: 0 = off (default), 1 = on

Example

^XA
^PA0,1,1,1
^CI28
^FO50,50^A0N,30,30^FDHello^FS
^XZ
ZPL preview: ^PA · Advanced Text Properties

Tip

Bidirectional layout and shaping only take effect with a suitable TrueType/OpenType font (^A@ or ^CW) and UTF-8 data (^CI28).

Notes

^PA requires firmware x.19 or later - older firmware does not support the command.