P14-88 Mobile Printer CPCLProgramming Manual
power-up.  This parameter only applies if
ip.mirror.auto is “on”. Caution should be used if set-
ting a low value - otherwise the printer may spend
most of its time performing the mirror process.
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 configuration 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 app.
The file name should be the exact printer app name fol-
lowed 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 auto-
matically re-program itself with this new firmware.
Files/
Files/ will be a flat directory (no subdirectories) that con-
tains all the files that should be installed on the printer.