Tallygenicom 6000 Applications Manual Volume 2

6000 Series
Applications Manual
Volume 2
© February 2004
All rights reserved
TallyGenicom LLC 8301 South 180th Street Kent, Washington 98032
http://www.tallygenicom.com
Table of Contents
Subject Listing
1 IEEE 1284 ...............................................................................................................................5
2 RS-232.....................................................................................................................................5
2.1 READY/BUSY ................................................................................................................................5
2.2 XON/XOFF ..................................................................................................................................5
2.2.1 Robust Xon .................................................................................................................5
2.3 BLOCK MODE PROTOCOLS...........................................................................................................6
2.3.1 Enq/Ack .....................................................................................................................6
2.3.2 Etx/Ack ......................................................................................................................6
2.3.3 Etx/Ack/Nak...............................................................................................................7
2.3.4 Ack/Nak.....................................................................................................................7
2.3.5 Xon/off/Etx/Ack..........................................................................................................7
2.3.6 Xon/off/Enq/Ack.........................................................................................................7
2.4 STATUS ENQUIRY..........................................................................................................................8
3 TWINAX / COAX ...................................................................................................................8
4 LAN ........................................................................................................................................9
4.1 PC NETWORK PRINTING...............................................................................................................9
4.2 CONFIGURING YOUR IBM HOST FOR NETWORK PRINTING..........................................................9
4.3 CONFIGURING TALLYCOM+ PSIO (LANPLEX-3) FOR IBM HOST PRINTING.............................10
4.4 CONFIGURING IBM AS/400 LAN ATTACHMENT.......................................................................10
4.4.1 IPDS LAN Attachment ...............................................................................................10
4.4.2 WSCST/PJL LAN Attachment .....................................................................................12
4.4.3 PCL/PJL LAN Attachment..........................................................................................12
4.4.4 SNMP LAN Attachment .............................................................................................13
4.5 CONFIGURING IBM AS/400 LPR/LPD ATTACHMENT .............................................................14
4.5.1 LPR/LPD Driver Configuration...................................................................................14
4.5.2 Remote Output Queue Configuration ............................................................................15
4.6 CONFIGURING IBM S/390 LAN ATTACHMENT .........................................................................16
4.7 IBM HOST CONNECTIVITY EXAMPLES........................................................................................17
4.7.1 TSPLPRD LPR Print Driver Exit Program ....................................................................17
4.7.2 PSF Startup Procedure - Recommended Settings...............................................................21
4.7.3 VPS Configuration File for a TallyGenicom TCP/IP-attached printer:................................24
4.7.4 IPDS Fonts/Code Pages supported by TallyGenicom Line Printers...................................... 25
Figure Listing
FIGURE 1 RS-232 PIN-OUT ......................................................................................................................5
FIGURE 2 PRINTER STATUS BYTE ............................................................................................................8
FIGURE 3 PRINTER STATUS BYTE HP2564C EMULATION ....................................................................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

3 Twinax / 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