Serial Commands
The TM-U295 and TM-U590 support the following serial commands.
Release of Ticket: (End of serial string/LF before ESC)
ASCII: ESC q
Decimal: 27 113
Sensor Disable: (Hold in buffer/Print when ticket is inserted)
ASCII: ESC c 40
Upside Down Print: (Start of serial string)
ASCII: ESC { 1
Decimal: 27 123 49
Height/Width Commands: For double high/double wide (start of serial
command). Please note, other characters in last
position result in different heights.
ASCII: ESC ! _
Decimal: 27 33 96
Communica t ions Int erface Information
for
®
Epson
Ticket and T ape Printers
TM-295
Power Supply Connections
The power supply connector is used to connect the printer to the external power
source. Pin numbering for the power supply connector is shown in the figure and
table below.
1
3
2
Power Supply
Connector
Check out our web site, www.rlws.com, for this manual and
other service-related information on our products.
Technical training seminars are available through Rice Lake Weighing Systems.
Course descriptions and dates can be viewed at www.rlws.com or obtained by calling
715-234-9171 and asking for the training department.
rebmuNniP noitcnuF
1CDV42+
2DNG
3noitcennocoN
TM-U200
TM-U590
36852
This document provides communications interface information not included
TXD
RXD
DSR
CTS
DTR
Host
Computer
Printer
3
2
6
20
TXD
RXD
DSR
DTR
SG
7
SG
in the manuals supplied with the TM-295 Ticket Printer, TM-U200 Tape Printer
and TM-590 Ticket Printer. Please keep this information with the manual for
your printer.
Communications Specifications
Data transmission: Serial (RS-232C–compatible)
Synchronization: Asynchronous
Handshaking: DTR/DSR or XON/XOFF control
Signal level: MARK (–3 to –15V, logical “1”)
SPACE (+3 to +15V, logical “0”)
Baud rates: TM-295: 1200, 2400, 4800, 9600 bps
Data length: 7 or 8 bits
Parity: None, even, or odd
Stop bits: 1 or more
Serial connector: D-SUB25 female connector or equivalent
TM-U200: 4800 or 9600 bps
TM-U590: 2400, 4800, 9600, 19200
Serial Port Connections
The following figure shows the pin numbering scheme for the serial port:
13
25
1
14
DSR/DTR Handshaking
The DSR/DTR handshaking uses pins 6 and 20 to signal availability of the printer
and host computer to receive data:
DSR (pin 6) indicates whether the HOST COMPUTER is ready to receive data:
SPACE (logical 0): Host computer is ready to receive data
MARK (logical 1): Host computer is
not
ready to receive data
DTR (pin 20) indicates whether the PRINTER is ready to receive data:
SPACE (logical 0): Printer is ready to receive data
MARK (logical 1): Printer is
not
ready to receive data
DTR is set to MARK (logical 1) during power-up, self-test, and error states, or
when the receive buffer is full.
NOTE: DSR/DTR handshaking cannot be used if pin 6 is used as a reset signal input.
XON/XOFF Handshaking
When XON/XOFF handshaking is selected, the printer transmits XON/XOFF
characters as follows:
XON (<11>H) is sent whenever the printer goes online or when the receive buffer is
released from the buffer-full state.
XOFF (<13>H) is sent whenever the printer goes offline, the receive buffer is full, or
when an error state exists.
XON/XOFF handshaking ignores DSR input signals (pin 6). The DTR output (pin
20) is always held to SPACE (logical 0) except during power-up, self-test, and error
states.
Pin assignments for the serial port connector are as follows:
12/02
Serial Port Connector
rebmuNniP langiS noitcnuF
1GFdnuorgemarF
2DxTatadtimsnarT
3DxRatadevieceR
6RSDydaertesataD
7GSdnuorglangiS
02RTDydaerlanimretataD
© 2002 Rice Lake Weighing Systems, Inc., Rice Lake, WI USA. All Rights Reserved
Rice Lake Weighing Systems, Inc. 230 West Coleman Street, Rice Lake, WI 54868
Sample Serial Connection
The following figure shows an example of connections made between a host
computer (configured as the DTE) and a printer.