
EasyCoder E4 Direct Protocol v2.10 – Programmer’s Reference Manual
64
Chapter 7
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 (Default, see
SETSTDIO
command in Chapter 6.2).
The
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
specifi es the type of information to be returned. The shorthand
version of
is a question mark (
?
).
|
?
The current date and time according to the printer’s clockcalen-
dar can be read as follows:
? DATE$
or
? DATE$("F")
? TIME$
or
? TIME$("F")
Various parts of the printer’s memory can be tested by reading the
result of a
FUNCTEST$
command:
? FUNCTEST$
("<RAM>|<CARD1>|<CARD2>")
<RAM>
returns the result of the power-up RAM test.
<CARD1>|<CARD2> checks an inserted memory card and returns
either "CARD NOT PRESENT", "CARD
OK", or "CARD FAIL".
Reading the Printer’s Status
1. Introduction
2. Date and Time
3. Memory
Содержание EasyCoder E4
Страница 1: ...Programmer s Reference Manual EasyCoder E4 Direct Protocol v2 10 ...
Страница 121: ......