SGD Wireless Commands

ip.dhcp.enable

261

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 on page 315.

Type getvar; setvar

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 on page 250.

This table identifies the commands for this format:

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"

 

Values:

 

"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".

12/16/13

EPL Programming Guide

14245L-003 Rev. A

Page 261
Image 261
Zebra Technologies 14245L-003 manual Ip.dhcp.enable, 261, U1 setvar ip.dhcp.enable on