zpl.tools
Network and wireless

~WL - Print Network Configuration Label

Prints a label listing the printer's current network configuration.

~WL prints a label that lists the printer's current network configuration — addresses, print-server state and radio settings. It is the one command in this category that renders output instead of changing a setting.

Syntax

~WL

Support

Supportedparsed: full · state: full · rendered: full

Every documented parameter renders the same output Labelary produces.

The only command here that prints a page. The renderer prints that page ahead of the format carrying the command, wherever in the format it sits, and counts it in X-Total-Count. A second ~WL prints a second page, each format carrying one prints its own, and ^PQ replicates the label alone. Labelary has no print server to describe, so the page is a fixed placeholder drawing rather than a real listing; only the label width reaches the drawing, and that sets how wide the box is ruled. A ^PW ahead of the ~WL centers the page in the print window and cuts the rest away. A ^POI ahead of it turns the page over (measured 2026-08-16). Only ~WL is a command: ^WL is LEAP. — not pinned by a test

Labelary renders this command.

Parameters

~WL takes no arguments.

Behavior

~WL takes no arguments and belongs to no format. Measured against Labelary on 2026-08-16:

  • ^XA~WL^FO100,100^A0N,60,60^FDNET^FS^XZ returns X-Total-Count: 2, and the network label comes first. A ~WL after the field keeps that order.
  • ~WL with no format at all returns one page.
  • A second ~WL prints a second page, and each format carrying one prints its own. ^PQ replicates the label alone.

Labelary has no print server to describe, so it prints a fixed placeholder: a boxed drawing headed NETWORK CONFIGURATION, saying in words that it stands in for a real listing. The renderer prints the same page. Only the label width reaches the drawing, which sets how wide the box is ruled; no address, radio or protocol command changes a character. A ^PW ahead of the ~WL centers the finished page in the print window and cuts the rest away; a ^POI ahead of it turns the page over. ^WL is the LEAP command and prints nothing.

Known issues

Tested behavior

Differences from the specification

Labelary against the ZPL II guide

Where Labelary — our compatibility target — behaves differently from the printed specification.

  • Labelary prints the network configuration label as a page of its own, ahead of the format. ^XA~WL^FO100,100^A0N,60,60^FDNET^FS^XZ returns X-Total-Count: 2, the listing first, and a ~WL after the field keeps that order (measured 2026-08-16). The guide gives no page count, and no printer stands behind the service, so the order and the placeholder page are both Labelary's reading. The renderer follows it. — not pinned by a test

zpl.tools against Labelary

Where our output differs from Labelary for the same input. These are the differences that break a migration.

  • Neither engine prints an address. Labelary answers ~WL with a placeholder drawing that names no interface, and the renderer reproduces that drawing, so ^ND, ^NS, ^WI, ^NI, ^NC, ^WS, ^WP and ^NN leave the page unchanged in both (measured 2026-08-16). A real printer would list the values those commands set. — not pinned by a test

Example

~WL asking for a network configuration label ahead of a format. The listing is the first page:

~WL
^XA
^FO40,60^A0N,50,50^FDNetwork config label^FS
^XZ

Open in viewer