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

Programming Manual - Page 465

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 15
Printer
Configuration
& Setup
pg. 15-6
Batch Files
The printer flash file system can be used to store a start-up file titled AUTOEXEC.BAT. When the
printer is powered on, this file will be searched for and, if present, the printer will execute the commands
found in this file. The following example shows how to create an AUTOEXEC.BAT file and load it into the
printer.
AUTOEXEC.BAT Example
! DF AUTOEXEC.BAT
! UTILITIES
SETLP 5 1 40
PRINT
Line one uses the (D)efine (F)ile command to label this file as AUTOEXEC.BAT. The end of an
AUTOEXEC.BAT file is indicated by a PRINT command as shown in line four.
When this file is executed, the printer will select font number 5, size 0 as the default front for line printer
mode, and the printer will advance 40 dots for every carriage-return (0x0d) received.
Note: Every time a le is created on the printer by using the “! DEFINE-FORMAT...” or “! DF...” the le information is written to ash
memory. Unlike RAM, ash memory does not require battery power for retaining data, and is immune to data corruption due to
static discharge. Although ash memory is superior to RAM for safeguarding le contents, it is limited to an average of 10,000 write
cycles (i.e. le creations). The user should use the le creation commands only when needed to ensure this write cycle limit is not
exceeded.
continued
Index
Appendices
Loading ...
Loading ...
Loading ...