Zebra CPCL Programming Manual - Commands/
Mobile Printer CPCLProgramming Manual
P14-89
File names must be in 8.3 format. Any new files, or those
with more recent time stamps, will be automatically cop-
ied 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 set-
tings automatically. Command file names must be in 8.3
format. The time stamp of any files in the commands/
subdirectory will be compared to those of commands
which were last executed on the printer. Any command
files that have never been run or have a more recent time
stamp than those on the printer will be downloaded and
executed on the printer.
It may be useful to put a label command in the most re-
cent command file. This will provide visual feedback that
the printer successfully performed the mirror process.
For example, the example opposite could be the contents
of a command file:
! U1 setvar “wlan.essid” “myessid”
! U1 setvar “wlan.encryption_mode” “128-
bit”
! U1 setvar “wlan.auth_type” “shared”
! U1 setvar “wlan.encryption_index” “1”
! U1 setvar “wlan.encryption_key1”
“12345678901234567890123456”
! U1 setvar “wlan.encryption_key2”
“23456789012345678901234567”
! U1 setvar “wlan.encryption_key3”
“34567890123456789012345678”
! U1 setvar “wlan.encryption_key4”
“45678901234567890123456789”
! U1 setvar “ip.mirror.auto” “off”
! 0 200 200 240 1
LABEL
PAGE-WIDTH 600
T 0 3 84 17 Network settings updated
FORM
continued on next page