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

Programming Manual - Page 327

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-101
continued
ip.netmask
type: getvar; setvar
This parameter refers to the subnet mask address. This value is ignored if DHCP is enabled.
getvar result This will return the printer’s subnet mask.
Example
Description This command instructs the printer to respond with the subnet
mask
Syntax ! U1 getvar “ip.netmask
Result 255.255.255.0
setvar choices
Any valid netmask.
Default “255.255.255.0
Example
Description This command instructs the printer to change the subnet mask to
255.255.0.0
Syntax ! U1 setvar “ip.netmask” “255.255.0.0
Result The subnet mask will be set to 255.255.0.0 upon cycling the
power or issuing the device.reset command
ip.ping_remote
type: do
This parameter directs the printer to ping a specified address “x” number of times. The address to be
pinged is set by setvar ip.remote.
do parameters ip address; number of times to ping
Example
Description This command instructs the printer to ping the address set by the
ip.remote parameter ten times
Syntax ! U1 do “ip.ping_remote “10”
Result Printer creates a report similar to the following:
Pinging 10.14.4.162 10 times
Results: 10 of 10 succeeded
Min:20 Max:40 Avg:22 (min/max times in mSec.)
Loading ...
Loading ...
Loading ...