264

SGD Wireless Commands

ip.port

ip.port

Description This printer setting refers to the port number that the TCP print service is listening on. Normal TCP communications from the host should be directed to this port. For printer support, see SGD Command Support on page 315.

Type getvar; setvar

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 TCP/UDP port

 

number.

 

Format: ! U1 getvar "ip.port"

 

 

setvar

This command instructs the printer to set the TCP/UDP port number.

 

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

 

Values: 1 - 65535 (excluding any ports currently used by other services,

 

such as 21, 23, 80, and 515).

 

Default: "9100"

 

 

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

! U1 setvar "ip.port" "9100"

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

14245L-003 Rev. A

EPL Programming Guide

12/16/13

Page 264
Image 264
Zebra Technologies 14245L-003 manual Ip.port, 264, U1 setvar ip.port