Mobile Printing Systems
CPCL Programming Manual
Section 14
Configuration/
Control
Commands
pg. 14-97
continued
ip.gateway
type: getvar; setvar
This parameter refers to the gateway address. This value is ignored if DHCP is enabled.
getvar result This will return the gateway setting in the printer.
Example
Description This command instructs the printer to respond with the
gateway address
Syntax ! U1 getvar “ip.gateway”
Result “10.19.5.1”
setvar choices
Any valid gateway address.
Default “0.0.0.0”
Example
Description This command instructs the printer to change the gateway
address to 38.10.4.1
Syntax ! U1 setvar “ip.gateway” “38.10.4.1”
Result This will set the gateway address to 38.10.4.1 upon cycling the
power or issuing the device.reset command
Comments to this Manuals