Label Setup

^PWPrint Width

Sets the print width of the label in dots.

Category
Label Setup
Syntax
^PWa

What ^PW does

^PW defines how wide, in dots, the printer will image the label. Content beyond this width is clipped. Set it to match your label stock — a 4 in label at 203 dpi is 812 dots wide (^PW812).

Syntax

^PWa

Parameters

ParameterDescriptionValuesDefault
aLabel width in dots0 to printhead width

Example

^XA
^PW812
^FO0,0^GB812,3,3^FS
^XZ

Use the DPI calculator to convert inches to dots for ^PW.

Paste this into the free ZPL viewer to see it render, or convert it to PDF.

Notes & tips

  • Width in dots = inches × dpi (e.g. 4 × 203 = 812).
  • Content wider than ^PW is clipped.

See the full ZPL command reference for all 92 documented commands.

Work with your labels, not just read about them

Zentralabel converts, previews, validates, and enriches ZPL labels right in your browser — free tools for one-offs, batch processing for scale.