203
SGD Printer Settings
ip.tcp.enable
12/16/13 EPL Programming Guide 14245L-003 Rev. A
ip.tcp.enable
Description This printer setting refers to the TCP socket protocol. 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 onpage 638.
Commands Details
getvar This command instructs the printer to respond with the TCP status.
Format: ! U1 getvar "ip.tcp.enable"
setvar This command instructs the printer to turn the TCP on or off.
Format: ! U1 setvar "ip.tcp.enable" "value"
Valu e s :
"off" = disables TCP protocol
"on" = enables TCP protocol
Default: "on"
Example • This setvar example shows the value set to "on".

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

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