The text of a manual · part 9 of 12
TM-T88II/T88III Technical Reference Guide: Appendix A
Pages 63 to 68 of 88, from TM-T88II/T88III Technical Reference Guide
The original document is the PDF (1.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Epson TM-T88ii and Epson TM-T88iii
Page 63
TM-T88II/T88III Technical Reference Guide
Appendix A
Interfaces and Connectors A.1 RS-232 Serial Interface A.1.1 Interface Board Specifications (RS-232-compliant) Table A-1 Serial interface specifications Item
Specifications
Data transfer method
Serial
Synchronization
Asynchronous
Handshake
Select one of the following with DIP SW1-3: ❏ DTR/DSR (DIP SW1-3 OFF) ❏ XON/XOFF (DIP SW1-3 ON)
Signal level
MARK
–3 V to –15 V logic “1” /ON
SPACE
+3 V to +15 V logic “0” /OFF
Bit length
Select one of the following with DIP SW1-4: ❏ 7 bit (DIP SW1-4 ON) ❏ 8 bit (DIP SW1-4 OFF)
default default
Baud rate
Select one of the following with DIP SW1-7 and SW1-8: ❏ 19200 bps (DIP SW1-7 OFF, DIP SW1-8 OFF) ❏ 9600 bps (DIP SW1-7 ON, DIP SW1-8 OFF)default ❏ 4800 bps (DIP SW1-7 OFF, DIP SW1-8 ON) ❏ 2400 bps (T88ii) or 38400 bps (T88III) (DIP SW1-7 ON, DIP SW1-8 ON) [bps: bits per second]
Parity check
Select one of the following with DIP SW1-5: ❏ Yes (DIP SW1-5 ON) ❏ No (DIP SW1-5 OFF)
Parity selection
Select one of the following with DIP SW1-6: ❏ Even (DIP SW1-6 ON) ❏ Odd (DIP SW1-6 OFF)
Stop bit
1 or more bits However, the stop bit for data transfer from the printer is fixed to 1 bit.
Connector
Rev. A
Printer side
DSUB 25-pin (female) connector
Interfaces and Connectors A-1
Page 64
A.1.2 Functions of each Connector Pin Table A-2 Pin assignments Pin no.
Signal name
Signal direction
1
FG
2
TXD
Output
Transmission data
3
RXD
Input
Reception data
4
RTS
Output
Equivalent to DTR signal (pin 20)
6
DSR
Input
This signal indicates whether the host computer can receive data. SPACE indicates that the host computer can receive data. MARK indicates that the host computer cannot receive data. When DTR/DSR control is selected, the printer transmits data after confirming this signal (except if transmitted using some ESC/POS commands). When XON/XOFF control is selected, the printer does not check this signal. Changing DIP SW2-7 lets this signal be used as a printer reset signal. When you use this signal as the printer’s reset signal, the printer is reset when the signal remains MARK for a pulse width of 1 ms or more.
7
SG
20
DTR
Output
1) When DTR/DSR control is selected, this signal indicates whether the printer is Busy. SPACE status, indicates the printer is ready to receive data. MARK status, indicates the printer is Busy. Set Busy conditions with DIP SW2-1. (Refer to “Busy State” on page 3-11). 2) When XON/XOFF control is selected, the signal indicates that the printer is properly connected and ready to receive data from the host. SPACE status, indicates the printer is properly connected and ready to receive data from the host. The signal is always SPACE, except in the following cases: • During the period from when power is turned on to when the printer is ready to receive data. • During the self-test.
25
INIT
Input
Changing DIP SW2-8 enables this signal to be used as a reset signal for the printer. The printer is reset if the signal remains at SPACE for a pulse width of 1 ms or more.
Function Frame ground
Signal ground
A.1.3 XON/XOFF When XON/XOFF control is selected, the printer transmits the XON or XOFF signals as follows. The transmission timing of XON/XOFF differs, depending on the setting of DIP SW2-1. Table A-3 XON/XOFF transmissions Signal
XON
XOFF
Printer status
DIP SW2-1 status 1 (ON)
0 (OFF)
1) When the printer goes online after turning on the power (or reset using the interface)
Transmit
Transmit
2) When the receive buffer is released from the buffer full state
Transmit
Transmit
3) When the printer switches from offline to online, Transmit
4) When the printer recovers from an error using some ESC/POS commands, Transmit
5) When the receive buffer becomes full
Transmit
Transmit
6) When the printer switches from online to offline, Transmit
A-2 Interfaces and Connectors
Rev. A
Page 65
TM-T88II/T88III Technical Reference Guide
A.1.4 Code The hexadecimal numbers corresponding to the XON/XOFF codes are shown below. ❏ XON code:
11H
❏ XOFF code:
13H
Note: When the printer goes from offline to online and the receive buffer is full, XON is not transmitted. When the printer goes from online to offline and the receive buffer is full, XOFF is not transmitted. When memory switch MSW 1-3 is off, XON is not transmitted as long as the printer is offline, even if a receive buffer full state has been cleared.
A.2 IEEE 1284 Parallel Interface A.2.1 Modes The IEEE 1284 parallel interface supports the following two modes. Table A-4 Parallel modes Mode
Communication direction
Other information
Compatibility mode
Host → Printer communication
Centronics-compliant
Reverse mode
Printer → Host communication
Assumes a data transfer from an asynchronous printer
Compatibility mode Compatibility mode allows data transmission from host to printer only: Centronics-compatible. Specifications •
Data transmission:
8-bit parallel
•
Synchronization:
Externally supplied STROBE* signals
•
Handshaking:
ACK* and BUSY signals
•
Signal levels:
TTL-compatible connector
•
Connector:
ADS-B36BLFDR176 (HONDA) or equivalent product (IEEE 1284 Type B)
•
Reverse communication:
Nibble or byte mode
*A rule above a signal name indicates an “L” active signal.
Rev. A
Interfaces and Connectors A-3
Page 66
Reverse mode The transfer of status data from the printer to the host proceeds in the nibble or byte mode. This mode allows data transfer from an asynchronous printer under the control of the host. Data transfers in the nibble mode are made via the existing control lines in units of four bits (a nibble). In the byte mode, data transfer proceeds by making the 8-bit data lines bidirectional. Both modes fail to proceed concurrently in the compatibility mode, thereby causing half-duplex transmission.
A-4 Interfaces and Connectors
Rev. A
Page 67
TM-T88II/T88III Technical Reference Guide
A.2.2 Interface Signals Table A-5 Connector pin assignments Pin
Source
Compatibility Mode
Nibble Mode
Byte Mode
1
Host
Strobe
HostClk
HostClk
2
Host/Ptr
Data0(LSB)
Data0 (LSB)
Data0 (LSB)
3
Host/Ptr
Data1
Data1
Data1
4
Host/Ptr
Data2
Data2
Data2
5
Host/Ptr
Data3
Data3
Data3
6
Host/Ptr
Data4
Data4
Data4
7
Host/Ptr
Data5
Data5
Data5
8
Host/Ptr
Data6
Data6
Data6
9
Host/Ptr
Data7 (MSB)
Data7 (MSB)
Data7 (MSB)
10
Printer
Ack
PtrClk
PtrClk
11
Printer
Busy
PtrBusy/Data3, 7
PtrBusy
12
Printer
Perror
AckDataReq/Data2, 6
AckDataReq
13
Printer
Select
Xflag/Data1, 5
Xflag
14
Host
AutoFd
HostBusy k
HostBusy
15
NC
ND
ND
16
GND
GND
GND
17
FG
FG
FG
Logic-H
Logic-H
Logic-H
19
GND
GND
GND
20
GND
GND
GND
21
GND
GND
GND
22
GND
GND
GND
23
GND
GND
GND
24
GND
GND
GND
25
GND
GND
GND
26
GND
GND
GND
27
GND
GND
GND
28
GND
GND
GND
29
GND
GND
GND
30
GND
GND
GND
Init
Init
Init
18
Printer
31
Host
32
Printer
33 34
Printer
Fault
DataAvail/Data0, 4
DataAvail
GND
ND
ND
DK_STATUS
ND
ND
35
Printer
+5V
ND
ND
36
Host
SelectIn
1284-Active
1284-Active
* NC: Not Connected ND: Not Defined
Rev. A
Interfaces and Connectors A-5
Page 68
Note: A signal name with a rule above it indicates an “L” active signal. Bidirectional communications cannot take place, unless all signal names for both sides correspond to each other. Connect all signal lines using a twisted-pair cable. Connect the return side to the signal ground level. Make sure the signals satisfy electrical characteristics. Set the leading edge and trailing edge times to 0.5 µs or less. Do not ignore Ack or BUSY signals during a data transfer. Ignoring such signals may result in data corruption. Make the interface cables as short as possible.
A-6 Interfaces and Connectors
Rev. A