Printhead; System Counters - Intermec EasyCoder 301 Programmer's Manual

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

Advertisement

4. Printhead

5. System
Counters
Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3
The thermal printhead can be tested in three different ways:
• FUNCTEST$ ("HEAD")
• ? HEAD (type of check)
• ? SYSVAR (<parameter>)
? FUNCTEST$ ("HEAD")
The returns from the FUNCTEST$ ("HEAD") command are:
HEAD OK, SIZE:nnn DOTS
HEAD LIFTED
FAULTY PRINTHEAD
? HEAD(<type of check>)
<type of check> = -1 Checks printhead. Returns -1 if OK, else 0
<type of check> = -7 Returns mean resistance of printhead in ohms
Important!
Always either run a ? HEAD (-1) instruction after replacing the
printhead or print a test label to set the printer for the resistance of
the new printhead!
? SYSVAR (<parameter>)
<parameter> = 21 returns printhead density in dots per mm
<parameter> = 22 returns the number of dots in the printhead
There are a number of counters in the printer's system, that can be
read and returned to the host:
? SYSVAR (<parameter>)
<parameter> = 14 number of errors detected since last startup
<parameter> = 15 number of errors detected since last SYSVAR
<parameter> = 24 power-up status since last SYSVAR(24)
Note!
SYSVAR (24) is important, since essential functions, like counters
and error messages will be lost at power up and other functions
will be reset to their default values. Save all such data in the host
and retransmit them to the printer as soon as a power-up has been
detected by a polling program taking advantage of SYSVAR(24).
Chapter 7
Reading the Printer's Status
(nnn is the number of dots)
(lower the printhead and try again)
and sets up the printer for the measured mean
printhead resistance.
(15)
(0 = No; 1=Yes)
(an error is detected)
60

Advertisement

Table of Contents
loading

Table of Contents