Reading Sensors And Straps; Reading Printer's Status - Intermec EasyCoder 501XP Programmer's Reference Manual

Intermec easycoder 501xp: reference guide
Hide thumbs Also See for EasyCoder 501XP:
Table of Contents

Advertisement

Chapter 7 — Reading the Printer's Status

7.7 Reading Sensors and Straps

There are a number of sensors, hardware strap, and setup parameters in
the printer that can be read and their status or value be returned to the
host:
? SYSVAR (<parameter>)
<parameter> = 18
<parameter> = 19
<parameter> = 20
<parameter> = 23
<parameter> = 26

7.8 Reading Printer's Status

The printer's status in regard of various errors and other conditions can
be read and returned to the host using the
? (PRSTAT AND <parameter>)
<parameter> = 0
<parameter> = 1
<parameter> = 2
<parameter> = 4
<parameter> = 8
<parameter> = 16
<parameter> = 32
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 the Intermec Direct Protocol, the type of printer family,
and the type of CPU board can be read using a
? VERSION$[(type of info)]
<type of info> = 0
<type of info> = 1
<type of info> = 2
80
Intermec Direct Protocol v7.80 Programmer's Reference Manual
returns selected verbosity level (see 6.15)
returns selected type of error message (see 6.16)
returns printer's paper type setup:
0= Direct thermal or 1= Thermal transfer
returns status of the ribbon end sensors:
0=No ribbon or 1=Ribbon
returns status of the F4 ribbon low sensor:
0=Ribbon left or 1=Ribbon low
Ok
printhead lifted
label not removed (returns 0 if no LTS fi tted)
printer out of paper
printer out of transfer ribbon (returns 0 if DT)
printer voltage too high
printer is feeding
returns the version of the Intermec Fingerprint fi rmware (default), for example
"Fingerprint 7.80"
returns the type of printer family, for example
"501XP", "601XP", "F2", or "F4"
returns the type of CPU board, for example "hardware version 3.0"
instruction:
PRSTAT
instruction:
VERSION$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents