Page 2 - Guide to
Page 3 - SEIKO EPSON CORPORATION
Page 4 - NOTICE; : The contents of this manual are subject to change without notice.; Information Manual
The programming examples in this manual are provided for the sole purpose of illustrating the functions of the products. Seiko Epson Corporation makes no warranty, either expressed or implied, as to their reliability and appropriateness for other uses. All rights reserved. No part of this publicatio...
Page 6 - Introduction; About This Manual; Chapter 1; coupon containing bar codes.; Chapter 3; which commands are supported by various EPSON printers.
Rev. A i Introduction ESC/POS The market for store automation equipment is changing rapidly with the widespread introduction of POS (point of sale) terminals. These terminals are now appearing even in small retail stores and specialty shops. They occupy a secure position in the range of applications...
Page 7 - ii; Features; Easy maintenance for tasks such as head cleaning.; Option
ii Rev. A Features The TM-T88 and TM-T88P (TM-T85/T85P) can be used as one-station printers for ECR and POS, as ticket-issuing devices, and as output devices for weighing and measuring. The printers have the following features: ❏ Light weight and ultra-compact size. ❏ High speed printing: 16.5 lines...
Page 8 - iii; Specifications; Printing specifications
Rev. A iii Specifications ❏ Printing specifications Printing method: Thermal line printing Printing speed: Approximately 16.5 lines/second (1/6-inch feed)(Approximately 12 lines/second for TM-T85/T85P) Paper feed speed: Approximately 70 mm/sApproximately 50 mm/s for TM-T85/T85P) Dot density: 180 dpi...
Page 9 - iv; Contents
iv Rev. A Contents Chapter 1 Command Descriptions Using Bit Value Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3Print Commands . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 10 - Command Descriptions 1-1; Command Descriptions; Supported Commands
Rev. A Command Descriptions 1-1 TM-T88/T88P (TM-T85/T85P) Information Manual Chapter 1 Command Descriptions Following this table are all the commands organized by function and described with program examples and print samples. The print samples are images of the printing results of the program examp...
Page 12 - Command Descriptions 1-3; ESC i; Using Bit Value Tables; ASCII
Rev. A Command Descriptions 1-3 TM-T88/T88P (TM-T85/T85P) Information Manual ❏ ESC i , ESC u, and ESC v are supported only by TM-T85/T85P. These commands are not recommended. (There are other commands which support the same functions of the above commands.) For the TM-T88/T88P, GS V and GS r can be ...
Page 13 - Print Commands
1-4 Command Descriptions Rev. A Note that the program examples throughout this chapter use decimal numbers, but binary, decimal, and hexadecimal numbers all have the same printing results. Print Commands The TM-T88/T88P (TM-T85/T85P) supports the following commands for printing characters and advanc...
Page 14 - Command Descriptions 1-5; CR; n prints the data in the print buffer and feeds the paper n; ESC d
Rev. A Command Descriptions 1-5 TM-T88/T88P (TM-T85/T85P) Information Manual CR functions in the same way as LF when auto line feed is enabled. Auto line feed can be disabled or enabled by DIP switch 1-1. This command sets the print position to the beginning of the line. When auto line feed is disab...
Page 16 - Command Descriptions 1-7; Line Spacing Commands; FEED; Command; n sets the line spacing to n
Rev. A Command Descriptions 1-7 TM-T88/T88P (TM-T85/T85P) Information Manual Line Spacing Commands The TM-T88/T88P (TM-T85/T85P) supports the following commands for setting line spacing. These commands only set the line spacing; they do not actually advance the paper. The line spacing can be set ind...
Page 17 - Character Commands; n sets the right-side character spacing to n
1-8 Command Descriptions Rev. A Character Commands The TM-T88/T88P (TM-T85/T85P) supports the following commands for setting character font and size: Command Name ESC SP Set right-side character spacing ESC % Select/cancel user-defined character set ESC & Define user-defined characters ESC ? Can...
Page 18 - Command Descriptions 1-9; Hex
Rev. A Command Descriptions 1-9 TM-T88/T88P (TM-T85/T85P) Information Manual The right-side character spacing can be set independently in standard mode and in page mode. ESC % n [Name] Select/cancel user-defined character set [Format] ASCII ESC % n Hex 1B 25 n Decimal 27 37 n [Range] 0 ≤ n ≤ 255 ESC...
Page 20 - Command Descriptions 1-11; Select an international character set; ESC R
Rev. A Command Descriptions 1-11 TM-T88/T88P (TM-T85/T85P) Information Manual ESC R n [Name] Select an international character set [Format] ASCII ESC R n Hex 1B 52 n Decimal 27 82 n [Range] 0 ≤ n ≤ 10 ESC R n selects an international character set n as follows. The default value is U.S.A. (n=0). n C...
Page 21 - Select character code table; ESC t
1-12 Command Descriptions Rev. A ESC t n [Name] Select character code table [Format] ASCII ESC t n Hex 1B 74 n Decimal 27 116 n [Range] 0 ≤ n ≤ 5 n = 255 ESC t n selects a page n from the character code table as follows. The default setting is page 0 (n=0). The alphanumeric characters (20H (decimal ...
Page 23 - ESC –
1-14 Command Descriptions Rev. A ESC – n [Name] Turn underline mode on/off [Format] ASCII ESC – n Hex 1B 2D n Decimal 27 45 n [Range] 0 ≤ n ≤ 2 48 ≤ n ≤ 50 ESC – n turns underline mode on or off. When n=1 or 49, underline mode (one-dot width) is turned on; when n=2 or 50, underline mode (two-dot wid...
Page 24 - Command Descriptions 1-15; ESC G
Rev. A Command Descriptions 1-15 TM-T88/T88P (TM-T85/T85P) Information Manual ESC G n [Name] Turn double-strike mode on/off [Format] ASCII ESC G n Hex 1B 47 n Decimal 27 71 n [Range] 0 ≤ n ≤ 255 ESC G n turns double-strike mode on or off. When the LSB (least significant bit) of n is 1, double- strik...
Page 26 - Command Descriptions 1-17; Turn white/black reverse printing mode on/off; GS B
Rev. A Command Descriptions 1-17 TM-T88/T88P (TM-T85/T85P) Information Manual Character Width Selection Character Height Selection . GS B n [Name] Turn white/black reverse printing mode on/off [Format] ASCII GS B n Hex 1D 42 n Decimal 29 66 n [Range] 0 ≤ n ≤ 255 GS B n turns white/black reverse prin...
Page 27 - GS b
1-18 Command Descriptions Rev. A GS b n [Name] Turn smoothing mode on/off [Format] ASCII GS b n Hex 1D 62 n Decimal 29 98 n [Range] 0 ≤ n ≤ 255 GS b n turns smoothing mode on or off. When the LSB (least significant bit) of n is 1, smoothing mode is turned on; when it is 0, smoothing mode is turned o...
Page 28 - Command Descriptions 1-19; Panel Button Command; Paper Sensor Commands
Rev. A Command Descriptions 1-19 TM-T88/T88P (TM-T85/T85P) Information Manual Panel Button Command TheTM-T88/T88P ( TM-T85/T85P) supports the following command for enabling and disabling the panel button ( FEED ): Command Name ESC c 5 Enable/disable panel buttons ESC c 5 n [Name] Enable/disable pane...
Page 29 - ESC c 4; PAPER OUT; ESC c 3
1-20 Command Descriptions Rev. A [Range] 0 ≤ n ≤ 255 ESC c 4 n selects whether to stop printing or not when the paper near end is detected. The paper roll near-end sensor is enabled when either bit 0 or bit 1 is on. When a paper near-end is detected, printing stops after printing the current line. T...
Page 30 - Command Descriptions 1-21; Print Position Commands
Rev. A Command Descriptions 1-21 TM-T88/T88P (TM-T85/T85P) Information Manual Print Position Commands The TM-T88/T88P ( TM-T85/T85P) supports the following commands for setting the print position: Command Name ESC $ Set absolute print position ESC \ Set relative print position ESC a Select justifica...
Page 31 - ESC a
1-22 Command Descriptions Rev. A ESC \ n L n H [Name] Set relative print position [Format} ASCII ESC \ n L n H Hex 1B 5C n L n H Decimal 27 92 n L n H [Range] 0 ≤ n L ≤ 255 0 ≤ n H ≤ 255 ESC $ n L n H sets the print starting position to ( n L + n H × 256) × (horizontal or vertical motion unit) from ...
Page 32 - Command Descriptions 1-23
Rev. A Command Descriptions 1-23 TM-T88/T88P (TM-T85/T85P) Information Manual ESC a n aligns all the data in one line to a specified position. Left justification is selected when n=0 or 48, centering is selected when n=1 or 49, and right justification is selected when n=2 or 50. The default setting ...
Page 33 - GS L
1-24 Command Descriptions Rev. A GS L n L n H [Name] Set left margin [Format] ASCII GS L n L n H Hex 1D 4C n L n H Decimal 29 76 n L n H [Range] 0 ≤ n L ≤ 255 0 ≤ n H ≤ 255 GS W n L n H [Name] Set printing area width [Format] ASCII GS W n L n H Hex 1D 57 n L n H Decimal 29 87 n L n H [Range] 0 ≤ n L...
Page 34 - Command Descriptions 1-25; ESC W
Rev. A Command Descriptions 1-25 TM-T88/T88P (TM-T85/T85P) Information Manual If the above commands set the printing area width to less than the width of one character, the printing area width is extended to accommodate one character for the line. The horizontal motion unit uses the horizontal value...
Page 35 - ESC T n; Select print direction in page mode; ESC T
1-26 Command Descriptions Rev. A ESC T n [Name] Select print direction in page mode [Format] ASCII ESC T n Hex 1B 54 n Decimal 27 84 n [Range] 0 ≤ n ≤ 3 48 ≤ n ≤ 51 ESC T n sets the print direction and starting position in page mode specified by n as shown below. The default setting is n=0. This com...
Page 36 - Command Descriptions 1-27
Rev. A Command Descriptions 1-27 TM-T88/T88P (TM-T85/T85P) Information Manual If the starting position is the lower left or upper right of the printing area (n = 1, 3, 49, or 51): ❏ These commands use horizontal motion units: ESC 3, ESC J, GS $, GS \ ❏ These commands use vertical motion units: ESC S...
Page 37 - m n
1-28 Command Descriptions Rev. A The horizontal and vertical motion units set by GS P is used for the print direction set by ESC T. If the excessive printing area is selected, it is ignored. Bit-Image Commands The TM-T88/T88P (TM-T85/T85P) supports the following bit-image commands: Command Name ESC ...
Page 38 - Command Descriptions 1-29; ESC
Rev. A Command Descriptions 1-29 TM-T88/T88P (TM-T85/T85P) Information Manual ESC ✻ m n L n H d1 ... dk selects a bit-image mode using m for the number of dots specified by ( n L + n H × 256). Set a bit to 1 to print a dot, or set a bit to 0 to not print a dot. d indicates the bit image data. The mo...
Page 39 - GS; ) defines a downloaded bit image using x
1-30 Command Descriptions Rev. A GS / m [Name] Print downloaded bit image [Format] ASCII GS / m Hex 1D 2F m Decimal 29 47 m [Range] 0 ≤ m ≤ 3 48 ≤ m ≤ 51 GS ✻ x y d1 ... d(x × y × 8) defines a downloaded bit image using x × 8 dots in the horizontal direction and y × 8 dots in the vertical direction....
Page 40 - Command Descriptions 1-31
Rev. A Command Descriptions 1-31 TM-T88/T88P (TM-T85/T85P) Information Manual Program Example Program Example (continued) x=16: y=5 PRINT #1, CHR$(&H1D);"*";CHR$(x);CHR$(y); FOR i=1 TO x*y*8 READ a$: d=VAL("&H"+a$) PRINT #1, CHR$(d); NEXT i PRINT #1, CHR$(&H1D);"/"...
Page 41 - Status Commands
1-32 Command Descriptions Rev. A Status Commands The TM-T88/T88P (TM-T85/T85P) supports the following status transmission commands. These commands can be used to determine the status of the printer, paper sensors, and peripheral devices connected to the printer. ESC u and ESC v are supported only by...
Page 42 - Command Descriptions 1-33
Rev. A Command Descriptions 1-33 TM-T88/T88P (TM-T85/T85P) Information Manual First byte (printer information) Second byte (printer information) * For TM-T88/T88P, bit 6 is on when a head temperature error occurs and the cover is open during printing. For TM-T85/T85P, bit 6 is on when a head tempera...
Page 43 - Transmit status; GS r
1-34 Command Descriptions Rev. A Third byte (paper sensor information) * For TM-T88/T88P, when the cover is open, paper detection may be incorrect. Fourth byte (paper sensor information) GS r n [Name] Transmit status [Format] ASCII GS r n Hex 1D 72 n Decimal 29 114 n [Range] n = 1, 2, 49, 50 GS r n ...
Page 44 - Command Descriptions 1-35; DLE EOT; n transmits the specified status in real time.
Rev. A Command Descriptions 1-35 TM-T88/T88P (TM-T85/T85P) Information Manual * For TM-T88/T88P, when the cover is open, paper detection may be incorrect. Drawer kick-out connector status (n=2, 50). DLE EOT n [Name] Real-time status transmission [Format] ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n [R...
Page 46 - Command Descriptions 1-37
Rev. A Command Descriptions 1-37 TM-T88/T88P (TM-T85/T85P) Information Manual Error status (n=3) * For TM-T88/T88P, bit 6 is on when a head temperature error occurs and the cover is open during printing. For TM-T85/T85P, bit 6 is on when a head temperature error occurs. Paper roll sensor status (n=4...
Page 47 - ESC u
1-38 Command Descriptions Rev. A ESC u n [Name] Transmit peripheral device status [Format] ASCII ESC u n Hex 1B 75 n Decimal 27 117 n [Range] n = 0, 48 ESC u n transmits the status of drawer kick-out connector pin 3 as 1 byte of data when n=0 or 48. This command allows the host to determine the stat...
Page 48 - Command Descriptions 1-39; Paper sensor status; Bar Code Commands
Rev. A Command Descriptions 1-39 TM-T88/T88P (TM-T85/T85P) Information Manual Paper sensor status Bar Code Commands The TM-T88/T88P (TM-T85/T85P) supports the following bar code commands: Command Name GS h Set bar code height GS w Set bar code width GS k Print bar code GS H Select printing position ...
Page 49 - Set bar code width; GS w
1-40 Command Descriptions Rev. A GS w n [Name] Set bar code width [Format] ASCII GS w n Hex 1D 77 n Decimal 29 119 n [Range] 2 ≤ n ≤ 6 GS w n selects the horizontal size of a bar code. n specifies the bar code width as shown below. The multilevel bar codes are UPC-A, UPC-E, JAN13 (EAN13), JAN8 (EAN8...
Page 50 - Command Descriptions 1-41
Rev. A Command Descriptions 1-41 TM-T88/T88P (TM-T85/T85P) Information Manual Program Example Print Sample PRINT #1, CHR$(&H1D);"w";CHR$(3); ← Set width size to 3 PRINT #1, CHR$(&H1D);"k";CHR$(2); ← Print bar code PRINT #1, "496595707379";CHR$(0); PRINT #1, CHR$(&...
Page 51 - GS k
1-42 Command Descriptions Rev. A ➀ GS k m d1 ... dk NUL ➁ GS k m n d1 ... dn [Name] Print bar code [Format] ➀ ASCII GS k m d1 ... dk NUL Hex 1D 6B m d1 ... dk 00 Decimal 29 107 m d1 ... dk 0 ➁ ASCII GS k m n d1 ... dn Hex 1D 6B m n d1 ... dn Decimal 29 107 m n d1 ... dn [Range] ➀ 0 ≤ m ≤ 6 (k and d ...
Page 52 - Command Descriptions 1-43; GS H
Rev. A Command Descriptions 1-43 TM-T88/T88P (TM-T85/T85P) Information Manual GS H n [Name] Select printing position of HRI characters [Format] ASCII GS H n Hex 1D 48 n Decimal 29 72 n [Range] 0 ≤ n ≤ 3 48 ≤ n ≤ 51 GS f n [Name] Select font for HRI characters [Format] ASCII GS f n Hex 1D 66 n Decima...
Page 53 - GS f; Macro Function Commands; Command Name; r t m
1-44 Command Descriptions Rev. A GS f n selects a font for the HRI characters used when printing a bar code. When n=0 or 48, the font A (12 × 24) is selected. When n=1 or 49, the font B (9 × 24) is selected. The default setting is n=0. HRI characters are printed at the position specified by GS H. Ma...
Page 54 - EPSON
Rev. A Command Descriptions 1-45 TM-T88/T88P (TM-T85/T85P) Information Manual GS : starts or ends macro definition. Macro definition starts when this command is received during normal operation and ends when it is received during macro definition. If the printer receives this command again immediate...
Page 55 - Mechanism Control Commands
1-46 Command Descriptions Rev. A Mechanism Control Commands TheTM-T88/T88P (TM-T85/T85P) supports the following mechanism control commands. Cutting is diffferent for TM-T88/T88P and TM-T85/T85P. A full cut of GS V and ESC i are supported only by TM-T85/T85P. Command Name GS V Select cut mode and cut...
Page 56 - Command Descriptions 1-47; Miscellaneous Function Commands
Rev. A Command Descriptions 1-47 TM-T88/T88P (TM-T85/T85P) Information Manual When m=66 in GS V m n, the printer feeds the paper to (cutting position + n × vertical motion unit) and executes a partial cut (one point left uncut). For TM-T85/T85P, when m=65, the printer feeds the paper to (cutting pos...
Page 57 - x y; GS P
1-48 Command Descriptions Rev. A GS P x y [Name] Set horizontal and vertical motion units [Format] ASCII GS P x y Hex 1D 50 x y Decimal 29 80 x y [Range] 0 ≤ x ≤ 255 0 ≤ y ≤ 255 GS P x y sets the horizontal and vertical motion units to 1/x and 1/y inches, respectively. The horizontal and vertical mo...
Page 58 - Command Descriptions 1-49; GS I
Rev. A Command Descriptions 1-49 TM-T88/T88P (TM-T85/T85P) Information Manual ESC @ initializes the printer. All settings, including character font and line spacing settings, are canceled. The data in the print buffer is cleared and the printer mode is reset to the mode that was in effect when the p...
Page 59 - ESC p
1-50 Command Descriptions Rev. A ESC p m t1 t2 [Name] Generate pulse [Format] ASCII ESC p m t1 t2 Hex 1B 70 m t1 t2 Decimal 27 112 m t1 t2 [Range] m = 0, 1, 48, 49 0 ≤ t1 ≤ 255 0 ≤ t2 ≤ 255 ESC p m t1 t2 sends a pulse (on time= t1 × 2 msec / off time= t2 × 2 msec) to the specified connector pin. Whe...
Page 60 - ESC L
Rev. A Command Descriptions 1-51 TM-T88/T88P (TM-T85/T85P) Information Manual When the printer is disabled, it ignores all received data with the exception of DLE ENQ 1 and DLE ENQ 2. The default setting is n =1 . If ASB is enabled when the printer is disabled by ESC =, the printer transmits a 4-byt...
Page 61 - DLE ENQ
1-52 Command Descriptions Rev. A DLE ENQ n [Name] Real-time request to printer [Format] ASCII DLE ENQ n Hex 10 05 n Decimal 16 5 n [Range] n = 1, 2 DLE ENQ n responds to a request in real time from the host computer, specified by n as shown below. When an auto-cutter error occurs, after removing a c...
Page 63 - Character Code Tables; SP
1-54 Command Descriptions Rev. A Character Code Tables SP in a table represents space. Refer to page 1-58 for information on how to read these tables. Page 0 (PC437: U.S.A., Standard Europe) (International character set: U.S.A)
Page 64 - Command Descriptions 1-55
Rev. A Command Descriptions 1-55 TM-T88/T88P (TM-T85/T85P) Information Manual Page 1 (Katakana) Page 2 (PC850: Multilingual)
Page 65 - -56 Command Descriptions
1-56 Command Descriptions Rev. A Page 3 (PC860: Portuguese) Page 4 (PC863: Canadian-French)
Page 66 - Command Descriptions 1-57
Rev. A Command Descriptions 1-57 TM-T88/T88P (TM–T85/T85P) Information Manual Page 5 (PC865: Nordic)
Page 67 - Using the Character Code Tables
1-58 Command Descriptions Rev. A Using the Character Code Tables The example below uses Page 0 (PC437) (see page 1-54) to illustrate the use of the character code tables. You can find the character “A” in Page 0 as follows: The decimal value for the character “A” is 65. Follow its column straight up...
Page 68 - Chapter 2; Application; Coupon Issuing; G L A D E; LUCKY
Rev. A Application 2-1 TM-T88/T88P (TM–T85/T85P) Information Manual Chapter 2 Application This chapter presents an example illustrating ESC/POS command functions and printing results. The example shows how to issue a coupon containing bar codes with the TM-T88. Coupon Issuing Print Sample Procedure ...
Page 70 - Command Reference 3-1; Command Reference; Command Classification
Rev. A Command Reference 3-1 TM–T88/T88P (TM–T85/T85P) Information Manual Chapter 3 Command Reference Command Classification ESC/POS printer commands in this chapter are classified by function and by sheet and grade. The sheet and grade classification is called matrix classification. The sheet class...
Page 71 - Function Type
3-2 Command Reference Rev. A Function Type Function Type Command Name Matrix Category Supported Command T88 T88M T85 Print commands LF Print and line feed Basic single ● ● ● FF 1. Print and eject cut sheet (in standard mode) Mechanical extension 2. Print and return to standard mode (in page mode) Me...
Page 72 - Command Reference 3-3
Rev. A Command Reference 3-3 TM–T88/T88P (TM–T85/T85P) Information Manual Character commands (continued) ESC z Turn parallel printing mode on/off for receipt and journal paper Mechanical extension ESC { Turn upside-down printing mode on/off Basic single ● ● ● GS ! Select character size Software exte...
Page 74 - Command Reference 3-5
Rev. A Command Reference 3-5 TM–T88/T88P (TM–T85/T85P) Information Manual Kanji control commands FS ! Select print mode(s) for Kanji characters Software extension ● FS & Select Kanji character mode Software extension ● FS – Turn underline mode on/off for Kanji characters Software extension ● FS ...
Page 75 - Reference Table
3- 6 Reference Table Command Name Function Supported Command TM- T85 TM- T88/ T88M TM- L60II TM-300/300M TM-U200 TM- U375/ U375M TM- H5000/ H5000M TM- U925 TM- U950/ U950M TM- 295 TM- 215S A B C D B D HT Horizontal tab Moves the printing position to the next horizontal tab position. ● ● ● ● ● ● ● ● ...