ZEBRA MZ 320 3" 4mb Direct Mobile Thermal Receipt Printer With Bluetooth

Programming Manual - Page 353

For MZ 320.

PDF File Manual, 497 pages, Read Online | Download pdf file

MZ 320 photo
Loading ...
Loading ...
Loading ...
Mobile Printing Systems
CPCL Programming Manual
Section 14
Configuration/
Control
Commands
pg. 14-127
continued
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 number
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 Returns 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
Loading ...
Loading ...
Loading ...