Chapter 7
Reading the Printer's Status
6. Sensors
7. Printer's Status
8. Firmware and Hardware Versions
66
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
<parameter> = 18
<parameter> = 19
<parameter> = 20
<parameter> = 23
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
<parameter> = 2
<parameter> = 4
<parameter> = 8
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
<type of info> = 1
<type of info> = 2
EasyCoder E4 Direct Protocol v2.10 – Programmer's Reference Manual
returns LSS theshold value (see 6.18)
returns selected verbosity level (see 6.13)
returns selected type of error message
(see 6.14)
returns printer's paper type setup
0= Direct thermal printing;
1= Thermal transfer printing
returns status of the ribbon end sensor
(0=No ribbon; 1=Ribbon)
printhead lifted
label not removed
printer out of paper
printer out of transfer ribbon
the version of EasyCoder E4 fi rmware
E4 = EasyCoder E4
1-E4700 = CPU board 700
Need help?
Do you have a question about the EasyCoder E4 and is the answer not in the manual?