
EasyCoder E4 Direct Protocol v2.10 – Programmer’s Reference Manual
15
Chapter 3
Principles of Operation
13. File Storage Devices and File Names
Files can be stored in the EasyCoder E4 on one of fi ve devices:
•
"ROM:"
Contains the built-in fi les necessary for using the printer. This
is a read-only device that resides in the fl ash memory.
•
"RAM:"
Contains fi les created by the user. This is a read/write device
that resides in the fl ash memory.
•
"CACHE:"
Can only contain images. This device is volatile, that is, its
contents will be lost at power off or reboot.
•
"CARD1:"
A PCMCIA card in the slot nearest the ON/OFF switch,
which can be a DOS-formatted card or a specially formatted
font cartridge.
•
"CARD2:"
A PCMCIA card in the slot farthest from the ON/OFF
switch, which can be a DOS-formatted card or a specially
formatted font cartridge.
The fi les in each device can be listed using the FILES command,
for example
FILES "RAM:"
.
In general, "ROM:" and font cartridges in "CARD1:" or
"CARD2:" are read-only devices; you cannot create, copy, or
delete fi les on these devices. For example. the following com-
mands
would cause errors
:
FILE&LOAD "ROM:NEWFILE",123
COPY "RAM:OLDFILE","CARD1:NEWFILE"
(if CARD1: contains a font cartridge)
KILL "CARD2:OLDFILE"
(if CARD2: contains a font cartridge)
In contrast, "RAM:", "CACHE:", and DOS-formatted cards in
"CARD1:" or "CARD2:" are read/write devices which support
all fi le operations.