FIGURE 2–PRINTER STATUS BYTE ............................................................................................................8
FIGURE 3–PRINTER STATUS BYTE –HP2564CEMULATION ....................................................................8
3
Line Printer Applications Manual
4
Interface Protocols
1 IEEE 1284
This interface is compliant with IEEE Std 1284-1994, Standard Signaling Method for a Bi-directional
Parallel Peripheral Interface for Personal Computers. Compatibility Mode and Nibble Mode are
supported.
2 RS-232
The following paragraphs define the function of the serial protocols that can be selected for the
RS-232 interface.
Pin # Symbol Description
1 Chassis Ground
2 TxD Transmit Data
3 RxD Receive Data
11 & 19 RTS Request To Send
5 CTS Clear To Send
6 DSR Data Set Ready
7 Signal Ground
20 DTR (Busy) Data Terminal Ready
Figure 1 – RS-232 Pin-out
2.1 Ready/Busy
When this protocol is selected, the voltage level of the busy pin in the interface cable connector
determines whether the printer is busy or not. In this protocol the busy signal will be sent when
the serial buffer is greater than 85% full. The printer will continue to send the busy signal until
the serial buffer is less than 50% full.
2.2 Xon/Xoff
In this protocol the XOFF signals the host computer that the printer is busy when:
• The buffer is over 85% full.
• The printer is placed Offline manually.
• The printer goes Offline due to a fault.
The XOFF character (13 Hex) is transmitted to the host in response to each character received
until the serial buffer falls below 50% or the printer is placed Online. Then, an XON (11 Hex) is
transmitted to the host and the printer will accept incoming data.
In addition, there is a variation to this protocol: Robust XON.
2.2.1 Robust Xon
This parameter allows the operator to set up the XON portion of the XON/XOFF Protocol to
behave in a ROBUST fashion. This protocol is the same as a normal XON/XOFF Protocol except
that the XON signal is sent repeatedly until the printer starts receiving data again. In the Robust XON Protocol variation, the printer will send an XON signal every five seconds unless it receives at
least one byte of data during the five second interval.
5
Line Printer Applications Manual
2.3 Block Mode Protocols
A number of protocols exist in your printer that use a Block Mode in the handling of data. In
Block Mode, data is sent in units of a predetermined size. How the printer responds is determined
by the protocol selected.
The maximum block size is 50% of the data buffer. In the shared configuration, the data buffer is
2048 bytes and, therefore, the maximum block size is 1024 bytes. In the serial configuration the
data buffer is 4096 bytes, therefore the maximum block size would be 2048 bytes.
There are six Block Mode protocols that can be selected through the printer control panel.
• Enquiry/Acknowledge (Enq/Ack)
• End of Text/Acknowledge (Etx/Ack)
• End of Text/Acknowledge/Negative Acknowledge (Etx/Ack/Nak)
• Acknowledge/Negative Acknowledge (Ack/Nak)
• XON/XOFF/End of Text/Acknowledge (Xon/off/Etx/Ack)
• XON/XOFF/Enquiry/Acknowledge (Xon/off/Enq/Ack)
2.3.1 Enq/Ack
This stands for ENQuiry/ACKnowledge. In this protocol, the HOST sends an ENQuiry to the
printer to find if it is ready to accept data. If it is ready, the printer will send the ACKnowledge
signal back to the host.
In order for the printer to be ready, it must have no faults, be Online and have sufficient space in
the buffer. If the printer is Offline, in a fault condition, or the buffer is more than 85% full, it will
not send the ACKnowledge signal to the host ENQuiry. If the printer is placed Online, any fault
conditions are cleared, and the buffer has sufficient room, the printer will respond with an
ACKnowledge signal to the ENQuiry from the host computer.
Note:
If the printer stopped sending the ACKnowledge signal because the buffer was over 85% full, it will
not begin sending the ACKnowledge signal again until the buffer is less than 50% full.
2.3.2 Etx/Ack
This protocol is the same as the ENQ/ACK except that the response initiator is the ETX (end of
text) character instead of the ENQuiry.
6
Interface Protocols
2.3.3 Etx/Ack/Nak
This protocol functions like the ETX/ACK Protocol with the addition of a NAK (Negative
ACKnowledgment) response. If the printer is ready to accept data, it will respond to an ETX
character with an ACK character
The NAK response is sent if any data errors have occurred since the previous ETX. When this
occurs, the printer will discard all data received since the last ETX. The host will then re-transmit
the erroneous data block. After three consecutive NAK responses, the printer will respond with an
ACK and print the data as well as possible.
If the printer is Offline, in a fault condition other than a data error, or the printer is busy as a
result of the data buffer being more than 85% full, the host will receive no response to the ETX.
The printer will respond with an ACK when it is placed Online and the fault is cleared, or when
the buffer falls below 50% full.
2.3.4 Ack/Nak
The ACK/NAK Protocol is identical to the ETX/ACK/NAK protocol except that the response
initiator is a carriage return. Therefore, the block size is identical to the line length.
2.3.5 Xon/off/Etx/Ack
This protocol operates exactly like the XON/XOFF protocol for buffer control, but adds the
capability of responding to an ETX character with an ACK when all data prior to the ETX has been
printed and it is ready to receive more data.
2.3.6 Xon/off/Enq/Ack
Designed for three-wire systems where the host needs to know when a print job is completed, this
protocol functions in the same manner as the Xon/off/Etx/Ack Protocol except that it responds
to the ENQ character instead of the ETX character. When the printer receives an ENQ character,
it responds by transmitting an ACK character to the host.
7
Line Printer Applications Manual
2.4 Status Enquiry
The Status Enquiry feature may be enabled in conjunction with any other protocol. When enabled
and the host sends an ENQ character, the printer responds by sending a printer status byte. The
status byte is designed to be a printable code and is the only printable code the printer can
transmit. The bit pattern is as follows:
Bit Meaning/Value
7 Parity if 7 bit data and parity enabled (MSB)
6 Always a 1
5 1 if Data Overrun
4 Always 0
3 1 if Parity Error
2 1 if Paper System Error or Platen Open
1 1 if Offline
0 1 if Busy (fault or buffer full) (LSB)
Figure 2 – Printer Status Byte
The Status Enquiry feature is slightly different when the current emulation is the HP2564C.
Instead of responding to the ENQ character, the printer will respond to the ECS ? DC1 sequence.
The bit pattern of the status response is as follows:
Bit Meaning/Value
7 Parity if 7 bit data and parity enabled (MSB)
6 Always a 0
5 Always a 1
4 Always a 1
3 0 if Parity Error, Data Overrun, or Buffer
Overflow
2 1 if Offline
1 1 if Busy (fault or buffer full)
0 1 if Paper System Error or Platen Open (LSB)
Figure 3 – Printer Status Byte – HP2564C Emulation
3Twinax / Coax
The T6000 Series provides a combination Twinax / Coax interface card that plugs into the PSIO
slot.
The Twinax interface is based on the IBM 5250 protocol as defined in IBM document 5250
Information Display System to System/36, System/38 and Application System/400 System Units Product
Attachment Information, dated September 1990.
The Coax interface is based on the IBM 3270 protocol as defined in IBM document IBM
3174/3274 Control Unit to Device Product Attachment Information, dated November 1989.
8
Loading...
+ 18 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.