Chapter 8
File Handling
1. Reading the Printer Memory
68
There are a number of commands for reading the printer's
memory and returning the information to the host. This requires
a working two-way serial communication (see SETSTDIO in
Chapter 6.1):
? FRE (1)
? FRE (2)
Returns the number of free bytes in the printer's RAM memory (1) or
the printer's Flash memory (2).
FONTS
Returns the names and size of all fonts fi les stored in the printer's
memory, followed by a list of the bitmapped fonts retained for
compatibility with other EasyCoder printers (see Chapter 4.3). It also
returns information on the total memory used.
IMAGES
Returns the names of all image fi les (in .PCX format) stored in the
printer's memory. It also returns information on the total memory
used.
FILES ["<RAM:>|<ROM:>|<CARD1:>|<CARD2:>"]
Returns the names and size of all fi les in the printer's RAM memory
(default) or optionally in the ROM memory ("ROM:") or in an
inserted DOS-formatted memory card ("CARD1:|CARD2:"). It will
also return the the total number of used bytes in the RAM memory.
EasyCoder E4 Direct Protocol v2.10 – Programmer's Reference Manual