292

SGD Wireless Commands

wlan.operating_mode

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".

Note • For details on SGD command structure, see Command Structure on page 250.

This table identifies the commands for this format:

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"

 

Values:

 

"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".

14245L-003 Rev. A

EPL Programming Guide

12/16/13

Page 292
Image 292
Zebra Technologies 14245L-003 manual Wlan.operatingmode, 292, U1 setvar wlan.operatingmode infrastructure