File Handling 1. Reading The Printer Memory; Removing Images, Files And Fonts - Intermec EasyCoder 301 Programmer's Manual

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

Advertisement

File Handling
1. Reading the
Printer Memory
2. Removing
Images, Files and
Fonts
Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3
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)
Returns the number of free bytes in the printer's RAM memory.
FONTS
Returns the names and size of all fonts files stored in the printer's
memory, followed by a list of the bitmapped fonts retained for
compatibilty with other EasyCoder printers (see chapter 4.3). It also
returns information on the total memory used.
IMAGES
Returns the names of all image files (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 of all the files in the printer's RAM memory by
default, if no storage device is specified, or optionally in the ROM
memory ("ROM:") or in an inserted DOS-formatted memory card
("CARD1:|CARD2:").It will also return information on the size
of each file and the total number of used bytes in the RAM memory.
When images are loaded using IMAGE LOAD, they can either be
loaded into the printer's volatile memory or as a file into the RAM
memory. Images loaded into the volatile memory are removed us-
ing REMOVE IMAGE. Images loaded into RAM are removed using
KILL. REMOVE IMAGE cannot remove images downloaded with
an "S" flag, see IMAGE LOAD in chapter 8.5.
REMOVE IMAGE "<name>"
The name of the image must correspond exactly to the name re-
turned when using the IMAGES command and be enclosed by dou-
ble quotation marks. Wildcards can be used, e.g. REMOVE IMAGE
"*.prg", REMOVE IMAGE "test.*", or REMOVE IMAGE
"*.*"
Chapter 8
63

Advertisement

Table of Contents
loading

Table of Contents