Skip to command documentation
Partialtextrastersession scope
^PA

Advanced Text Properties

^PA configures advanced Text Properties. It applies to the printer session and subsequent formats and can change pixels in the rendered label.

ZPLr compatibility note

  • The default-glyph switch is implemented. Bidirectional ordering, contextual shaping, and OpenType layout remain a deterministic subset rather than a complete Unicode/OpenType layout engine.
Syntax
^PAa,b,c,d
a

Default glyph

Sets default glyph. It can be omitted when the documented default is suitable.

Default
0
Required
No
Documented values01

a variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

a = 0

Uses 0 for default glyph while the other command values stay at representative defaults.

ZPLcaret-pa-a-1.zpl
^XA
^PW640
^LL360
^FO48,75
^PA0,0,0,0
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret PA parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

a = 1

Uses 1 for default glyph while the other command values stay at representative defaults.

ZPLcaret-pa-a-2.zpl
^XA
^PW640
^LL360
^FO48,75
^PA1,0,0,0
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret PA parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
b

Bidirectional text layout

Sets bidirectional text layout. It can be omitted when the documented default is suitable.

Default
0
Required
No
Documented values01

b variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

b = 0

Uses 0 for bidirectional text layout while the other command values stay at representative defaults.

ZPLcaret-pa-b-1.zpl
^XA
^PW640
^LL360
^FO48,75
^PA0,0,0,0
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret PA parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

b = 1

Uses 1 for bidirectional text layout while the other command values stay at representative defaults.

ZPLcaret-pa-b-2.zpl
^XA
^PW640
^LL360
^FO48,75
^PA0,1,0,0
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret PA parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
c

Character shaping

Sets character shaping. It can be omitted when the documented default is suitable.

Default
0
Required
No
Documented values01

c variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

c = 0

Uses 0 for character shaping while the other command values stay at representative defaults.

ZPLcaret-pa-c-1.zpl
^XA
^PW640
^LL360
^FO48,75
^PA0,0,0,0
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret PA parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

c = 1

Uses 1 for character shaping while the other command values stay at representative defaults.

ZPLcaret-pa-c-2.zpl
^XA
^PW640
^LL360
^FO48,75
^PA0,0,1,0
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret PA parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
d

OpenType table support

Sets openType table support. It can be omitted when the documented default is suitable.

Default
0
Required
No
Documented values01

d variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

d = 0

Uses 0 for openType table support while the other command values stay at representative defaults.

ZPLcaret-pa-d-1.zpl
^XA
^PW640
^LL360
^FO48,75
^PA0,0,0,0
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret PA parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

d = 1

Uses 1 for openType table support while the other command values stay at representative defaults.

ZPLcaret-pa-d-2.zpl
^XA
^PW640
^LL360
^FO48,75
^PA0,0,0,1
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret PA parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.