zpl.tools
Label Formatting Commands

^PW - Print Width

Sets print width (effective label width)

^PW - Print Width

Overview

The ^PW command sets the effective width of the print area on the label.

Syntax

^PWa

Parameters

  • a = Print width in dots

Description

  • Defines the width of the printable area
  • Affects how content is laid out
  • Must match media width
  • Limits field positioning

Usage Notes

  • Set at format beginning
  • Common values: 400-800 dots
  • Must match physical media width
  • Affects label layout

Example

^XA
^PW815
^FO50,50
^ADN
^FDLabel Content^FS
^XZ

Width Reference

Media WidthDPIDots
4 inches203812
4 inches3001200
6 inches2031218
  • ^LL - Label Length
  • ^LH - Label Home
  • ^PQ - Print Quantity

See Also