Specifications

Mobile Printing Systems
CPCL Programming Manual
Section 14
Configuration/
Control
Commands
pg. 14-147
continued
wlan.operating_mode
type: getvar; setvar
This parameter 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 stand alone network.
To use “ad hoc” mode configure the printer as follows:
• Set the eSSID to the new networks eSSID.
• Turn off the DHCP and assign an IP Address to the printer.
• Set the Subnet mask on the printer to the new networks Subnet mask.
Change the operating mode on the printer to “ad hoc”.
The “ad hoc” setvar option is not supported on units with a Frequency Hopping Spread Spectrum (FHSS) radio.
getvar result Returns the current operating mode.
Example
Description Instructs the printer to respond with the value of the
network-mode
Syntax ! U1 getvar “wlan.operating_mode
Result “infrastructure”
setvar choices
“ad hoc, “infrastructure”
Default infrastructure
Example
Description This command instructs the printer to change the
network-mode to infrastructure
Syntax ! U1 setvar “wlan.operating_mode” “infrastructure
Result This will set the printer’s operating mode to
infrastructure