Mobile Printer CPCLProgramming Manual P14-53
ip.remote_autoconnect
type: getvar; setvar
This parameter will determine whether the printer will at-
tempt to automatically initiate a TCP connection to a re-
mote server on power-up.  If the parameter "ip.remote"
has a valid server address and "ip.remote_autoconnect"
is set to "on", the printer will initiate a TCP connection to
the address defined by "ip.remote" using the destination
port number defined by "ip.remote_port".  If
"ip.remote_autoconnect" is "on", the printer will attempt to
maintain a constant connection to this server address.
Anytime the connection is lost, the printer will attempt to
re-establish the connection to the remote address.
getvar result The current auto-connect setting
Example Description Instructs the printer to respond with
the currently stored
“ip.rermote_autoconnect” status
Syntax ! U1 getvar
“ip.remote_autoconnect”
Result “off”
setvar choices “on”, “off”
Default  “off”
Example Description Instructs the printer to change the
Ip.remote_autoconnect status to
“on”.
Syntax ! U1 setvar
“ip.remote_autoconnect” “on”
Result On power up, the printer will initiate
a TCP socket connection to the
address defined by “ip.remote”,
connecting to the TCP port number
defined by “ip.remote_port.”  Any-
time the connection is lost, the
printer will automatically attempt to
re-establish it.
continued on next page