Skip to command documentation
Supportedformatrastersession scope
^PW

Print Width

^PW configures print Width. It applies to the printer session and subsequent formats and can change pixels in the rendered label.

Syntax
^PWa
a

Label width (in dots)

Sets label width (in dots). It can be omitted when the documented default is suitable.

Default
last permanently saved value
Required
No
Documented values8120

a variations

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

Side-by-side comparison2 variations

a = 812

Uses 812 for label width (in dots) while the other command values stay at representative defaults.

ZPLcaret-pw-a-1.zpl
^XA
^PW640
^LL360
^PW812
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDFormat command^FS
^FO28,318^A0N,22,22^FDCaret PW parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

a = 0

Uses 0 for label width (in dots) while the other command values stay at representative defaults.

ZPLcaret-pw-a-2.zpl
^XA
^PW640
^LL360
^PW0
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDFormat command^FS
^FO28,318^A0N,22,22^FDCaret PW 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