Mobile Printer CPCLProgramming Manual P10-7
DEFINE-FILE Example
In this example the file AUTOEXEC.BAT is created in the
printer flash file system. The file contents are:
! UTILITIES
SETFF 200 20
PRINT
Input (DF.LBL):
! DF AUTOEXEC.BAT
! UTILITIES
SETFF 200 20
PRINT
Note: Every time a file is created on the printer using the
"! DEFINE-FORMAT...", "! DF..." or the Visual Label
Utility application, for example, the file information
is written to flash memory. Unlike RAM, flash
memory does not require battery for retaining data,
and is immune to data corruption due to static
discharge. Although flash memory is superior to
RAM for safe guarding file contents, it is limited to
an average of 10,000 write cycles (i.e. file cre-
ations). For this reason, the user should exercise
the file creation commands such that the stated
limit is not exceeded.