Questa è una vecchia versione del documento!
Indice
Epson TM-T88II Thermal Printer
Features
- 80 mm paper roll.
'No smaller rolls can be used!
'
- Cutter
- 24VDC, 1.7A mean max
- Drawer kick-out connector
- Serial port RS232 (DB25 connector)
Paper
- 80mm thermal paper (fixed width!), standard roll is 80 meters long.
- On ebay, from Italy, 50 rolls 80mm x 80m is about 50 euro incl.shipping
Reference
Connections
Data interface
Basic cable is RX/TX/GROUND (handshake is optional i suppose).
- DB25 pin 2 to PC's DB9 pin 2
- DB25 pin 3 to PC's DB9 pin 3
- DB25 pin 7 to PC's DB9 pin 5
For more informations, refer to document 'epson_TM-T88III_technical_reference.pdf
' at page 63.
Power connector
Original PSU is Epson PS-1?0 (PS-170, PS-180).
Male plug for DC socket is producted by MULTICOMP, part number PM3490002-A05, available at farnell.com for a few bucks.
Looking at the female connector on the printer the square index is bottom, small pin is bottom left.
Right pin is +24V, Top Left pin is Ground, Shield is also Ground, small pin at bottom left is N.C.
Drawer Kick-out connector
6P6C (“rj11/rj25”) connector is used. Looking at the connector on the printer, with the clip at top, contacts at bottom, pin 1 is at the right and pin 6 is at the left.
Pin 1&6 are Ground.
Pin 3 comes from a big diode's katode, i suppose it's positive voltage output for drawer's coil. The guide says to use with pin 2 or 5 (unfortunately I didn't check them).
Standard Drawer Kick-Out connector pinout: Pinout
Kick-out circuitry: Circuitry
From the reference guide:
Conditions * A load must be provided across drawer kick-out connector pins 4 and 2 or across pins 4 and 5. (*1) * When the drawer open/close signal is used, a switch must be provided across drawer kick-out connector pins 3 and 6. (*2) * The solenoid used for the cash drawer must have a resistance of 24 Ω or higher. (*3) NOTES (*1) Operating the printer with incorrectly installed devices voids the warranty. (*2) Connecting devices other than the drawer open/close switch voids the warranty. (*3) Using a drawer or a drawer kick-out connector with an input current of 1 A or more may cause an overcurrent, which will cause the device to malfunction.
Tests
Using minicom a simple test has been made, Handshake disabled, 19200 baud 8N1 (as set on the dips and stated on the test print).
When the max number of characters in a line is sent over the serial port to the printer, the line is printed and a new line is set.
Protocol
Cash drawer kick-out
From the internet, not experimented: the_open_drawer_code_for_epson_tm-t88ii_printers_is_27_112_0_64_240}
From the internet, not experimented: 27_112_0_25_250}
From official manual:
27 112 m: 0 if connected to pin 2, 1 if connected to pin 5 tON: on time (value x 2ms) tOFF: off time (value x 2ms)
Cutter
Cutter code (tested): dec 27_109} hex 1b_6d}
Please note: you should print at least five line feed before cutting otherwise part of text will remain in the roll after the cut.
Line feed
Bitmap loading / printing
Bar Code Commands
Tested, ok!
Set bar code width:
hex: 1D, 77, n dec: 29, 119, n n: width of bar code, 2 <= n <= 6
Set bar code height:
hex: 1D, 68, n dec: 29, 104, n n: height of bar code to print, 1 <= n <= 255, 1 unit correspond to 1/180 inch (0.141 mm)
Print monodimensional bar code:
hex: 1D, 6B, m, n, d[1,n] dec: 29, 107, m, n, d[1,n] m: bar code system to use * 65: UPC-A, 11 <= n <= 12, characters 0 - 9 * 66: UPC-E, 11 <= n <= 12, characters 0 - 9 * 67: JAN13 (EAN13), 12 <= n <= 13, characters 0 - 9 * 68: JAN8 (EAN8), 7 <= n <= 8, characters 0 - 9 * 69: CODE39, 1 <= n <= 255, characters 0 - 9, A - Z, SP, $, %, *, +, -, ., / * 70: ITF (Interleaved 2 of 5), 2 <= n <= 255 (even number), characters 0 - 9 * 71: CODEBAR (NW7), 1 <= n <= 255, characters 0 - 9, A - D, a - d, SP, $, +, -, ., /, : * 72: CODE93, 1 <= n <= 255, hex 0x00 - 0x7F * 73: CODE128, 2 <= n <= 255, hex 0x00 - 0x7F n: length of d[1,n] array d: array of characters that compose the bar code
Text Formatting
Available text formatting commands:
- Normal/Small font (12×24 or 9×17)
'ESC M
' - Emphasized mode
'ESC E
' - Size (from 1 to 8 times the normal height or width or both)
'GS !
' - Underline, variable thickness
'ESC -
' - Double strike
'ESC G
' - White/black reverse printing
'GS B
' - Upside-down printing
- 90-degree rotation