Reading The Printer's 1. Introduction; Status 2. Date And Time; Memory - Intermec EasyCoder 301 Programmer's Manual

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

Advertisement

Reading the Printer's Status
1. Introduction
2. Date and Time

3. Memory

Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3
Provided that two-way communication is working between the
printer and the host computer, the printer's status with regard to
various functions can be returned to the host. This implies that the
serial channel "uart1:" must be selected standard OUT channel (De-
fault, see SETSTDIO command in chapter 6.2).
The PRINT command returns information about the printer's status
via the standard OUT channel to the host, where it will usually be
printed on the screen. A complementary command specifies the
type of information to be returned. The shorthand version of PRINT
is a question mark (?).
PRINT | ?
The current date and time according to the printer's clock/calendar
can be read as follows:
? DATE$
or
? TIME$
or
Various parts of the printer's memory can be tested by reading the
result of a FUNCTEST$ command:
? FUNCTEST$ ("<RAM>|<ROM1>|<ROM2>|<CARD1>|<CARD2>")
<RAM>
<ROM>
<CARD1>|<CARD2> checks an inserted memory card, performs
? DATE$("F")
? TIME$("F")
returns the result of the power-up RAM test.
tests the ROM package and returns "ROM
OK" or "ROM FAIL".
either a RAM or a ROM test depending on
type of card and returns "CARD NOT
PRESENT", "CARD OK", or "CARD
FAIL".
Chapter 7
59

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents