Download epson

Transcript
Confidential
2.1.2.7 Reception of status from the printer through the bidirectional parallel interface
In the bidirectional parallel interface specifications, printer status transmission is available by using
the both-way communication facility in the Nibble/Byte Modes in accordance with IEEE 1284
specifications.
In this case, as opposed to the RS-232 serial interface specifications, the real-time interruptions
from the printer to the host are disabled and thus precautions must be taken for the following:
1) The allowable capacity of the printer internal buffer is 99 bytes (except for ASB status). The
status signals exceeding this capacity will be discarded. To prevent possible loss of status,
the host shall be ready for data acceptance (Reverse Mode).
2) When ASB is used, the host is preferably in the wait state for data acceptance (Reverse Idle
Mode). When this state is not available, the host shall enter the Reverse Mode to constantly
monitor the presence of data.
3) When ASB is used, preference shall be given to the ASB status for transmission over the
other status signals. Any accumulated ASB status signals left for transmission from the last
to the newest ASB status transmission shall be transmitted together at a time as one ASB
status showing the presence of change, followed by the latest ASB status.
Example:
In the normal (wait) state, the ASB status is configured as follows:
First Status
Second Status
Third Status
Fourth Status
0001 0000
0000 0000
0110 0000
0000 1111
When the following sequence of operations proceed - the near end is
detected the printer cover is opened, and then the printer cover is closed the following pieces of data are accumulated.
First Status
Second Status
①
Third Status Fourth Status
0001 0000
0000 0000
0110 0011
0000 1111
Near end detection
②
0011 1000
0000 0000
0110 0011
0000 1111
The printer cover is opened.
③
0001 0000
0000 0000
0110 0011
0000 1111
The printer cover is closed.
When the ASB status is received following this, a total of eight (8) bytes of
ASB will be transmitted as follows.
Accumulated ASB (①+②+③)
First Status
Accumulated ASB(①+②+③)
+
The latest ASB (③)
Second Status
Third Status
Fourth Status
0011 1000
0000 0000
0110 0011
0000 1111
First Status
Second Status
Third Status
Fourth Status
0001 0000
0000 0000
0110 0011
0000 1111
Fourth Status
EPSON
TITLE
TM-H6000II
Specification
(STANDARD)
SHEET
REVISION
A
NO.
NEXT
34
SHEET
33