Electronic Functions Functional Description
3-20
2.2 Phase 2, Data transmission phase
This phase is activated even after phase 1. A string of characters is transferred from
the printer to the PC, which immediately describes the printer type, the manufacturer,
the device class and some sort of compatibility.
Procedure
– SELECTIN and AUTOFEED are set to low by the PC at the same time
– Within 35 ms the printer reacts with SELECT, ERROR, PAPEREND and DONE set
to low.
– PC transmits one Byte with a STROBE pulse and sets AUTOFEED to high.
– This byte will be analyzed by the printer. If everything was ok the byte should be
04hex which means that PC is demanding the identification of the printer in Nibble
Mode. The printer agrees setting PAPEREND to low and DONE to high.
– PC answers setting AUTOFEED to low.
– Now the initial procedure starts by sending the characters. The string is built up in
a way that the first two bytes are indicating the total length of the string (including
the first two counter bytes). MSB first then LSB is transmitted followedby the char-
acters.
– Each byte starts by putting bits 0 - 3 to the control signals (see above).
– This Nibble (half - byte) is released setting DONE to low.
– The acknowledge of PC is done by setting AUTOFEED to high.
– As soon the printer recognizes the acknowledge DONE is put back to high.
– As a result the PC sets AUTOFEED back to low.
– Now bits 4 - 7 are sent using the signal lines.
– This Nibble (half - byte) is released setting DONE to low.
– The acknowledge of PC is done once more by setting AUTOFEED to high.
– As long as there are data to be transmitted the printer sets now
PAPEREND,ERROR, SELECT and BUSY to low and DONE once more to high.
– The acknowledge of the PC is performed by setting AUTOFEED to low.
– Now the next nibble can be sent and the procedure is repeated.
– If there are no more data to be transferred after the last Nibble (half - byte) the
printer is setting ERROR to high, SELECT, PAPEREND and BUSY to low.
– This will be release setting DONE to high.
– Now the termination of the data transmission phase is starting. The PC sets
SELECTIN signal to low.
– The printer reacts – different than in the negotiation phase – with SELECT set to
low, BUSY set to high and – after a short delay – DONE set to low.
– The printer is setting ERROR and SELECT according to the actual status in normal
Centronics mode and after that DONE back to high.
– PC reacts setting AUTOFEED to high.
– At the very end of the data transmission phase the printer sets BUSY and DONE
according to the actual state in normal Centronics mode.
– Now everything is in normal state again and the transmission of the printer identi-
fication is completed.
232
3
535
3
63
3X
6
3
73
5B
45
2A
C
CCV
27
3
6
18
2
12
1
2
D
N
G
D
NG
9
C
21
N0
01
85
R
K0
1
12
010
1
1
3
1
3
4
3
4
3
02
0
2
9
9
0
303
9
1
91
8
8
9292
8181
7
7
828
2
71
71
66
626
2
616
1
55
5
252
5
151
4
4
323
2
31
3
1
22
4242
41
41
3
3
2
222
2
1
2
1
111
1
1
1
63
DNGE
D
N
9
1
R
BBC
2
2
2
1
1
1
N
TL
U
AF
IT
CELES
FR
ETNI
.
R
A
P
DN
G
X
YSU
B
TINI
DN
G
X
N
E
N
O
D
DNG
D
NG
DNG
8D
I
D
N
G
D
N
G
7DI
D
N
G
X
CCV
6
DI
D
N
G
D
N
GE
5DI
D
N
G
DN
G
4
DI
DN
G
3DI
DNG
D
F
O
T
U
A
2DI
1
DI
DN
G
EP
L
ES
NEB
ORTS
333
3