Copying Files; Downloading Binary Files - Intermec EasyCoder 301 Programmer's Manual

Direct protocol 2.0
Hide thumbs Also See for EasyCoder 301:
Table of Contents

Advertisement

2. Removing
Images, Files, and
Fonts, cont'd.

3. Copying Files

4. Downloading
Binary Files
1
/. Suggested serial port setup:
Baudrate: 9600
No parity
8 bits per character
1 stop bit
RTS/CTS enabled
XON/XOFF:
Data to Host disabled.
XON/XOFF:
Data from Host disabled.
Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3
Files, including font files and images files, can be removed from
the RAM memory or from an inserted DOS-formatted memory card:
KILL "<filename>|CARD1:<filename>|CARD2:<filename>"
The name of the file must correspond exactly to the name returned
when using a FILES, IMAGES or FONTS command and be en-
closed by double quotation marks. Since files will be removed from
the RAM memory by default, it is not necessary to specify "RAM:".
If the file name is preceded by "CARD1:" or "CARD2:", the file
will be removed from the inserted memory card. Wildcards can be
used, e.g. KILL "*.prg", KILL "test.*", or KILL "*.*"
KILL cannot be used to remove images from the printer's volatile
memory.
You can copy a file to the RAM memory ("RAM:") or to a DOS-
formatted memory card ("CARD1:"|"CARD2:"). You cannot
copy to or from the ROM memory ("ROM:"). You can also use the
COPY command to give the copy a new name.
COPY "[CARD1:|CARD2:]<original name>" [,"[CARD1:|CARD2:]<new name>"]
The filename can be up to 30 characters. Since files will be copied
to the RAM memory by default, it is not necessary to specify
"RAM:".
Example:
COPY "CARD1:Logo.1","LOGO.1"
Binary files, e.g. font files, can be downloaded to the printer's RAM
memory using the FILE& LOAD command. Before the transfer can
be performed, the printer must be set up for two way communica-
1
tion
. If a file is downloaded under the name "Autoexec.bat",
it will be used as a startup file.
FILE& LOAD"<file name>",<file size>
<file name>
<file size>
Upon receiving this command, the printer waits for the specified
number of bytes to be received with a 25 second timeout.
Chapter 8
the name (including the drive) you want to
assign to the file, e.g. "CARD1:MYFILE.TXT".
the size in bytes of the original file in the host.
File Handling
64

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EasyCoder 301 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents