Page 291 - ZPL II Programming Guide
P. 291
ZPL Commands 271
^SX
Parameters Details
b = destination for Accepted Values:
route alert A = serial port
B* = parallel port
C = e-mail address
D = TCP/IP
E = UDP/IP
F = SNMP trap
Default Value: if this parameter is missing or invalid, the
command is ignored
* Requires bidirectional communication.
c = enable condition Accepted Values:
set alert to this N = no
destination Y = yes
Default Value: Y or previously configured value
d = enable condition Accepted Values:
clear alert to this N = no
destination Y = yes
Default Value: N or previously configured value
Parameters e and f are sub-options based on destination. If the
sub-options are missing or invalid, these parameters are ignored.
e = destination Accepted Values:
setting Internet e-mail address (e.g. user@company.com)
IP address (for example, 10.1.2.123)
SNMP trap
IP or IPX addresses
f = port number Accepted Values:
TCP port # (0 to 65535)
UPD port # (0 to 65535)
Example • This is an example of the different (b) destinations that you can send for the
condition type (a):
Serial: ^SXA,A,Y,Y
Parallel: ^SXA,B,Y,Y
E-Mail: ^SXA,C,Y,Y,admin@company.com
TCP: ^SXA,D,Y,Y,123.45.67.89,1234
UDP: ^SXA,E,Y,Y,123.45.67.89,1234
SNMP Trap: ^SXA,F,Y,Y,255.255.255.255
Comments In the example above for SNMP Trap, entering 255.255.255.255 broadcasts the
notification to every SNMP manager on the network. To route the device to a single SNMP
manager, enter a specific address (123.45.67.89).
9/15/06 ZPL II Programming Guide 45541L-004 Rev. A