Introduction; Returning Information To Host; Reading Date And Time; Testing The Printer's Memory - 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.1 Introduction

Provided there is a working two-way serial communication between the
printer and the host computer, the printer's status in regard of various
functions can be read back to the host. Thus, the serial channel con-
nected to the host must be selected standard IN/OUT channel (default,
see
instruction in Chapter 6.2).
SETSTDIO
7.2 Returning Information to the Host
The
instruction reads the printer's status as specifi ed by a comple-
PRINT
mentary instruction and returns the result on the standard OUT channel
to the host, where it usually will be printed on the screen. The shorthand
version of
PRINT
PRINT | ?

7.3 Reading Date and Time

The current date and time according to the printer's clock/calendar can
be read as follows:
? DATE$
? TIME$

7.4 Testing the Printer's Memory

Various parts of the printer's memory can be tested by reading the result
of a
instruction:
FUNCTEST$
? FUNCTEST$ ("<CARD>|<KERNEL>|<ROMn>")
<CARD>
<KERNEL>
<ROMn>
78
Intermec Direct Protocol v7.80 Programmer's Reference Manual
is a question mark (
or
? DATE$("F")
or
? TIME$("F")
checks a memory card and performs a RAM test and returns either "RAM
OK" or "FAIL,x" (where "x" is the hex-address of the fi rst faulty byte). If a
ROM-type card or no card is inserted, "NO CARD" is returned.
checks the live kernel in RAM and returns one of the following alterna-
tives:
- An 8-digit hex checksum (kernel is OK)
- "ERROR IN KERNEL CRC"
- "KERNEL BADLY CORRUPTED"
- "CANNOT FIND KERNEL"
- "ERROR <Error No.> IN KERNEL"
tests the ROM package specifi ed by n and returns either a 4-digit hex
checksum or "NO ROM".
).
?

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EasyCoder 501XP and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents