Zebra Technologies 14245L-003 Pet Fence User Manual


 
SGD Wireless Commands
wlan.operating_mode
292
14245L-003 Rev. A EPL Programming Guide 12/16/13
wlan.operating_mode
Description This printer setting refers to the network operating mode. Infrastructure mode
means that the printer will try to associate with an access point. Ad hoc mode means that the
printer will try to associate with a device other than an access point and join a standalone
network. For printer support, see SGD Command Support on page 315.
Type getvar; setvar
To use "ad hoc" mode configure the printer as follows:
Set the ESSID to the new network’s ESSID.
Turn off the DHCP and assign an IP Address to the printer.
Set the subnet mask on the printer to the new network’s subnet mask.
Change the operating mode on the printer to "ad hoc".
This table identifies the commands for this format:
Note • For details on SGD command structure, see Command Structure on page 250.
Commands Details
getvar
This command instructs the printer to respond with the network-mode
value.
Format: ! U1 getvar "wlan.operating_mode"
setvar
This command instructs the printer to set the network operating mode.
Format: ! U1 setvar "wlan.operating_mode" "value"
Va lues:
"adhoc" = printer will try to associate with a network device
"infrastructure" = printer will try to associate with an access
point
Default: "infrastructure"
Example • This setvar example shows the value set to "infrastructure".
! U1 setvar "wlan.operating_mode" "infrastructure"
When the setvar value is set to "infrastructure", the getvar result is
"infrastructure".