zpl.tools
Network and wireless

^NW - Set Web Authentication Timeout Value

Sets how long the printer's web pages stay authenticated for one IP address.

^NW sets how long an IP address stays authenticated to the printer's web pages before the printer asks for the printer password again. The default is five minutes. The value 0 means the opposite of "no timeout": with 0, no secure page opens without the password, every time. A printer reset also ends the authentication, whatever the value.

Syntax

^NWa

Support

Recognised, deliberately skippedparsed: none · state: none · rendered: none

Accepted and skipped, because it configures the printer rather than the label. It cannot change the rendered output, and Labelary skips it too.

Guards the printer's own web interface. The renderer does not parse this command. It reports IGNORED_COMMAND at info severity, which does not reach X-Warnings. Labelary is also silent, so the rendered label is identical in both engines. — not pinned by a test

Labelary renders this command.

Parameters

aTimeout valueoptional · integer

Minutes an authenticated IP address can reach the secure pages before the printer asks for the password again. Zero means every secure page needs the password each time.

Default
5
Accepted range
0 to 255 minutes
Invalid value
not documented, and we have not measured it. The renderer does not parse or measure this command.
Test coverage
No test at the minimum, maximum or one step outside the range.

Behavior

The timeout is in minutes, from 0 to 255. It governs the printer's own web interface and has no bearing on a print job.

The renderer ignores this command and reads no arguments. It reports IGNORED_COMMAND at info severity, which does not reach the X-Warnings header. Labelary is also silent, so the rendered label is identical in both engines.

Example

A ten-minute web authentication timeout. The label is unaffected:

^XA
^NW10
^FO40,60^A0N,50,50^FDWeb timeout 10^FS
^XZ

Open in viewer

  • ^NN Set SNMPSets the printer's SNMP identity and community names.
  • ^WP Set Wireless PasswordChanges the four-digit password that protects the wireless settings on the control panel.
  • ^NT Set SMTPPoints the printer at an SMTP server so it can e-mail alerts.