EasyManua.ls Logo

Zebra CPCL - ip.port; ip.remote

Zebra CPCL
376 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
P14-52 Mobile Printer CPCLProgramming Manual
ip.port
type: getvar; setvar
This parameter refers to the port number that the TCP
and UDP print service is listening on. Normal TCP com-
munications from the host should be directed to this port.
getvar result Returns current TCP/UDP port setting.
Example Description Instructs the printer to respond with
the TCP/UDP port number.
Syntax ! U1 getvar “ip.port”
Result “6101”
setvar choices “1” -”65535"; excluding 20, 21 (used for FTP), 23
(used for telnet), 80 (used for HTTP), and 515
(used for LPD).
Default “6101”
Example Description Instructs the printer to set
the TCP/UDP port number to 6102.
Syntax ! U1 setvar “ip.port” “6102”
Result Changes the TCP/UDP listening
port to 6102.
ip.remote
type: getvar; setvar
This parameter refers to the remote server address or
name.
getvar result Returns the current remote server address
or name.
Example Description Instructs the printer to respond with
the currently stored remote server
address or name.
Syntax ! U1 getvar “ip.remote”
Result “0.0.0.0”
setvar choices Any IP Address or name up to 39 characters long.
Default “0.0.0.0”
Example Description Instructs the printer to change the
remote IP address to 10.14.4.235.
Syntax ! U1 setvar “ip.remote”
“10.14.4.235”
Result This will change the remote server
to 10.14.4.235.

Related product manuals