^NT - Set SMTP
Points the printer at an SMTP server so it can e-mail alerts.
^NT gives the printer the SMTP server and domain it needs to send e-mail.
The printer's alert settings use it to report conditions such as media-out or
head-open. Both arguments are needed: the server address says where mail
goes, and the print server domain is the domain the printer presents as its
own. ^NT and ~NT are unrelated — ~NT puts an RS-485 printer into
transparent mode.
Syntax
^NTa,bSupport
Accepted and skipped, because it configures the printer rather than the label. It cannot change the rendered output, and Labelary skips it too.
Alert delivery is a printer-management feature, not label content. 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
aSMTP server addressrequired · textThe mail server, in xxx.xxx.xxx.xxx form.
- Invalid value
- not documented, and we have not measured it. The renderer does not parse or measure this command. The guide states no default.
- Test coverage
bPrint server domainrequired · textThe domain the printer presents as its own, for example zebra.com.
- Invalid value
- not documented, and we have not measured it. The renderer does not parse or measure this command. The guide states no default.
- Test coverage
Behavior
The server address is a dotted quad and the domain is a name, for example
zebra.com. The guide states no default for either.
Alerts are asynchronous printer events and not part of a format, so nothing here can appear on a label.
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
Pointing the printer at a mail server. The label is unchanged:
^XA
^NT192.168.0.10,zebra.com
^FO40,60^A0N,50,50^FDSMTP set^FS
^XZ
Related commands
^NNSet SNMPSets the printer's SNMP identity and community names.^NWSet Web Authentication Timeout ValueSets how long the printer's web pages stay authenticated for one IP address.^NSChange Wired Networking SettingsSets the wired print server's addressing, timeout and raw port.~NTSet Currently Connected Printer TransparentPuts the currently addressed RS-485 printer into transparent mode.