P12-2 Mobile Printer CPCLProgramming Manual
{Operation}
is a required element. An error will be re-
turned if an invalid operation is specified (see ‘LAN Com-
mand Response’ for error codes). Any desired number of
Operations can be entered after the LAN command.
The possible Operations are:
IPADDR – This operation allows manual specification
of the printer’s TCP/IP address. (See the DHCP op-
eration for a description of automatic address assign-
ment.) The option to this operation must be a valid
TCP/IP address in the typical dot notation. i.e., a set
of four decimal numbers between 0 and 255 sepa-
rated by dots. E.g., 100.150.200.150 is a valid ad-
dress. This value will most likely need to be assigned
by the administrator of the network the printer will op-
erate on. If an invalid address is specified, this opera-
tion has no effect other than to print an error mes-
sage.
Syntax: IPADDR {IP-Address}
Where {IP-Address} = nnn.nnn.nnn.nnn. Each nnn
may range from 0 to 255.
Example: ! U1 LAN IPADDR 90.80.70.60
GATEWAY-IPADDR- This command can be used to
set the gateway IP address of the printer. (Available
in printer application versions 30A and higher.)
Syntax: GATEWAY-IPADDR {IP-Address}
Where {address} is the dotted decimal representa-
tion of the address. For example, 10.14.2.25
Example: ! U1 LAN GATEWAY-IPADDR 12.15.10.3
REMOTE-IPADDR- This command can be used to set
the remote IP address of the printer. (Available in
printer application versions 30A and higher.)
Syntax: REMOTE-IPADDR {IP-Address}