Zebra CPCL Programming Manual - Ip.Remote_Port
P14-54
Mobile Printer CPCLProgramming Manual
ip.remote_port
type: getvar; setvar
This parameter defines the destination TCP port number
to connect to when used in conjuction with
“ip.remote_autoconnect” and “ip.remote” parameters.
getvar result
Returns the current TCP port number.
Example
Description
Instructs the printer to respond with
the currently stored TCP Port num-
ber.
Syntax
! U1 getvar “ip.remote_port”
Result
“10013”
setvar choices
“0” - “65535”.
Default
“10013”
Example
Description
Instructs the printer to change the
TCP port number to “6000”.
Syntax
! U1 setvar “ip.remote”
“6000”
Result
If “ip.remote _autoconnect” is “on”,
the printer will attempt to connect
to TCP port 6000 of the remote
server.
ip.smtp.enable
type: getvar; setvar
This parameter refers to the SMTP protocol.
getvar result
This will return the status of the SMTP protocol
(on or off)
Example
Description
Instructs the printer to return the
SMTP setting.
Syntax
! U1 getvar “ip.smtp.enable”
Result
“off”
setvar choices
“on”, “off”
Default
On
Example
Description
Instructs the printer to enable the
SMTP protocol.
Syntax
! U1 setvar “ip.smtp.enable” “on”
Result
This will turn on the smtp protocol
in the printer.