TransAct Epic 3000 Programmer's Manual page 230

Table of Contents

Advertisement

Extended Printer Control
T480
Note: The system partition cannot be erased using this command. The
system partition can only be erased in Maintenance mode.
Function
De-fragment the file system.
ASCII
[ESC] [RS] F
Hexadecimal 1BH 1EH 46H
Decimal
<27> <30> <70>
Description The [ESC] [RS]F command forces the file system to go through the file
system and clean up deleted file sectors. All sectors flagged for deletion are actually
erased and consolidated when this command is issued.
Note: File space is not necessarily freed up by a file delete. Sectors may
be marked for deletion but still be present but inactive in the file system.
These sectors take up flash space. Each cluster has a fixed number of
sectors, and if the number of deleted sectors in a cluster exceed a
predefined threshold, the cluster is de-fragmented automatically. This
command forces all clusters to be de-fragmented
Function
Verify files.
ASCII
[ESC] [RS] V
Hexadecimal 1BH 1EH 56H
Decimal
<27> <30> <86>
Description The [ESC] [RS]V opens and reads the VERIFY.CFG file. This file
contains a list of all files that are to be validated in the printer and the expected CRC of
the file. If all the files verify, this command will return VG followed by it's 2 byte CRC. If
any of the files do not verify, the command will return VB followed by it's 2 byte CRC.
For example the file might look like this:
Por.ini 0x06FF
Only the Por.ini file will be checked in this example.
An additional and optional feature of this command is that it can verify the CRC of the
operating firmware. By adding "Firmware" as a file name, this command will recalculate
the Firmware CRC and compare it to the master value. If the recalculation does not
match the master value, this command will return a failed response. The file would be
as follows to add the Firmware check. By using the master value, this file need not be
updated if the firmware is updated.
Por.ini 0x06FF
Firmware
By knowing the CRC of the Verify.cfg file, the host application can verify that all the other
files are correct (and optionally the firmware) without knowing anything about the other
files of firmware.
Note: The typical printer is not shipped with a Verify.cfg file.
Note: This command is not performed as a condition of normal operation.
It is up to the host application to refuse to use the printer if this command
Page 230
Rev A
T480 Programmer's Guide
100-14362
All
All

Advertisement

Table of Contents
loading

Table of Contents