
EasyCoder E4 Direct Protocol v2.10 – Programmer’s Reference Manual
66
Chapter 7
Reading the Printer’s Status
6. Sensors
7. Printer’s Status
8. Firmware and Hardware Versions
The printer has a number of sensors and setup parameters that
can be read and their status or value returned to the host:
? SYSVAR
(<parameter>)
<parameter> = 8
returns LSS theshold value (see 6.18)
<parameter> = 18
returns selected verbosity level (see 6.13)
<parameter> = 19
returns selected type of error message
(see 6.14)
<parameter> = 20
returns printer’s paper type setup
0= Direct thermal printing;
1= Thermal transfer printing
<parameter> = 23
returns status of the ribbon end sensor
(0=No ribbon; 1=Ribbon)
The printer’s status with regard to various errors and other condi-
tions can be read and returned to the host using the
PRSTAT
command:
? (PRSTAT AND
<parameter>
)
<parameter> = 1
printhead lifted
<parameter> = 2
label not removed
<parameter> = 4
printer out of paper
<parameter> = 8
printer out of transfer ribbon
Parameters can be combined. For example, <3> checks for both
“printhead lifted” and “label not removed” conditions. The printer
will return 1 (= yes) or 0 (= no).
The version of EasyCoder E4 fi rmware, the type of printer family,
and the type of CPU board can be read using a
VERSION$
command:
? VERSION$[
(type of info)
]
<type of info> = 0
the version of EasyCoder E4 fi rmware
<type of info> = 1
E4 = EasyCoder E4
<type of info> = 2
1-E4700 = CPU board 700
Содержание EasyCoder E4
Страница 1: ...Programmer s Reference Manual EasyCoder E4 Direct Protocol v2 10 ...
Страница 121: ......