
SUMMARY: This document provides detailed information on the operation of the mL170 serial interface.

| Pin number |
Signal Name |
Direction | Description |
| 1 | RTS | Output | Request to Send High when the printer is ready to transmit data |
| 2 | TD | Output | Transmitting Data |
| 3 | RD | Input | Receiving Data |
| 4 | DSR | Input | Data Set Ready The printer can receive or transmit data when this signal is high. |
| 5 | SG | Signal Ground (common return) | |
| 6, 8 | DTR | Output | Data Terminal Ready High when the printer is ready to receive or transmit data |
The following options can be set in the Serial Menu:
| Baud Rate | 1200, 2400, 4800, 9600, 19200, 38400, 57600 |
| Pacing | DTR or Xon/Xoff |
| DTR Polarity | Hi or Low |
| ROBUST XON | On or Off |
Note: Defaults are indicated in bold.
Note: The following parameters are fixed:
| Data Bits | 8 |
| Stop Bits | 1 |
| Parity | None |
The buffer size is set under Config Menu >> I/O Buffers and can be set to Auto (default), 32K, 64K, 128K, or 256K bytes. The low trip point is 255 bytes and the high trip point is 255 bytes from the top of the buffer.
Different types of protocols are used for the RS-232C serial interface, depending on the computer manufacturer. These protocols prevent the print data receive buffer from overflowing because interface data transmission is faster than buffer data printing. The printer uses specific character codes or an interface signal for each protocol to inform the computer of the buffer status, as follows:
With this protocol, the XOFF code (hexadecimal 13) is transmitted from the printer when less than 255 bytes of buffer space remains. The XON code (hexadecimal 11) is transmitted when less than 255 bytes of data remains in the buffer. Normal data processing cannot be guaranteed if data is transmitted to the printer when insufficient buffer space is available after the XOFF code has been transmitted. When the printer is first turned on, the DTR signal is set high (ready) and an XON code is transmitted from the printer. When the printer is placed offline, the XOFF code is transmitted even if the buffer is not full. The XON code is transmitted when the printer is placed online again.
The DTR signal is set off (low) when the buffer empties to the low trip point of 255 bytes of data. When the printer is placed offline, the DTR signal is set off (low). Transmission must stop within 255 bytes after the DTR signal is set off (low). The validity of data cannot be guaranteed if data exceeding the buffer capacity is transmitted regardless of the DTR signal.
Data transmission is suspended while the DTR signal is set off (low), but printing continues. When the buffer empty area exceeds 255 bytes, the DTR signal is set on (high) indicating that the printer is ready to accept data.
When Robust XON is set to on, the printer is online, and the serial interface is ready, the XON code (hexadecimal 11) is transmitted once per second.
Cable Connections
The mL170 uses a modem style cable. Typical connections are as follows:

|
Copyright © 2002 GENICOM, Specifications subject to change without notice. ® All trademarks are property of their respective holders at the time of this publication. If you have any questions or comments regarding this document, please contact TallyGenicom Technical Support. TallyGenicom has taken care to ensure that the information is complete, accurate and up-to-date. However, GENICOM assumes no responsibility for errors or omissions which may occur. All the information provided is subject to change from time to time at the sole discretion of GENICOM. This information is provided "as is" without warranty of any kind. GENICOM disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall GENICOM, or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if GENICOM, or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. |