
EasyCoder E4 Direct Protocol v2.10 – Programmer’s Reference Manual
16
Chapter 3
Principles of Operation
When using a Direct Protocol command which has the name of
an existing fi le as a parameter, you can:
• specify the device name before the fi lename, for example
KILL "RAM:MYFILE.TXT"
• omit the device name, for example
KILL "MYFILE.TXT"
in which case, the printer will search each device in turn until
it fi nds a fi le with this name.
If you use a Direct Protocol command which creates a fi le, you
can either
• specify the device on which the fi le is to be stored, for example
FILE&LOAD "CARD1:MYFILE.TXT", 123
• or omit the device name, for example
FILE&LOAD "MYFILE.TXT", 123
in which case the fi le will be stored on "RAM:".
The EasyCoder E4 Direct Protocol supports wildcards, that is,
devices, fi lenames, or fi lename extensions can be substituted by
asterisks (
*
; ASCII 42 dec.).
For example, the command
KILL "RAM:*.PRG"
will erase
all fi les with the extension .PRG in the device "RAM:”.
A fi le downloaded under the name “Autoexec.bat” will automati-
cally start running when the printer is started, see Chapter 8.4
13. File Storage Devices and File Names, cont.