261
SGD Wireless Commands
ip.dhcp.enable
12/16/13 EPL Programming Guide 14245L-003 Rev. A
ip.dhcp.enable
Definition This printer setting turns DHCP on or off. DHCP is a method for acquiring an IP
address, netmask, and gateway automatically on printer power-up. It requires a DHCP server
on the local network. For printer support, see SGD Command Support onpage 315.
Type getvar; setvar
This table identifies the commands for this format:
Note • If you are using static IP addressing, the IP protocol must be set to permanent.
Note • For details on SGD command structure, see Command Structure onpage 250.
Commands Details
getvar This command instructs the printer to respond with the DHCP status.
Format: ! U1 getvar "ip.dhcp.enable"
setvar This command instructs the printer to turn DHCP on or off.
Format: ! U1 setvar "ip.dhcp.enable" "value"
Valu e s :
"off" = printer does not use DHCP to get the IP address
"on" = printer uses DHCP to get the IP address
Default: "on"
Example • This setvar example shows the value set to "on".

! U1 setvar "ip.dhcp.enable" "on"

When the setvar value is set to "on", the getvar result is "on".