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

Programming Manual - Page 427

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-201
continued
ip.mirror.fetch:
Force the mirror process to be run immediately. This variable can be set via SNMP, allowing the mirror
process to triggered via SNMP.
Example of printer conguration for mirror
The following is an example of using the above mirror set/get variables to configure the printer for the
mirror process. These commands could be put in a text file and sent to the printer as in the following
example:
! U1 setvar “ip.mirror.path” “/Zebra/QL320”
! U1 setvar “ip.mirror.server “10.14.4.12”
! U1 setvar “ip.mirror.freq” “0”
! U1 setvar “ip.mirror.auto” on”
! U1 setvar “ip.mirror.username “brian”
! U1 setvar “ip.mirror.password” “password”
In the above example, the printer will only perform the mirror process once on power-up, since the “ip.
mirror.freq” variable is set to 0.
Server Settings
On the server, the mirror directory structure should look like this:
<mirror path>/appl/files/commands/
Appl/
Appl/ will contain only one file - the current printer application. The file name should be the exact printer
application name followed by .hex. If the file in the appl/ subdirectory is named differently than the current
printer version, the printer will download the new application and will automatically re-program itself with
this new firmware.
Files/
Files/ will be a flat directory (no subdirectories) that contains all the files that should be installed on the
printer. File names must be in 8.3 format. Any new files, or those with more recent time stamps, will be
automatically copied to the file system on the printer.
commands/
The commands/ directory will contain files with CPCL commands. (For example, “! U1 setvar “wlan.
essid” “myessid””.) This will allow the changing of printer settings automatically. Command file
Loading ...
Loading ...
Loading ...