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

Programming Manual - Page 154

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 10
Advanced
Utilities
pg. 10-5
continued
DEFINE-FILE (DF) Utility
The DF command defines a file name for a file to be loaded into the printer. If a file with the same
name already exists in the printer, it will be overwritten with the new file. The contents of the file must
contain ASCII characters. To transfer binary files to the printer, use the utility provided in the Label Vista
application.
Format:
<!> {command} {filename.ext}
{data}
{terminator}
where:
{command}: DF
{filename.ext}: Name of file to be created.
{data}: The contents of the file. The file must be ASCII and cannot contain any {terminator} keyword.
{terminator}: Choose from the following:
PRINT: If the PRINT terminator is used, it is also written to the file.
END: If the END terminator is used, it is not written to the file.
DEFINE-FILE Example
Input:
! DF AUTOEXEC.BAT
! UTILITIES
SETFF 200 20
PRINT
Note: Every time a le is created on the printer using the “! DEFINE-FORMAT...”, “! DF...” or the Label Vista application, for example, the le information
is written to ash memory. Unlike RAM, ash memory does not require battery for retaining data, and is immune to data corruption due to static
discharge. Although ash memory is superior to RAM for safe guarding le contents, it is limited to an average of 10,000 write cycles (i.e. le
creations). The user should invoke the le creation command so that the number of write cycles is not exceeded.
Loading ...
Loading ...
Loading ...