User`s guide

Zebra Mobile Printers • Wireless Configuration Guide • rev. H 24
Using CPCL to Configure a Network Printer
continued
Encore and Cameo series Zebra Mobile Printers with MOM
radios are programmed by commands in the CPCL language.
Label Vista acts as an interface between the user and the
actual CPCL command structure, but it creates files using a
sub-set of this language.. Users desiring more precise control
of the printer’s network configuration can use CPCL commands
directly to set and read may network settings.
Cameo and Encore Network Printers
Cameo and Encore network printers utilize the LAN command
to configure a printer for a wireless network. This command is
structured as below:
NOTE: More detailed information on the CPCL language
and the LAN command may be found in the Mobile Printer
Programming Manual available on-line at Zebra’s Web site:
http://www.zebra.com
LAN COMMAND
Syntax:
! U1 LAN {Operation} {Options}…{Operation} {Options}
The LAN command can be used to interrogate and configure
the Wireless LAN (WLAN) card in a Zebra Cameo3 or Encore 3
Network Printer. The entire LAN command must be terminated
by a CRLF pair (0x0D0x0A).
{Operation} is a required element. { Options } is a variable
element associated with the preceding Operation. Options
can either set or retrieve information.
An error will be returned if an invalid operation is specified
(see ‘LAN Command Response’ for error codes). Any desired
number of Operations can be entered after the initial !U1 LAN
command.
The possible Operations are:
IPADDR This operation allows manual specication of the
printer’s TCP/IP address. (See the DHCP operation below) for
a description of automatic address assignment.) The option
accompanying this operation must be a valid TCP/IP address in
the typical notation of a set of four decimal numbers between
0 and 255 separated by dots. (E.g., 100.150.200.150 is a valid
address.) This value will most likely need to be assigned by
the administrator of the network the printer will operate on.
If an invalid address is specified, this operation has no effect
other than to print an error message.
GATEWAY-IPADDR- This operation can be used to set the
gateway IP address of the printer. The option accompanying
this operation must be a valid TCP/IP address in the typical
notation of a set of four decimal numbers between 0 and 255
separated by dots.
REMOTE-IPADDR- This operation can be used to set the remote
IP address of the printer. (Available in printer application ver-
sions 30A and higher.)
The option accompanying this operation must be a valid TCP/IP
address in the typical notation of a set of four decimal numbers
between 0 and 255 separated by dots.
SUBMASK- This operation can be used to set the subset mask
of the printer. (Available in printer application versions 30A
and higher.)
The option accompanying this operation must be a valid TCP/IP
address in the typical notation of a set of four decimal numbers
between 0 and 255 separated by dots.
SSID- This operation allows the assignment of an RF SSID
(Radio Frequency System Set ID). This ID allows several RF
networks to operate independently in the same area without
interference. The printer must have the same SSID as the RF
Access Point to which it is supposed to link. The option for this