SGD Wireless Commands

ip.addr

253

ip.addr

Description This command allows you to get or set the printer’s IP address. For printer support, see SGD Command Support on page 315.

Type getvar; setvar

Important • For a set IP address to take affect, the IP protocol must be set to permanent and the print server must be reset.

Note • For details on SGD command structure, see SGD Wireless Commands on page 247.

This table identifies the commands for this format:

Commands

Details

 

 

getvar

This command instructs the printer to respond with its current IP address.

 

Format: ! U1 getvar "ip.addr"

 

 

setvar

This command instructs the printer to change its current IP address upon

 

powering the printer on.

 

Format: ! U1 setvar "ip.addr" "value"

 

Values: any valid IP address

 

Default: "0.0.0.0"

 

 

Note • The setvar value of this command can be affected by the ip.dhcp.enable command.

Example • This setvar example shows the value set to "10.14.4.235".

! U1 setvar "ip.addr" "10.14.4.235"

What the setvar value is set to is the getvar result. In this example, the getvar result is "10.14.4.235".

12/16/13

EPL Programming Guide

14245L-003 Rev. A

Page 253
Image 253
Zebra Technologies 14245L-003 manual Ip.addr, 253, U1 setvar ip.addr