Epson EPL-N1200 Service Manual - Page 32

Handshaking, Protocol

Page 32 highlights

General Description EPL-N1200 Service Manual Handshaking When the vacant area for data in the input buffer drops to 256 bytes, the printer outputs an X-OFF code or sets the DTR signal level to LOW, indicating that the printer cannot receive more data. Once the vacant area for data in the buffer recovers to 512 bytes, the printer outputs an X-ON code or sets the DTR flag to HIGH, indicating that the printer is again ready to receive data. Protocol There are two types of protocols, as listed below, and each of them can be designated by SelecType independently. o DTR/DSR protocol SelecType is used to execute the DTR/DSR control protocol. The DTR signal is set to HIGH when the printer is ready to receive data, and to LOW when conditions indicate an error or that the receiving buffer is full. When the error is cleared and the printer returns to on-line mode, the signal returns to HIGH. When SelecType is used to set the DTR control OFF, DTR is always set HIGH. The printer transmits TXD only when DSR is at the HIGH level (DSR is always considered HIGH when the SelecType setting for DSR is OFF). X-ON/X-OFF transmission is independent of the DSR state. o X-ON/X-OFF (DC1/DC3) protocol SelecType is used to execute the X-ON/X-OFF protocol. The X-OFF (DC3) code is output if status indicates an error, and the printer warns the host to stop data transmission within 256 characters. No further X-OFF codes are sent in response to additional data received from the host after the X-OFF code has been sent once. The X-ON (DC1) code is output after all conditions given in the error are cleared. When the remaining capacity of the receive buffer reaches 512 characters, X-OFF (DC3) is output once. It is sent only once, even if there are multiple errors. The printer goes on line automatically at power on, and outputs an X-ON code. Transmission of X-ON/X-OFF codes can be defined by SelecType. 1-20 Rev. A

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149

Handshaking
When the vacant area for data in the input buffer drops to 256 bytes, the printer outputs an X-OFF
code or sets the DTR signal level to LOW, indicating that the printer cannot receive more data.
Once the vacant area for data in the buffer recovers to 512 bytes, the printer outputs an X-ON code
or sets the DTR flag to HIGH, indicating that the printer is again ready to receive data.
Protocol
There are two types of protocols, as listed below, and each of them can be designated by
SelecType independently.
o
DTR/DSR protocol
SelecType is used to execute the DTR/DSR control protocol. The DTR signal is set to HIGH when
the printer is ready to receive data, and to LOW when conditions indicate an error or that the
receiving buffer is full.
When the error is cleared and the printer returns to on-line mode, the signal returns to HIGH. When
SelecType is used to set the DTR control OFF, DTR is always set HIGH. The printer transmits TXD
only when DSR is at the HIGH level (DSR is always considered HIGH when the SelecType setting
for DSR is OFF). X-ON/X-OFF transmission is independent of the DSR state.
o
X-ON/X-OFF (DC1/DC3) protocol
SelecType is used to execute the X-ON/X-OFF protocol. The X-OFF (DC3) code is output if status
indicates an error, and the printer warns the host to stop data transmission within 256 characters.
No further X-OFF codes are sent in response to additional data received from the host after the
X-OFF code has been sent once. The X-ON (DC1) code is output after all conditions given in the
error are cleared.
When the remaining capacity of the receive buffer reaches 512 characters, X-OFF (DC3) is output
once. It is sent only once, even if there are multiple errors. The printer goes on line automatically at
power on, and outputs an X-ON code. Transmission of X-ON/X-OFF codes can be defined by
SelecType.
General Description
EPL-N1200 Service Manual
1-20
Rev. A