Sensors; Printer's Status; Firmware And Hardware Versions - Intermec EasyCoder 301 Programmer's Manual

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

Advertisement

6. Sensors

7. Printer's Status

8. Firmware and
Hardware
Versions
Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3
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 returns selected verbosity level (see 6.13)
<parameter> = 19 returns selected type of error message
<parameter> = 20 returns printer's paper type setup
<parameter> = 23 returns status of the ribbon end sensor
The printer's status with regard to various errors and other condi-
tions can be read and returned to the host using the PRSTAT com-
mand:
? (PRSTAT AND <parameter>)
<parameter> = 1
<parameter> = 2
<parameter> = 4
<parameter> = 8
Parameters can be combined, e.g. <3> checks for both "printhead
lifted" and "label not removed" conditions. The printer will return
1 (= yes) or 0 (= no).
The version of EasyCoder 301 software, the type of printer family
and the type of CPU board can be read using a VERSION$ com-
mand:
? VERSION$[(type of info)]
<type of info> = 0
<type of info> = 1
<type of info> = 2
Chapter 7
Reading the Printer's Status
returns LSS theshold value (see 6.18)
(see 6.14)
0= Direct thermal printing;
1= Thermal transfer printing
(0=No ribbon; 1=Ribbon)
printhead lifted
label not removed
printer out of paper
printer out of transfer ribbon
the version of EasyCoder 301 firmware
301 = EasyCoder 301
1-301700 = CPU board 700
61

Advertisement

Table of Contents
loading

Table of Contents