====== Epson TM-T88II Thermal Printer ====== ===== TM-T88II ===== ==== 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 ==== * [[http://boris.maetech.it/docs/datasheets/Epson_TM-T88II_usermanual.pdf|Epson_TM-T88II_usermanual.pdf]] * [[http://boris.maetech.it/docs/datasheets/epson_TM-T88III_technical_reference.pdf|epson_TM-T88III_technical_reference.pdf]] (it is not a code reference :( ) * [[http://boris.maetech.it/docs/datasheets/ESC-POS-COMMAND-TM-T88II.pdf|ESC-POS-COMMAND-TM-T88II.pdf]] ==== Connections ==== === Data interface === Basic cable is RX/TX/GROUND . * 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 * DB25 pin 4 to PC's DB9 pin 8 (optional RTS/CTS flow control) 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 [[http://it.farnell.com/jsp/search/productdetail.jsp?sku=1876288|farnell.com]] for a few bucks. Equivalent is NINIGI PC-MDP-401-3P available at TME. Connector is also known as "DIN 422". 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: {{:notes:drawerkickout.gif?direct|Pinout}} Kick-out circuitry: {{:notes:epson-tm-t88ii-kickout-circuitry.png?direct|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 === Standard code (tested): dec 10 hex 0A === 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 (12x24 or 9x17) '''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 ===== Ethernet interfaces ===== From OEM documentation: ^ Interface ^ Suitable for ^ | UB-E02 | TM-T88 / TM-T88II / TM-T88III | | UB-E03 | TM-T88III / TM-T88IV / TM-T88V | | UB-E04 | TM-T88V / TM-T88IV (?) | UB-E03 has been tested with TM-T88II and works. ==== Configuration ==== From UB-E03 user's manual: DIP Switch 2-8 of printer must be put ON. From T88 printer's user manual: ^dipsw^function^ON^OFF^ |2-7| I/F pin 6 reset signal| Enabled| Disabled| |2-8| I/F pin 25 reset signal| Enabled| Disabled| ===== UB slot ===== ==== Connector ==== The connector code is TX24-30R-LT-H1E from JAE