Mobile Printing Systems
CPCL Programming Manual
Section 14
Configuration/
Control
Commands
pg. 14-124
continued
ip.port
type: getvar; setvar
This parameter refers to the port number that the TCP and UDP print service is listening on. Normal TCP
communications 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
Comments to this Manuals