TransAct Technologies ITHERM 280 User Manual
Page 289

iTherm
®
280 Programmer’s Guide
ITherm® 280 File System
28-07764
Rev C
Page 287
Function
Read File command.
All
ASCII
[ESC] [RS] R L > H > Hexadecimal 1BH 1EH 52H <27> <30> <82> Description The [ESC] [RS]R command requests that data be read from the file and returned to the host. The LL specifies the number of returned bytes. The data is treated as binary data Function Generate and return a file directory report. All ASCII [ESC] [RS] I Hexadecimal 1BH 1EH 49H <27> <30> <73> Description The [ESC] [RS]I command requests that a formatted text directory be returned from the printer. Each line is null terminated. Function Erase all files in a partition All ASCII [ESC] [RS] X Hexadecimal 1BH 1EH 58H <27> <30> <88> selects the partition. 0 = System, 1 = User. Description The [ESC] [RS]X command requests that the selected partition be reformatted. Reformatting the system partition <0> is not recommended, as it will erase all Function De-fragment the file system. All ASCII [ESC] [RS] F Hexadecimal 1BH 1EH 46H <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
Decimal
with no translations. If there is not enough data in the file to make up the
requested length, only the available data is returned.
Decimal
Decimal
fonts and render the printer unusable.
Decimal
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.