SGD Wireless Commands
ip.port
264
14245L-003 Rev. A EPL Programming Guide 12/16/13
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
This table identifies the commands for this format:
Note • For details on SGD command structure, see Command Structure on page 250.
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"
Va lues: 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".