Page 1
ESC/POS Paper roll printers EPSON EPSON ESC/POS Commands listed by function ESC/POS Commands listed in alphanumeric order Character code tables ESC/POS Usable application programs and tips Definitions ESC/POS ESC/POS Features TM-T88II & Technical ESC/POS Information TM-L60II ESC/POS TM-U200B/D TM-U300A/B ESC/POS...
Page 2
ESC/POS C O N F I D C O N F I D C O N F I D E N T I A L ESC/POS TM-T88II EPSON EPSON ESC/POS ESC/POS Features ESC/POS Specifications Self test ESC/POS Hex dump Supported commands...
Page 3
ESC/POS C O N F I D C O N F I D C O N F I D E N T I A L ESC/POS TM-L60II EPSON EPSON ESC/POS ESC/POS Features ESC/POS Specifications Self test ESC/POS Hex dump Supported commands...
Page 4
ESC/POS C O N F I D C O N F I D C O N F I D E N T I A L ESC/POS TM-U200B/D EPSON EPSON ESC/POS ESC/POS Features ESC/POS Specifications Self test ESC/POS Hex dump Supported commands...
Page 5
ESC/POS C O N F I D C O N F I D C O N F I D E N T I A L ESC/POS TM-U300A/B EPSON EPSON ESC/POS ESC/POS Features ESC/POS Specifications Self test ESC/POS Supported commands ESC/POS...
C O N F I D E N T I A L more more Usable application programs and tips USABLE APPLICATION PROGRAMS AND TIPS System Processing This example illustrates ESC/POS command functions and printing results. It shows a receipt issue processing and its procedure using the TM-U200B.
Page 7
C O N F I D E N T I A L more more System Processing Procedure Procedure Commands used Description 1. Stamp printing Specifies a print position to the center by using the ESC a ESC 3, ESC a, ESC !, command.
C O N F I D E N T I A L more more Programming Example ← PRINT #1, CHR$(&H1B);"@"; Initializes the printer ← GOSUB stamp Prints stamp ← PRINT #1, CHR$(&H1B);"a";CHR$(1); Specifies a centered printing position ← PRINT #1, CHR$(&H1B);"!";CHR$(0); Specifies 9 x 9 font ←...
Page 9
C O N F I D E N T I A L more more Programming Example (continued) Stamp: ← PRINT #1, CHR$(&H1B);"3";CHR$(18); Sets line spacing ← PRINT #1, CHR$(&H1B);"U";CHR$(1); Selects uni-directional printing ← PRINT #1, CHR$(&H1B);"a";CHR$(1); Selects center print position ←...
Page 10
C O N F I D E N T I A L more more Programming Example (continued) ← PRINT #1, CHR$ (&H1B);”!”;CHR$(32); Selects double-height mode FOR I =1 TO 14 READ d$: PRINT #1, CHR$(VAL(“&H”+d$)); NEXT I ← PRINT #1, CHR$ (&H1B);”!”;CHR$(48); Selects double-height and double-width modes FOR I =1 TO 14 Prints stamp...
Page 11
C O N F I D E N T I A L more more Tips (Print commands) These are the print commands. All the commands have the same printing result but an operation after printing differs depending on the command. Using the appropriate command enables you to easily make an effective program for issuing a receipt.
Page 12
C O N F I D E N T I A L more more <ESC d: Print and feed n lines> The command is used to feed paper continuously. The printing result is the same as when transmitting LF n times continuously. Using ESC d enables you to feed paper smoothly and to shorten paper feed time, since LF is used for repeating one line paper feed n times.
Page 13
C O N F I D E N T I A L more more System Processing This example illustrates ESC/POS command functions and printing results. It shows a receipt issue processing with a bar code and its procedure using the TM-T88II. Set DIP switch 2-1 of the TM-T88 to On (customer display connected), insert the plug of the DM-D102 firmly into the customer display connector (DM-D) which is on the bottom of the printer, and then turn on the printer power.
Page 14
C O N F I D E N T I A L more more System Processing Procedure Procedure Commands used Description 1. Set a default Set a horizontal tab position and horizontal and vertical motion ESC @, ESC D, GS P units.
Page 15
C O N F I D E N T I A L more more Programming Example ← PRINT #1, CHR$(&H1B);"@"; Initialize the printer ← PRINT #1, CHR$(&H1B);"D";CHR$(34);CHR$(0) Set horizontal tab position ← Set a default PRINT #1, CHR$(&H1B);"P";CHR$(180);CHR$(180) Set horizontal and vertical motion units PRINT #1, CHR$(&H1D);"*";CHR$(30);CHR$(5);...
Page 16
C O N F I D E N T I A L more more Programming Example (continued) DATA 15,55,55,55,50,2A,AA,AA,AA,A8,55,55,55,55,54,A0,00,00,00,0A,40,00,00,00,04 DATA 80,00,00,00,02,40,00,00,00,04,80,00,00,00,02,48,00,00,00,04,85,00,00,00,02 DATA 4A,A0,00,00,04,85,54,00,00,02,4A,AA,80,00,04,85,55,50,00,02,40,AA,A8,00,04 DATA 80,15,54,00,02,40,02,AA,AA,A4,80,00,55,55,42,40,00,0A,AA,A4,80,00,55,55,42 DATA 40,02,AA,AA,A4,80,15,54,00,02,40,AA,A8,00,04,85,55,50,00,02,4A,AA,80,00,04 DATA 85,54,00,00,02,4A,A0,00,00,04,85,00,00,00,02,48,00,00,00,04,80,00,00,00,02 DATA 40,2A,AA,A8,04,80,55,55,54,02,40,AA,AA,AA,04,81,55,55,55,02,42,Aa,AA,AA,84 DATA 85,40,00,05,42,4A,80,00,02,A4,85,00,00,01,42,4A,80,00,02,A4,85,00,00,01,42 DATA 4A,80,00,02,A4,85,00,00,01,42,4A,80,00,02,A4,85,00,00,01,42,4A,80,00,02,A4 DATA 85,40,00,05,42,42,AA,AA,AA,84,81,55,55,55,02,40,AA,AA,AA,04,80,55,55,54,02 DATA 40,2A,AA,A8,04,80,00,00,00,02,40,00,00,00,04,80,00,00,00,02,4A,AA,AA,A8,04 DATA 85,55,55,54,02,4A,AA,AA,AA,04,85,55,55,55,02,4A,AA,AA,AA,84,80,00,00,05,42 DATA 40,00,00,02,A4,80,00,00,01,42,40,00,00,02,A4,80,00,00,01,42,40,00,00,02,A4 DATA 80,00,00,01,42,40,00,00,02,A4,80,00,00,01,42,40,00,00,02,A4,80,00,00,05,42 DATA 4A,AA,AA,AA,84,85,55,55,55,02,4A,AA,AA,AA,04,85,55,55,54,02,4A,AA,AA,A8,04...
Page 17
C O N F I D E N T I A L more more Programming Example (continued) DATA 85,55,55,55,42,4A,AA,AA,AA,A4,85,00,50,01,42,4A,80,A8,02,A4,85,00,50,01,42 DATA 4A,80,A8,02,A4,85,00,50,01,42,4A,80,A8,02,A4,85,00,50,01,42,4A,80,A8,02,A4 DATA 85,00,00,01,42,4A,80,00,02,A4,80,00,00,00,02,40,00,00,00,04,80,00,00,00,02 DATA 40,00,00,00,04,8A,AA,AA,AA,A2,45,55,55,55,44,8A,AA,AA,AA,A2,45,55,55,55,44 DATA 8A,AA,AA,AA,A2,40,00,00,00,04,80,00,00,00,02,40,00,00,00,04,80,00,00,00,02 DATA 4A,AA,AA,AA,A4,85,55,55,55,42,4A,AA,AA,AA,A4,85,55,55,55,42,4A,AA,AA,AA,A4 DATA 85,00,14,00,02,4A,80,2A,00,04,85,00,14,00,02,4A,80,2A,00,04,85,00,14,00,02 DATA 4A,80,2A,00,04,85,00,14,00,02,4A,80,2A,00,04,85,55,54,00,02,42,AA,A8,00,04 Stamp data (downloaded DATA 81,55,50,00,02,40,AA,A0,00,04,80,55,40,00,02,40,00,00,00,04,80,00,00,00,02 bit image) DATA 4A,80,00,00,04,85,00,00,00,02,4A,80,00,00,04,85,00,00,00,02,4A,80,00,00,04 DATA 85,00,00,00,02,4A,80,00,00,04,85,00,00,00,02,4A,AA,AA,AA,A4,85,55,55,55,42 DATA 4A,AA,AA,AA,A4,85,55,55,55,42,4A,AA,AA,AA,A4,85,00,00,00,02,4A,80,00,00,04...
Page 18
Tips (bar code printing) Some printers such as the TM-T88II and TM-L60II support bar code printing. ESC/POS supports UPC-A, UPC-E, JAN13(EAN13), JAN8(EAN8), CODE39, ITF (interleaved 2 of 5), CODABAR(NW7), CODE93, and CODE128. When the standard mode is selected, a bar code and a character cannot be printed on the same printing line and a ladder bar code cannot be printed.
Page 19
C O N F I D E N T I A L more more Causes for not printing a bar code: 1. The bar code width set by GS w is so large that not all data will fit in the current printing area.
Page 20
C O N F I D E N T I A L more more Page Mode Printing This example illustrates ESC/POS command functions and printing results. The example shows a coupon issue processing and its procedure using page mode function with the TM-T88II. You can use the page mode to rotate data so that you can print characters, bar codes, and bit images that would not fit in the printable area in the standard mode.
Page 21
C O N F I D E N T I A L more more System Processing Procedure Procedure Commands used Description 1. Select page mode Select page mode. ESC L, GS P Change horizontal and vertical motion units to set normal dot units.
Transmit a PRINT #1, CHR$(&HA);" Merry Christmas !!";CHR$(&HA);CHR$(&HA); message PRINT #1, CHR$(&H1D);"!";CHR$(16); PRINT #1, " 10% OFF COUPON";CHR$(&H1B);"J":CHR$(200); PRINT #1, "EPSON DEPARTMENT STORE"; PRINT #1, CHR$(&H1B);"W";CHR$(50);CHR $(0);CHR$(76);CHR$(2);CHR$(72);CHR$(0);CHR$(68);CHR$(0); ← PRINT #1, CHR$(&H1B);"T";CHR$(1); Select printing direction (bottom to up) PRINT #1, CHR$(&H1B);"3";CHR$(24);...
Page 23
C O N F I D E N T I A L more more Program Example (continued) PRINT #1, CHR$(&H1B);"W";CHR$(58);CHR $(1);CHR$(102);CHR$(0);CHR$(72);CHR$(0);CHR$(96);CHR$(0); ← PRINT #1, CHR$(&H1B);"T";CHR$(1); Select printing direction (bottom to up) PRINT #1, CHR$(&H1B);"*";CHR$(0);CHR$(48);CHR$(0) Transmit data FOR c=1 to 48 READ a$: PRINT #1, CHR$(VAL("&H"+a$));:NEXT c for symbol B PRINT #1, CHR$(&H1B);"*";CHR$(0);CHR$(48);CHR$(0) FOR c=1 to 48 READ a$: PRINT #1, CHR$(VAL("&H"+a$));:NEXT c...
Page 24
C O N F I D E N T I A L more more Program Example (continued) DATA 00,00,00,00,00,00,01,01,03,03,05,05,28,28,38,38 DATA F0,F0,38,38,28,28,05,05,03,03,01,01,00,00,00,00,00,00 Data for DATA 00,00,08,08,19,19,2A,2A,4C,4C,82,82,47,47,E2,E2 symbol A DATA 40,40,11,11,3B,3B,91,91,4C,4C,2A,2A,19,19,08,08,00,00 DATA 40,40,C0,C0,40,40,5C,5C,57,57,55,55,55,55,75,75 DATA 55,55,75,75,D5,D5,55,55,57,57,5C,5C,40,40,C0,C0,40,40 DATA 00,00,00,00,00,00,00,00,07,07,09,09,7D,7D,10,10,16,16,78,F8,FC,7C,3E,3E DATA 3E,3E,7C,FC,F8,78,16,16,10,10,7D,7D,09,09,07,07,00,00,00,00,00,00,00,00 Data for DATA 1F,1F,24,24,41,41,42,42,F1,F1,29,29,49,49,AC,AC,94,94,AC,AC,C4,C4,AC,AC symbol B DATA 94,94,AC,AC,C4,C4,AC,AC,94,94,69,69,49,49,F1,F1,42,42,41,41,24,24,1F,1F DATA F0,F0,48,48,24,24,64,64,12,12,52,52,52,52,89,89,A9,A9,89,89,99,99,C9,C9...
Page 25
Tips (standard mode/page mode) Some of the TM printers, such as the TM-T88II and the TM-L60II, support two different print modes: standard mode and page mode. The standard mode is supported by all printers and in this mode, the printers print data in the print buffer by executing the print commands (such as LF, CR, and ESC J) or when the buffer is full.
Page 26
C O N F I D E N T I A L more more Characteristics of the page mode The flexible layout enables you to execute printing which you cannot accomplish in the standard mode. Downloaded bit images or bar codes can be printed on the same line with characters at the same time. Ladder bar code printing is possible.
Page 27
System Processing This example illustrates ESC/POS command functions and printing results. The example shows how to issue a label containing bar codes. Print Sample EPSON Rental Video * 0 0 0 0 1 * NAME Jan. 10, 1998 EPSON Rental Video...
Page 28
C O N F I D E N T I A L more more Bar Codes Label Issuing Procedure Commands used Description ESC a, ESC !, LF, GS !, Sets the print position to the center with ESC a and prints a 1.
Page 29
PRINT #1, CHR$(&H1B);"a";CHR$(1); Selects center print position ← PRINT #1, CHR$(&H1B);"!";CHR$(40); Selects character print mode (emphasized + double-height + double-width) Prints a PRINT #1, "EPSON"; ← label title PRINT #1, CHR$(&H1B);"!";CHR$(8); Cancels double-width PRINT #1, "Rental Video"; CHR$(&HA); ← PRINT #1, CHR$(&H1B);"!";CHR$(0);...
Page 30
Tips (label printer) Some TM printers, such as the TM-L60II, can print on labels. ESC/POS has label commands for the mechanism control function type, such as ejecting a label or feeding paper to the print starting position and has commands such as a serial number counter that apply to the label printers.
Page 31
C O N F I D E N T I A L Serial number counter Features for the serial number counter function: 1. Operation is possible in the range of the counter values from 1 to 65535. 2. There are two counter modes, count-up and count-down. 3.
C O N F I D E N T I A L more more Character code tables CHARACTER CODE TABLES SP in a table represents space. See Using the character code tables for information on how to read these tables. Page 0 (PC437: U.S.A., Standard Europe) (International character set: U.S.A) Ver.
Page 33
C O N F I D E N T I A L more more Page 1 (Katakana) Ver. 4.0 Paper roll Character code tables p. 970...
Page 34
C O N F I D E N T I A L more more Page 2 (PC850: Multilingual) Ver. 4.0 Paper roll Character code tables p. 971...
Page 35
C O N F I D E N T I A L more more Page 3 (PC860: Portuguese) Ver. 4.0 Paper roll Character code tables p. 972...
Page 36
C O N F I D E N T I A L more more Page 4 (PC863: Canadian-French) Ver. 4.0 Paper roll Character code tables p. 973...
Page 37
C O N F I D E N T I A L more more Page 5 (PC865: Nordic) Ver. 4.0 Paper roll Character code tables p. 974...
C O N F I D E N T I A L Using the character code tables USING THE CHARACTER CODE TABLES The example below uses Page 0 (PC437) 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"...
Page 39
C O N F I D E N T I A L Features for the TM-T88II FEATURES FOR THE TM-T88II The TM-T88II and TM-T88IIP are high-quality POS printers that can print on a paper roll. The printers have the following features: High speed printing: approximately 28.4 lines/second (1/6 inch feed).
Page 40
C O N F I D E N T I A L more more Specifications for the TM-T88II SPECIFICATIONS FOR THE TM-T88II Printing specifications Printing method: Thermal line printing Printing speed: High speed mode: 28.4 lines/second maximum (1/6 inch feed) (at 24V, 20 C, Density level 2) °...
Page 41
C O N F I D E N T I A L Panel button: FEED: Feed paper roll (this button also can be used for the self test, hexadecimal dump printing, and macro printing). Panel LEDs: POWER (green): Off when the printer is off. On when the printer is on.
Page 42
C O N F I D E N T I A L more more DIP switch functions for the TM-T88II DIP SWITCH FUNCTIONS FOR THE TM-T88II Serial Interface (TM-T88II) DIP switch 1 SW Function Data receive error Ignored Convert data to “?” Receive buffer capacity 45 bytes 4K bytes...
Page 43
C O N F I D E N T I A L more more DIP switch 2 Function BUSY condition Receive buffer full Off line or receive buffer full Reserved (Do not change settings) Fixed to Off Selects print density/Low power consumption mode Reserved (Do not change settings) Fixed to Off Reserved (Do not change settings)
C O N F I D E N T I A L more more Parallel Interface (TM-T88IIP) DIP switch 1 Function Auto line feed Always enabled Always disabled Receive buffer capacity 45 bytes 4K bytes 1-3 ~1-8 Undefined — — DIP switch 2 Function Receive buffer full or...
Page 45
C O N F I D E N T I A L Print density Print density SW 2-3 SW 2-4 Low power consumption mode ON 1 Print density (Normal) 3 Print density (Dark) Ver. 4.0 Paper roll DIP switch functions for the TM-T88II p.
Page 46
C O N F I D E N T I A L Errors for the TM-T88II ERRORS FOR THE TM-T88II Automatically recoverable errors: Print head high temperature error Cover open error during printing Recoverable errors: Auto cutter error Unrecoverable errors: R/W error in memory or gate array High voltage error Low voltage error...
Page 47
C O N F I D E N T I A L Options for the TM-T88II OPTIONS FOR THE TM-T88II EPSON power supply unit, PS-170. Affixing tapes (model: DF-10). RS-485 interface board is a dealer option. Ver. 4.0 Paper roll Options for the TM-T88II p.
C O N F I D E N T I A L Self test for the TM-T88II SELF TEST FOR THE TM-T88II The self test lets you know if your printer is operating properly. It checks the control circuits, printer mechanisms, print quality, ROM version, and DIP switch setting.
Page 49
C O N F I D E N T I A L Hexadecimal dump for the TM-T88II HEXADECIMAL DUMP FOR THE TM-T88II This feature allows experienced users to see exactly what data has been received. This can be useful in finding software problems.
Page 50
C O N F I D E N T I A L TM-T88II supported commands TM-T88II SUPPORTED COMMANDS more more Classification Executing Setting Command Name Function Type Cmds Cmds Horizontal tab Print position Print and line feed Print Print and return to standard mode Print (in page mode) Print and carriage return...
Page 51
C O N F I D E N T I A L more more Classification Executing Setting Command Name Function Type Cmds Cmds Select bit-image mode Bit-image ESC – Turn underline mode on/off Character ESC 2 Select default line spacing Line spacing ESC 3 Set line spacing...
Page 52
C O N F I D E N T I A L more more Classification Executing Setting Command Name Function Type Cmds Cmds ESC W Set printing area in page mode Print position ESC \ Set relative print position Print position ESC a Select justification Print position...
Page 53
C O N F I D E N T I A L more more Classification Executing Setting Command Name Function Type Cmds Cmds GS $ Set absolute vertical print position Print position in page mode Define downloaded bit image Bit-image GS ( A Execute test print Miscellaneous...
Page 54
C O N F I D E N T I A L more more Classification Executing Setting Command Name Function Type Cmds Cmds GS a Enable/disable Automatic Status Status Back (ASB) GS b Turn smoothing mode on/off Character GS f Select font for HRI characters Bar code GS h...
Page 55
Features for the TM-L60II FEATURES FOR THE TM-L60II The TM-L60II and TM-L60IIP are line thermal printers that can print on roll paper and thermal labels. The printers have the following features: Light weight and ultra-compact size. High-speed printing: 12 lines per second.
Page 56
The power switch is on the front panel of the printer, allowing easy operation. Bidirectional parallel interface based on the IEEE 1284 Nibble/Byte Modes standard. Thermal paper or thermal label can be selected via DIP switch settings. Ver. 4.0 Paper roll Features for the TM-L60II p. 993...
Page 57
C O N F I D E N T I A L more more Specifications for the TM-L60II SPECIFICATIONS FOR THE TM-L60II Printing specifications Printing method: Thermal line printing Printing speed: Approximately 12 LPS (1/6-inch feed) 180 dpi × 180 dpi...
Page 58
On when the printer is off-line (except during paper feed using the PAPER FEED button and during the self test). Blinks when an error occurs. Interface: RS-232 (TM-L60II: serial interface) IEEE-1284 (TM-L60IIP: parallel interface) Receive buffer: 4K or 45 bytes (selectable by DIP switch) Ver.
Page 59
C O N F I D E N T I A L more more DIP switch functions for the TM-L60II DIP SWITCH FUNCTIONS FOR THE TM-L60II Serial Interface (TM-L60II) DIP switch 1 Function Data receive error Ignored Convert data to “?”...
Thermal paper I/F pin 6 reset signal Enabled Disabled I/F pin 25 reset signal Enabled Disabled Print density Print density SW 2-2 SW 2-3 1 (Light) 4 (Dark) Ver. 4.0 Paper roll DIP switch functions for the TM-L60II p. 997...
Page 61
Fixed to On (Setting must not be changed) Paper selection Thermal label Thermal paper Undefined — — Print density Print density SW 1-2 SW 1-3 1 (Light) 4 (Dark) Ver. 4.0 Paper roll DIP switch functions for the TM-L60II p. 998...
Page 62
C O N F I D E N T I A L Errors for the TM-L60II ERRORS FOR THE TM-L60II Automatically recoverable errors: Print head high temperature error Recoverable errors: Label detection error Unrecoverable errors: R/W error in memory or gate array...
Page 63
C O N F I D E N T I A L Options for the TM-L60II OPTIONS FOR THE TM-L60II EPSON power supply unit, PS-150. Ver. 4.0 Paper roll Options for the TM-L60II p. 1000...
C O N F I D E N T I A L Self test for the TM-L60II SELF TEST FOR THE TM-L60II The self test lets you know if your printer is operating properly. It checks the control circuits, printer mechanisms, print quality, ROM version, and DIP switch setting.
Page 65
C O N F I D E N T I A L Hexadecimal dump for the TM-L60II HEXADECIMAL DUMP FOR THE TM-L60II This feature allows experienced users to see exactly what data has been received. This can be useful in finding software problems.
Page 66
C O N F I D E N T I A L TM-L60II supported commands TM-L60II SUPPORTED COMMANDS more more Classification Executing Setting Command Name Function Type Cmds Cmds Horizontal tab Print position Print and line feed Print (1) Print and return to standard...
Page 67
Select standard mode Miscellaneous ESC T Select print direction in page mode Print position ESC V Turn 90° clockwise rotation mode Character on/off ESC W Set printing area in page mode Print position Ver. 4.0 Paper roll TM-L60II supported commands p. 1004...
Page 68
GS FF Print and eject label Print GS ! Select character size Character GS $ Set absolute vertical print position in Print position page mode Define downloaded bit image Bit-image Ver. 4.0 Paper roll TM-L60II supported commands p. 1005...
Page 69
Print position GS P Set horizontal and vertical motion Miscellaneous units GS W Set printing area width Print position GS \ Set relative vertical print position in Print position page mode Ver. 4.0 Paper roll TM-L60II supported commands p. 1006...
Page 70
Select font for HRI characters Bar code GS h Set bar code height Bar code GS k Print bar code Bar code GS r Transmit status Status GS w Set bar code width Bar code Ver. 4.0 Paper roll TM-L60II supported commands p. 1007...
Page 71
C O N F I D E N T I A L Features for the TM-U200 FEATURES FOR THE TM-U200 The TM-U200B, TM-U200PB, TM-U200D, and TM-U200PD are high-quality POS printers that can print on a paper roll. The printer has the following features: Compact and lightweight.
Page 72
C O N F I D E N T I A L more more Specifications for the TM-U200 SPECIFICATIONS FOR THE TM-U200 Printing specifications Printing method: 9-pin, serial impact dot matrix Printing speed: Approximately 3.5 LPS (40 columns, 16 cpi) Approximately 6.4 LPS (16 columns, 16 cpi) Character specifications 7 ×...
Page 73
C O N F I D E N T I A L Thickness: Normal paper: 0.06 mm – 0.085 mm Pressure-sensitive paper: 0.05 mm – 0.08 mm (for one sheet) Total thickness must be 0.2 mm or less. Panel buttons: FEED: Feed paper roll (this button also can be used for the self test and the hexadecimal dump printing).
Page 74
C O N F I D E N T I A L more more DIP switch functions for the TM-U200 DIP SWITCH FUNCTIONS FOR THE TM-U200 Serial Interface DIP switch 1 Function Data receive error Ignored Convert data to “?” Receive buffer capacity 40 bytes 1K bytes...
Page 75
C O N F I D E N T I A L DIP switch 2 Function Selects number of characters per line 42 CPL/35 CPL 40 CPL/33 CPL (CPL) 7 × 9 font/9 × 9 font Print head unit Ab type Ca type Pin 6 reset signal Used...
Page 76
C O N F I D E N T I A L Errors for the TM-U200 ERRORS FOR THE TM-U200 Automatically recoverable errors: Print head high temperature error Recoverable errors: Home position detection error Auto cutter error Unrecoverable errors: High voltage error Low voltage error CPU execution error Print head temperature detection circuit error...
Page 77
C O N F I D E N T I A L Options for the TM-U200 OPTIONS FOR THE TM-U200 EPSON power supply unit, PS-170. Paper roll near-end detector (a dealer option). Printer fastening tape (Model No. DF-10) Ver. 4.0...
C O N F I D E N T I A L Self test for the TM-U200 SELF TEST FOR THE TM-U200 The self test lets you know if your printer is operating properly. It checks the control circuits, printer mechanisms, print quality, ROM version, and DIP switch setting.
Page 79
C O N F I D E N T I A L Hexadecimal dump for the TM-U200 HEXADECIMAL DUMP FOR THE TM-U200 This feature allows experienced users to see exactly what data has been received. This can be useful in finding software problems.
Page 80
C O N F I D E N T I A L TM-U200 supported commands TM-U200 SUPPORTED COMMANDS more more Classification Executing Setting Command Name Function Type Cmds Cmds Horizontal tab Print position Print and line feed Print Print and carriage return Print DLE EOT Real-time status transmission...
Page 81
C O N F I D E N T I A L more more Classification Executing Setting Command Name Function Type Cmds Cmds ESC ? Cancel user-defined characters Character ESC @ Initialize printer Miscellaneous ESC D Set horizontal tab positions Print position ESC E Turn emphasized mode on/off...
Page 82
C O N F I D E N T I A L more more Classification Executing Setting Command Name Function Type Cmds Cmds ESC r Select print color Character ESC t Select character code table Character ESC { Turn upside-down printing mode Character on/off GS ( A...
Page 83
C O N F I D E N T I A L Features for the TM-U300 FEATURES FOR THE TM-U300 The TM-U300A, TM-U300B, TM-U300PA, and TM-U300PB are high-quality POS printers that can print on a paper roll. The printers have the following features: High speed printing using logic seeking.
Page 84
C O N F I D E N T I A L more more Specifications for the TM-U300 SPECIFICATIONS FOR THE TM-U300 Printing specifications Printing method: Serial impact dot matrix Printing speed: Approximately 3.5 lines/second (40 columns, 16 CPI) Approximately 5.8 lines/second (20 columns, 16 CPI) Character specifications Font A (7 ×...
Page 85
C O N F I D E N T I A L Panel LEDs: POWER (green): Off when the printer is off. On when the printer is on. PAPER (red): Off when the paper roll is adequate. On when paper roll is near-end. Blinks when the printer detects an error;...
Page 86
C O N F I D E N T I A L more more DIP switch functions for the TM-U300 DIP SWITCH FUNCTIONS FOR THE TM-U300 Serial Interface (TM-U300A and TM-U300B) DIP switch 1 Function Data receive error Ignored Convert data to “?” Receive buffer capacity 40 bytes 1K bytes...
Page 87
C O N F I D E N T I A L Transmission speed Transmission speed bits per second (BPS) SW 1-7 SW 1-8 1200 2400 4800 9600 Parallel Interface (TM-U300PA and TM-U300PB) DIP switch 1 Function Depends on Auto line feed Always enabled AUTO FEED XT signal Receive buffer capacity...
Page 88
C O N F I D E N T I A L Errors for the TM-U300 ERRORS FOR THE TM-U300 Home position detection error Auto cutter position detection error Data receive errors: If the following errors occur with a serial interface, the printer processes data depending on the setting of DIP switch 1-1.
Page 89
C O N F I D E N T I A L Options for the TM-U300 OPTIONS FOR THE TM-U300 No options. Ver. 4.0 Paper roll Options for the TM-U300 p. 1026...
Page 90
C O N F I D E N T I A L Self test for the TM-U300 SELF TEST FOR THE TM-U300 The self test lets you know if your printer is operating properly. It checks the control circuits, printer mechanisms, print quality, ROM version, and DIP switch setting.
Page 91
C O N F I D E N T I A L TM-U300 supported commands TM-U300 SUPPORTED COMMANDS more more Classification Executing Setting Command Name Function Type Cmds Cmds Horizontal tab Print position Print and line feed Print Print and carriage return Print ESC SP Set right-side character spacing...
Page 92
C O N F I D E N T I A L more more Classification Executing Setting Command Name Function Type Cmds Cmds ESC G Turn double-strike mode on/off Character ESC J Print and feed paper Print ESC K Print and reverse feed Print ESC R Select an international character set Character...
Page 93
C O N F I D E N T I A L Classification Executing Setting Command Name Function Type Cmds Cmds ESC v Transmit paper sensor status Status ESC { Turn upside-down printing mode Character on/off GS E Select head control method Miscellaneous Ver.
Page 94
C O N F I D E N T I A L more more Commands in alphanumeric order COMMANDS IN ALPHANUMERIC ORDER In this table, click any name to see the command description with program examples and print samples. The print samples are images of the printing results of the program examples; they do not represent actual printing.
Page 95
C O N F I D E N T I A L more more Command Name Function Type ESC % Select/cancel user-defined character set Character ESC & Define user-defined characters Character Select bit-image mode Bit-image ESC – Turn underline mode on/off Character ESC 2 Select default line spacing...
Page 96
C O N F I D E N T I A L more more Command Name Function Type ESC U Turn unidirectional printing mode on/off Mechanism control ESC V Turn 90° clockwise rotation mode on/off Character ESC W Set printing area in page mode Print position ESC \ Set relative print position...
Page 97
C O N F I D E N T I A L more more Command Name Function Type FS p Print NV bit image Bit-image FS q Define NV bit image Bit-image GS FF Print and eject label Print GS ! Select character size Character GS $...
Page 98
C O N F I D E N T I A L Command Name Function Type GS P Set horizontal and vertical motion units Miscellaneous GS V Select cut mode and cut paper Mechanism control GS W Set printing area width Print position GS \ Set relative vertical print position in page mode...
C O N F I D E N T I A L Command list COMMAND LIST Commands in alphanumeric order Commands arranged by function Ver. 4.0 Paper roll Command list p. 1036...
Page 100
C O N F I D E N T I A L Commands arranged by function COMMANDS ARRANGED BY FUNCTION The print samples are images of the printing results of the program examples; they do not represent actual printing. In this table, click any item to see the command description with program examples and print samples. You can also use the bookmarks on the left side of the screen.
C O N F I D E N T I A L Print commands PRINT COMMANDS Command Name Print and line feed (1) Print and return to standard mode (in page mode) (2) Print and feed label to print starting position (on label) Print and carriage return ESC FF Print data in page mode...
Page 102
C O N F I D E N T I A L [Name] Print and line feed [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] None [Description] Prints the data in the print buffer and feeds one line. [Notes] The amount of paper fed per line is based on the value set using the line spacing command (ESC 2 or ESC 3).
Page 103
C O N F I D E N T I A L more more [Name] (1) Print and return to standard mode (in page mode) [Format] ASCII Decimal [Default] None [Range] None [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description] In page mode, prints the data in the print buffer collectively and returns to standard mode.
Page 104
C O N F I D E N T I A L [Model-dependent variations] None Program Example for all printers Print Sample AAAAA PRINT #1, CHR$(&H1B);"L"; ← BBBBB Select page mode CCCCC PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); PRINT #1, CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0); CHR$(0);CHR$(60);CHR$(0);CHR$(90);CHR$(0); PRINT #1, CHR$(&H1B);"T";CHR$(0); PRINT #1, "AAAAA";...
Page 105
C O N F I D E N T I A L more more [Name] (2) Print and feed label to print starting position (on label) [Format] ASCII Decimal [Default] None [Range] None [Printers not featuring this command] TM-T88II, TM-U200B/D, TM-U300A/B [Description] Prints the data in the print buffer and feeds the next label to the print starting position.
Page 106
C O N F I D E N T I A L [Model-dependent variations] TM-L60II Program Example for all printers Print Sample PRINT #1, "AAAAA"; CHR$(&HA); AAAAA BBBBB PRINT #1, "BBBBB"; CHR$(&HC); Ver. 4.0 Paper roll Print commands p. 1043...
Page 107
C O N F I D E N T I A L TM-L60II A thermal label is selected when DIP switch 2-6 is ON with a serial interface. A thermal label is selected when DIP switch 1-7 is ON with a parallel interface.
Page 108
C O N F I D E N T I A L more more [Name] Print and carriage return [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] None [Description] Print head When auto line feed is enabled When auto line feed is disabled Executes printing and one line feed as LF This command is ignored Line thermal...
Page 109
C O N F I D E N T I A L [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D Program Example (Line thermal) Print Sample (Line thermal) ← AAAAA Auto line feed enabled PRINT #1, "AAAAA";CHR$(&HD); BBBBB BBBBB ← PRINT #1, "...
Page 110
C O N F I D E N T I A L TM-T88II Auto line feed for a parallel interface is selected by DIP switch 1-1. This printer has only a line thermal head. Ver. 4.0 Paper roll Print commands p.
Page 111
C O N F I D E N T I A L TM-L60II Auto line feed for a parallel interface is selected by DIP switch 1-1. This printer has only a line thermal head. Ver. 4.0 Paper roll Print commands...
Page 112
C O N F I D E N T I A L TM-U200B/D Auto line feed for a parallel interface is selected by DIP switch 1-1. This printer has only a serial dot head. Ver. 4.0 Paper roll Print commands p.
Page 113
C O N F I D E N T I A L more more ESC FF [Name] Print data in page mode [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description] In page mode, prints all buffered data in the printable area collectively. [Notes] This command is enabled only in page mode.
Page 114
C O N F I D E N T I A L [Model-dependent variations] None Program Example for all printers Print Sample AAAAA PRINT #1, CHR$(&H1B);"L"; ← BBBBB Select page mode CCCCC PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); PRINT #1, CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0); CHR$(0);CHR$(120);CHR$(0);CHR$(170);CHR$(0); PRINT #1, CHR$(&H1B);"T";CHR$(0); ← Select print direction AAAAA PRINT #1, "AAAAA";...
Page 115
C O N F I D E N T I A L more more ESC J [Name] Print and feed paper [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] None [Printers not featuring this command] None Prints the data in the print buffer and feeds the paper n × (vertical or horizontal motion unit). [Description] [Notes] The maximum paper feed amount is 40 inches.
Page 116
C O N F I D E N T I A L This command is used to temporarily feed a specific length without changing the line spacing set by other commands. [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D TM-U300A/B Program Example for all printers Print Sample AAAAA PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180);...
Page 117
C O N F I D E N T I A L TM-T88II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print commands ESC J p. 1054...
Page 118
C O N F I D E N T I A L TM-L60II The vertical or horizontal motion unit is specified by GS P. When a label is selected in standard mode and a paper feed amount that exceeds the length of one label is set, the printer feeds the label to the next print starting position.
Page 119
C O N F I D E N T I A L TM-U200B/D The vertical motion unit is 1/144 inches (the minimum movement amount). This value equals a half dot pitch. This command does not use the horizontal motion unit because the printer does not support Page mode.
Page 120
C O N F I D E N T I A L TM-U300A/B The vertical motion unit is 1/144 inches (the minimum movement amount). This value equals a half dot pitch. This command does not use the horizontal motion unit because the printer does not support Page mode.
Page 121
TM-U200B/D: 0 ≤ n ≤ 48 [Range] [Default] None [Printers not featuring this command] TM-T88II, TM-L60II, TM-U300A/B Prints the data in the print buffer and feeds the paper n × (vertical motion unit) in the reverse [Description] direction. [Notes] The maximum paper feed amount depends on the printer model.
Page 122
C O N F I D E N T I A L TM-U200B/D This command must not be executed continuously more than two times. The vertical motion unit is 1/144 inches (the minimum movement amount). This value equals a half dot pitch. In the reverse direction, the maximum paper feed amount is 48/144 inches.
Page 123
C O N F I D E N T I A L more more ESC d [Name] Print and feed n lines [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] None [Printers not featuring this command] None [Description] Prints the data in the print buffer and feeds n lines.
Page 124
C O N F I D E N T I A L [Model-dependent variations] TM-L60II Program Example for all printers Print Sample PRINT #1, "AAAAA"; CHR$(&HA); AAAAA PRINT #1, "BBBBB"; CHR$(&H1B);"d";CHR$(6); BBBBB PRINT #1, "CCCCC"; CHR$(&HA); ESC d used to print one line and advance the...
Page 125
C O N F I D E N T I A L TM-L60II The vertical or horizontal motion unit is specified by GS P. When a label is selected in standard mode and a paper feed amount that exceeds the length of one label is set, the printer feeds the label to the next print starting position.
Page 126
[Range] [Default] None [Printers not featuring this command] TM-T88II, TM-L60II, TM-U300A/B [Description] Prints the data in the print buffer and feeds n lines in the reverse direction. [Notes] The amount of paper fed per line is based on the value set using the line spacing command (ESC 2 or ESC 3).
Page 127
C O N F I D E N T I A L TM-U200B/D This command must not be executed continuously more than two times. In the reverse direction, the maximum paper feed amount is 48/144 inches. If the specified amount exceeds 48/144 inches, the printer only prints the data and does not feed the paper.
Page 128
C O N F I D E N T I A L more more GS FF [Name] Print and eject label [Format] ASCII Decimal [Default] None [Range] None [Printers not featuring this command] TM-T88II, TM-U200B/D, TM-U300A/B [Description] Prints the data in the print buffer and ejects the label. [Notes] This command is enabled only when a label is selected.
Page 129
C O N F I D E N T I A L [Model-dependent variations] TM-L60II Program Example for all printers Print Sample PRINT #1, "AAAAA"; CHR$(&HA); AAAAA BBBBB PRINT #1, "BBBBB"; CHR$(&H1D);CHR$(&HC); PRINT #1, "CCCCC"; CHR$(&HA); CCCCC Ver. 4.0 Paper roll...
Page 130
C O N F I D E N T I A L TM-L60II Paper LED blinks waiting for a label being peeled off. Paper feed button is used for feeding a label. A thermal label is selected when DIP switch 2-6 is ON with a serial interface.
C O N F I D E N T I A L Line spacing commands LINE SPACING COMMANDS Command Name ESC 2 Select default line spacing ESC 3 Set line spacing Ver. 4.0 Paper roll Line spacing commands p. 1068...
Page 132
Sets the line spacing to 1/6 inch. [Notes] The line spacing can be set independently in standard mode and in page mode. [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D TM-U300A/B See program example and print sample for ESC 2 and ESC Ver. 4.0...
Page 133
C O N F I D E N T I A L TM-T88II 1/6 inch is equivalent to 30 dots. Ver. 4.0 Paper roll Line spacing commands ESC 2 p. 1070...
Page 134
C O N F I D E N T I A L TM-L60II 1/6 inch is equivalent to 30 dots. Ver. 4.0 Paper roll Line spacing commands ESC 2 p. 1071...
Page 135
C O N F I D E N T I A L TM-U200B/D 1/6 inch is equivalent to 12 dots. Ver. 4.0 Paper roll Line spacing commands ESC 2 p. 1072...
Page 136
C O N F I D E N T I A L TM-U300A/B 1/6 inch is equivalent to 12 dots. Ver. 4.0 Paper roll Line spacing commands ESC 2 p. 1073...
Page 137
ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] 1/6 inch or equivalent TM-T88II, TM-L60II: n=60 TM-U200B/D, TM-U300A/B: n = 24 [Printers not featuring this command] None Sets the line spacing to n × (vertical or horizontal motion unit). [Description] [Notes] The maximum line spacing is 40 inches.
Page 138
C O N F I D E N T I A L Program example for ESC 2 and ESC 3 Program Example Print Sample AAAAA PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); 25/180-inch line spacing AAAAA 30/180-inch line spacing FOR n=25 TO 50 STEP 5 AAAAA PRINT #1, CHR$(&H1B);"3";CHR$(n);...
Page 139
C O N F I D E N T I A L TM-T88II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Line spacing commands ESC 3 p. 1076...
Page 140
C O N F I D E N T I A L TM-L60II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Line spacing commands ESC 3 p. 1077...
Page 141
C O N F I D E N T I A L TM-U200B/D The vertical motion unit is 1/144 inches (the minimum movement amount). This value equals a half dot pitch. This command does not use the horizontal motion unit because this printer does not support Page mode.
Page 142
C O N F I D E N T I A L TM-U300A/B The vertical motion unit is 1/144 inches (the minimum movement amount). This value equals a half dot pitch. This command does not use the horizontal motion unit because this printer does not support Page mode.
C O N F I D E N T I A L Character commands CHARACTER COMMANDS Command Name Cancel print data in page mode ESC SP Set right-side character spacing ESC ! Select print mode(s) ESC % Select/cancel user-defined character set ESC &...
Page 144
C O N F I D E N T I A L [Name] Cancel print data in page mode [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description] In page mode, deletes all the print data for the current printing area. [Notes] This command is enabled only in page mode If data set in the previously specified printing area is set in the currently specified printing...
Page 145
Set right-side character spacing [Format] ASCII Decimal TM-U200B/D: 0 ≤ n ≤ 255 [Range] TM-T88II, TM-L60II, TM-U300A/B: 0 ≤ n ≤ 32 [Default] n = 0 [Printers not featuring this command] None Sets the right-side character spacing to n × (horizontal or vertical motion unit).
Page 146
The right-side character spacing can be set independently in standard mode and in page mode. It is used to change the spacing between characters. [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D TM-U300A/B Program Example for all printers Print Sample PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180);...
Page 147
C O N F I D E N T I A L TM-T88II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Character commands ESC SP p. 1084...
Page 148
C O N F I D E N T I A L TM-L60II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Character commands ESC SP p. 1085...
Page 149
C O N F I D E N T I A L TM-U200B/D The horizontal motion unit is 1/160 inches (the minimum movement amount). This value equals a half dot pitch. This command does not use the vertical motion unit because the printer does not support Page mode.
Page 150
C O N F I D E N T I A L TM-U300A/B The horizontal motion unit is 1/160 inches (the minimum movement amount). This value equals a half dot pitch. This command does not use the vertical motion unit because the printer does not support Page mode.
Page 151
[Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] TM-T88II, TM-L60II: n = 0 TM-U200B/D, TM-U300A/B: n = 1 [Printers not featuring this command] None [Description] Selects or cancels print modes collectively using n as follows: Bit Off/On Hex Decimal Function Character font A selected.
Page 152
C O N F I D E N T I A L Bit Off/On Hex Decimal Function – – – Undefined. Underline mode not selected. Underline mode selected. [Notes] Functions for each bit can also be executed by the following commands: Bit 0 (character font): ESC M Bit 3 (Emphasized mode): ESC E Bit 4, 5 (character size): GS !
Page 153
When underline mode is turned on, 90° clockwise-rotated characters and white/black reverse characters cannot be underlined. The printer cannot underline the space set by HT, ESC $, and ESC \. [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D TM-U300A/B Program Example for all printers Print Sample PRINT #1, CHR$(&H1B);"!";CHR$(0);...
Page 154
C O N F I D E N T I A L TM-T88II Character configurations Bit 0: Font A: 12 × 24 Font B: 9 × 24 Ver. 4.0 Paper roll Character commands ESC ! p. 1091...
Page 155
C O N F I D E N T I A L TM-L60II Character configurations Bit 0: Font A: 12 × 24 Font B: 9 × 24 Ver. 4.0 Paper roll Character commands ESC ! p. 1092...
Page 156
C O N F I D E N T I A L TM-U200B/D Character configurations Bit 0: Font A: 9 × 9 Font B: 7 × 9 Ver. 4.0 Paper roll Character commands ESC ! p. 1093...
Page 157
C O N F I D E N T I A L TM-U300A/B Character configurations Bit 0: Font A: 9 × 9 Font B: 7 × 9 Bit 3 is undefined. This printer does not support the emphasized mode. Ver. 4.0 Paper roll Character commands ESC !
Page 158
C O N F I D E N T I A L ESC % [Name] Select/cancel user-defined character set [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] n = 0 [Printers not featuring this command] None [Description] Selects or cancels the user-defined character set. •...
Page 159
C O N F I D E N T I A L TM-U200B/D This command is effective only when the receive buffer capacity is 40 bytes (when DIP switch 1-2 is ON). Ver. 4.0 Paper roll Character commands ESC % p.
Page 160
0 ≤ x ≤ 12 (Font A (12 × 24)) 0 ≤ x ≤ 9 (Font B (9 × 24)) 0 ≤ d ≤ 255 k = c2–c1+1 TM-L60II: y = 3 32 ≤ c1 ≤ c2 ≤ 126 0 ≤ x ≤ 12 (Font A (12 × 24)) 0 ≤...
Page 161
C O N F I D E N T I A L more more TM-U300A/B: y = 2 32 ≤ c1 ≤ c2 ≤ 126 0 ≤ x ≤ 12 (Font A (9 × 9)) 0 ≤ x ≤ 10 (Font B (7 × 9)) 0 ≤...
Page 162
C O N F I D E N T I A L Once the user-defined characters have been defined, they are available until ESC ?, GS , or ESC @, is executed; the user-defined characters are redefined; the power is turned off; or the printer is reset.
Page 163
C O N F I D E N T I A L TM-U200B/D The dots adjoining each other horizontally cannot be printed. Only the MSB can be printed in the second byte for vertical direction. This command is effective only when the receive buffer capacity is 40 bytes (when DIP switch 1-2 is ON).
Page 164
C O N F I D E N T I A L TM-U300A/B The dots adjoining each other horizontally cannot be printed. Only the MSB can be printed in the second byte for vertical direction. The maximum number of user-defined characters differs depending on the receive buffer capacity as described below.
Page 165
ESC – [Name] Turn underline mode on/off [Format] ASCII – Decimal TM-L60II : 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Range] TM-T88II, TM-U200B/D: n = 0, 1, 48, 49 [Default] n = 0 [Printers not featuring this command]...
Page 166
C O N F I D E N T I A L This command and bit 7 of ESC ! turn on and off underline mode in the same way. Some of the printer models support the 2-dot thick underline (n = 2 or 5). [Model-dependent variations] None Program Example for all printers...
Page 167
C O N F I D E N T I A L ESC ? [Name] Cancel user-defined characters [Format] ASCII Decimal 32 ≤ n ≤ 126 [Range] [Default] None [Printers not featuring this command] TM-U300A/B [Description] Cancels the user-defined characters defined for the character code n. [Notes] After the user-defined characters are canceled, the resident character set is printed.
Page 168
C O N F I D E N T I A L Program example for ESC %, ESC &, and ESC ? Program Example Program Example (continued) PRINT #1, CHR$(&H1B);"&";CHR$(2);"AC"; DATA &H18,&H00,&H00,&H00,&H3C,&H00,&H00,&H00 PRINT #1, CHR$(9); DATA &H7E,&H00,&H00,&H00,&H3C,&H00,&H00,&H00 FOR i=1 TO 2*9 DATA &H18,&H00 READ d: PRINT #1, CHR$(d);...
Page 169
C O N F I D E N T I A L TM-U200B/D This command is effective only when the receive buffer capacity is 40 bytes (when DIP switch 1-2 is ON). Ver. 4.0 Paper roll Character commands ESC ? p.
Page 170
C O N F I D E N T I A L ESC E [Name] Turn emphasized mode on/off [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] n = 0 [Printers not featuring this command] TM-U300A/B [Description] Turns emphasized mode on or off. •...
Page 171
C O N F I D E N T I A L ESC G [Name] Turn double-strike mode on/off [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] n = 0 [Printers not featuring this command] TM-U300A/B [Description] Turns double-strike mode on or off. •...
Page 172
Select character font [Format] ASCII Decimal [Range] n = 0, 1, 48, 49 [Default] n = 0 [Printers not featuring this command] TM-L60II, TM-U200B/D, TM-U300A/B [Description] Selects a character font, using n as follows: Font 0, 48 Font A 1, 49...
Page 173
C O N F I D E N T I A L [Model-dependent variations] TM-T88II Program Example for all printers Print Sample AAAAA ← Font A PRINT #1, CHR$(&H1B);"M";CHR$(0);← Select font A ← PRINT #1, "AAAAA";CHR$(&HA); BBBBB Font B PRINT #1, CHR$(&H1B);"M";CHR$(1); ← Select font B PRINT #1,"BBBBB";CHR$(&HA);...
Page 174
C O N F I D E N T I A L TM-T88II Character configurations Font A: (12 x 24) Font B: (9 x 17) Ver. 4.0 Paper roll Character commands ESC M p. 1111...
Page 175
C O N F I D E N T I A L more more ESC R [Name] Select an international character set [Format] ASCII Decimal 0 ≤ n ≤ 10 [Range] [Default] n = 0 [Printers not featuring this command] None Ver.
Page 176
C O N F I D E N T I A L more more [Description] Selects an international character set n as follows: ASCII code Country 123 124 125 126 U.S.A. ¦ France à ° ç § é ù è ¨...
Page 177
C O N F I D E N T I A L [Model-dependent variations] None Program Example for all printers Print Sample ← n =0 (Default setting) FOR n=0 TO 10 ¦ ← n =1 PRINT #1, CHR$(&H1B);"R";CHR$(n); à ° ç...
Page 178
[Name] Turn 90° clockwise rotation mode on/off [Format] ASCII Decimal [Range] TM-T88II, TM-L60II : n = 0, 1, 48, 49 [Default] n = 0 [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description] In standard mode, turns 90° clockwise rotation mode on or off, using n as follows:...
Page 179
C O N F I D E N T I A L Some printer models support 90° clockwise rotation mode when n = 2 or 50. Some printer models have a font for which 90° clockwise rotation mode is not effective. [Model-dependent variations] None Program Example for all printers...
Page 180
[Range] TM-U200B/D: n = 0, 1, 48, 49 TM-U300A/B: n = 0, 1 [Default] n = 0 [Printers not featuring this command] TM-T88II, TM-L60II [Description] Selects a print color, using n as follows: Print color 0, 48 Black 1, 49...
Page 181
C O N F I D E N T I A L [Model-dependent variations] TM-U200B/D Program Example for all printers Print Sample ← Red PRINT #1, CHR$(&H1B);"r";CHR$(1);← Select red AAAAA BBBBB ← Black PRINT #1, "AAAAA";CHR$(&HA); PRINT #1, CHR$(&H1B);"r";CHR$(0); ← Select black PRINT #1,"BBBBB";CHR$(&HA);...
Page 182
C O N F I D E N T I A L TM-U200B/D This command is enabled with the two-color model. Ver. 4.0 Paper roll Character commands ESC r p. 1119...
Page 183
Select character code table [Format] ASCII Decimal TM-U300A/B: 0 ≤ n ≤ 5, n = 255 [Range] TM-T88II, TM-L60II, TM-U200B/D: 0 ≤ n ≤ 5, n = 254, 255 [Default] n = 0 [Printers not featuring this command] None [Description]...
Page 184
C O N F I D E N T I A L [Note] The alphanumeric characters (20H (decimal 32) to 7FH (decimal 127)) are the same for each page. The extended characters (80H (decimal 128) to FFH (decimal 255)) are different for each page.
Page 185
C O N F I D E N T I A L more more ESC { [Name] Turn upside-down printing mode on/off [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] n = 0 [Printers not featuring this command] None [Description] In standard mode, turns upside-down printing mode on or off.
Page 186
C O N F I D E N T I A L [Model-dependent variations] None Program Example for all printers Print Sample PRINT #1, CHR$(&H1B);"{";CHR$(0); ← Cancel Normal printing PRINT #1, "ABCDE"; CHR$(&HA); ABCDE PRINT #1, "BCDEF"; CHR$(&HA); BCDEF PRINT #1, CHR$(&H1B);"{";CHR$(1); ← Select PRINT #1, "ABCDE";...
Page 187
TM-T88II, 0 ≤ n ≤ 7, 16 ≤ n ≤ 23, 32 ≤ n ≤ 39, 48 ≤ n ≤ 55, TM-L60II: 64 ≤ n ≤ 71, 80 ≤ n ≤ 87, 96 ≤ n ≤ 103, 112 ≤ n ≤ 119 (1 ≤...
Page 188
C O N F I D E N T I A L Character width selection Character height selection Bit6 Bit5 Bit4 Hex Decimal Width Bit2 Bit1 Bit0 Hex Decimal Height [Notes] The character size set by this command is effective for all characters (except for HRI characters).
Page 189
C O N F I D E N T I A L [Model-dependent variations] None Program Example for all printers Print Sample AAAAA ← PRINT #1, CHR$(&H1D);"!";CHR$(17); Select quadruple (double-height x double-width) PRINT #1, "AAAAA"; CHR$(&HA); BBBBB PRINT #1, CHR$(&H1D);"!";CHR$(0); PRINT #1, "BBBBB";...
Page 190
C O N F I D E N T I A L more more GS B [Name] Turn white/black reverse printing mode on/off [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] n = 0 [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description]...
Page 191
C O N F I D E N T I A L [Model-dependent variations] None Program Example for all printers Print Sample ← AAAAA PRINT #1, CHR$(&H1D);"B";CHR$(1); ← Select White/black reverse printing BBBBB ← Normal printing PRINT #1, "AAAAA"; CHR$(&HA); PRINT #1, CHR$(&H1D);"B";CHR$(0);...
Page 192
C O N F I D E N T I A L GS b [Name] Turn smoothing mode on/off [Format] ASCII Decima 0 ≤ n ≤ 255 [Range] [Default] n = 0 [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description] Turns smoothing mode on or off.
C O N F I D E N T I A L Panel button command PANEL BUTTON COMMAND Command Name ESC c 5 Enable/disable panel buttons Ver. 4.0 Paper roll Panel button command p. 1130...
Page 194
C O N F I D E N T I A L more more ESC c 5 [Name] Enable/disable panel buttons [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] n = 0 [Printers not featuring this command] None [Description] Enables or disables the panel buttons.
Page 195
C O N F I D E N T I A L [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D TM-U300A/B Program Example for all printers PRINT #1, CHR$(&H1B);"c5";CHR$(1); ← Disable panel buttons Ver. 4.0 Paper roll Panel button command ESC c 5...
Page 196
C O N F I D E N T I A L TM-T88II The panel button is FEED. When the cover is open and the paper roll end sensor detects a paper end, the FEED button is disabled regardless of the setting of this command. Ver.
Page 197
C O N F I D E N T I A L TM-L60II The panel button is PAPER FEED. When the cover is open, the PAPER FEED is enabled regardless of the settings of this command. When the paper roll end sensor detects a paper end, the PAPER FEED is disabled regardless of the settings of this command.
Page 198
C O N F I D E N T I A L TM-U200B/D The panel button is PAPER FEED. Ver. 4.0 Paper roll Panel button command ESC c 5 p. 1135...
Page 199
C O N F I D E N T I A L TM-U300A/B The panel button is FEED. When the cover is open, this button is enabled regardless of the settings of this command. Ver. 4.0 Paper roll Panel button command ESC c 5 p.
C O N F I D E N T I A L Paper sensor commands PAPER SENSOR COMMANDS Command Name ESC c 3 Select paper sensor(s) to output paper-end signals ESC c 4 Select paper sensor(s) to stop printing Ver. 4.0 Paper roll Paper sensor commands p.
Page 201
0 ≤ n ≤ 255 [Range] [Default] TM-T88II, TM-U200B/D: n = 15, TM-L60II, TM-U300A/B: n = 3 [Printers not featuring this command] None [Description] Selects whether to output paper-end signals to a parallel interface or not when a paper-end is...
Page 202
C O N F I D E N T I A L [Notes] This command is enabled only with a parallel interface and is ignored with a serial interface. The paper roll near-end sensor is enabled when either bit 0 or bit 1 is on or both are on. The paper roll end sensor is enabled when either bit 2 or bit 3 is on or both are on.
Page 203
C O N F I D E N T I A L TM-U200B/D The paper roll near-end sensor is an option. If the paper roll near-end sensor is not equipped, this printer does not detect a paper roll near-end. Ver. 4.0 Paper roll Paper sensor commands ESC c 3...
Page 204
C O N F I D E N T I A L TM-U300A/B Bits 1 and 3 are undefined. Ver. 4.0 Paper roll Paper sensor commands ESC c 3 p. 1141...
Page 205
[Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] TM-T88II, TM-L60II, TM-U200B/D, TM-U300A/B: n = 0 [Printers not featuring this command] None [Description] Selects whether to stop printing or not when the paper runs out using n as follows:...
Page 206
Paper LED comes on. When a paper roll end is detected, the printer performs the same operations as when a paper roll near-end is detected. [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D TM-U300A/B Program Example for all printers PRINT #1, CHR$(&H1B);"c4";CHR$(1); ←...
Page 207
C O N F I D E N T I A L TM-T88II Bits 2 and 3 are undefined. The paper roll end sensor is always enabled and when it detects a paper-end, the printer stops printing. When a paper roll near-end or a paper roll end are detected, the PAPER OUT LED comes on. Ver.
Page 208
C O N F I D E N T I A L TM-L60II Bits 2 and 3 are undefined. The paper roll end sensor is always enabled and when it detects a paper-end, the printer stops printing. When a paper roll near-end or a paper roll end are detected, the PAPER LED comes on.
Page 209
C O N F I D E N T I A L TM-U200B/D Bits 2 and 3 are undefined. When a paper roll near-end or a paper roll end is detected, the PAPER OUT LED comes on. The paper roll end sensor is always enabled and when it detects a paper-end, the printer stops printing.
Page 210
C O N F I D E N T I A L TM-U300A/B Bits 1 and 3 are undefined. When a paper roll near-end or a paper roll end is detected, the PAPER OUT LED comes on. Ver. 4.0 Paper roll Paper sensor commands ESC c 4 p.
C O N F I D E N T I A L Print position commands PRINT POSITION COMMANDS Command Name Horizontal tab ESC $ Set absolute print position ESC D Set horizontal tab positions ESC T Select print direction in page mode ESC W Set printing area in page mode ESC \...
Page 212
C O N F I D E N T I A L [Name] Horizontal tab [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] None [Description] Moves the printing position to the next horizontal tab. [Notes] This command is ignored unless the next horizontal tab position has been set. Horizontal tab positions are set by ESC D.
Page 213
C O N F I D E N T I A L TM-U200B/D This command is effective only when the receive buffer capacity is 40 bytes (when DIP switch 1-2 is ON). Ver. 4.0 Paper roll Print position commands p. 1150...
Page 214
When a left margin is set in standard mode, the position of the left margin is the beginning of the line. [Model-dependent variations] TM-T88II TM-L60II See program example and print sample for ESC $ and ESC Ver. 4.0 Paper roll...
Page 215
C O N F I D E N T I A L TM-T88II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print position commands ESC $ p. 1152...
Page 216
C O N F I D E N T I A L TM-L60II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print position commands ESC $ p. 1153...
Page 217
C O N F I D E N T I A L more more ESC D [Name] Set horizontal tab positions [Format] ASCII n1 ... nk n1 ... nk Decimal n1 ... nk 1 ≤ n ≤ 255 [Range] 0 ≤ k ≤ 32 [Default] n = 8, 16, 24, 32, ...
Page 218
C O N F I D E N T I A L [Model-dependent variations] TM-U200B/D See program example and print sample for HT and ESC Ver. 4.0 Paper roll Print position commands ESC D p. 1155...
Page 219
C O N F I D E N T I A L TM-U200B/D This command is effective only when the receive buffer capacity is 40 bytes (when DIP switch 1-2 is ON). Ver. 4.0 Paper roll Print position commands ESC D p.
Page 220
C O N F I D E N T I A L Program example for HT and ESC D Program Example Print Sample 0123456789012345678901234567890123456 PRINT #1, "0123456789012345678901234567890123456"; PRINT #1, CHR$(&HA); FOR i=1 TO 4 ↑ ↑ ↑ PRINT #1, CHR$(&H9); "H"; ← Execute HT NEXT i : PRINT #1, CHR$(&HA);...
Page 221
C O N F I D E N T I A L more more ESC T [Name] Select print direction in page mode [Format] ASCII Decimal 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 [Range] [Default] n = 0 [Printers not featuring this command] TM-U200B/D, TM-U300A/B...
Page 222
C O N F I D E N T I A L • If the starting position is the upper left or lower right of the printing area: These commands use horizontal motion units: ESC SP, ESC $, ESC \ These commands use vertical motion units: ESC 3, ESC J, GS $, GS \ •...
Page 223
Printing area width and printing area height = entire printable area TM-T88II: dxL = 0, dxH = 2, dyL = 126, dyH = 6 TM-L60II: dxL = 128, dxH = 1 (when thermal paper is selected) dxL = 112, dxH = 1 (when thermal label is selected)
Page 224
This command setting has no effect in standard mode. If this command is processed in standard mode, the logical origin and the printing area are set and they are enabled when the printer selects page mode. [Model-dependent variations] TM-T88II TM-L60II Program Example for all printers Print Sample PRINT #1, CHR$(&H1B);"L";← AAAAA...
Page 225
C O N F I D E N T I A L TM-T88II The vertical or horizontal motion unit is specified by GS P. The printable area width is 512/180 inches and the printable area height is 1662/360 inches. Ver. 4.0 Paper roll Print position commands ESC W...
Page 226
C O N F I D E N T I A L TM-L60II The vertical or horizontal motion unit is specified by GS P. The printable area height is 2216/360 inches and the printable area width is as follows: • When a thermal paper is selected, it is 384/180 inches.
Page 227
C O N F I D E N T I A L more more ESC \ [Name] Set relative print position [Format] ASCII Decimal 0 ≤ nL ≤ 255 [Range] 0 ≤ nH ≤ 255 [Default] None [Printers not featuring this command] TM-U200B/D, TM-U300A/B Moves the print starting position to (nL + nH ×...
Page 228
C O N F I D E N T I A L [Model-dependent variations] TM-T88II TM-L60II See program example and print sample for ESC $ and ESC Ver. 4.0 Paper roll Print position commands ESC \ p. 1165...
Page 229
C O N F I D E N T I A L Program example for ESC $ and ESC \ Program Example Print Sample 90/180 inch PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); PRINT #1, "ABCD"; ABCD EFGH PRINT #1, CHR$(&H1B);"$";CHR$(90);CHR$(0); ← Set absolute position ABCD EFGH PRINT #1, "EFGH";...
Page 230
C O N F I D E N T I A L TM-T88II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print position commands ESC \ p. 1167...
Page 231
C O N F I D E N T I A L TM-L60II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print position commands ESC \ p. 1168...
Page 232
C O N F I D E N T I A L more more ESC a [Name] Select justification [Format] ASCII Decimal 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Range] [Default] n = 0 [Printers not featuring this command] TM-U300A/B [Description] In standard mode, aligns all the data in one line to a specified position, using n as follows:...
Page 233
C O N F I D E N T I A L [Model-dependent variations] None Program Example for all printers Print Sample FOR n=0 TO 2 ABCD ESC a 0 PRINT #1, CHR$(&H1B);"a";CHR$(n); ABCDE PRINT #1, "ABC"; CHR$(&HA); ABCD PRINT #1, "ABCD"; CHR$(&HA); ESC a 1 ABCDE PRINT #1, "ABCDE";...
Page 234
• When the starting position is set to the upper right or lower left of the printing area using ESC T, the horizontal motion unit is used. [Model-dependent variations] TM-T88II TM-L60II See program example and print sample for GS $ and GS Ver. 4.0 Paper roll...
Page 235
C O N F I D E N T I A L TM-T88II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print position commands GS $ p. 1172...
Page 236
C O N F I D E N T I A L TM-L60II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print position commands GS $ p. 1173...
Page 237
If this command and GS W 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. [Model-dependent variations] TM-T88II TM-L60II See program example and print sample for GS L and GS Ver. 4.0 Paper roll...
Page 238
C O N F I D E N T I A L TM-T88II The horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print position commands GS L p. 1175...
Page 239
C O N F I D E N T I A L TM-L60II The horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print position commands GS L p. 1176...
Page 240
[Default] Entire printable area TM-T88II: nL = 0, nH = 2 TM-L60II: nL = 128, nH = 1 (when thermal paper is selected) nL = 112, nH = 1 (when thermal label is selected) [Printers not featuring this command] TM-U200B/D, TM-U300A/B In standard mode, sets the printing area width to (nL + nH ×...
Page 241
C O N F I D E N T I A L [Model-dependent variations] TM-T88II TM-L60II See program example and print sample for GS L and GS Ver. 4.0 Paper roll Print position commands GS W p. 1178...
Page 242
C O N F I D E N T I A L TM-T88II The horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print position commands GS W p. 1179...
Page 243
C O N F I D E N T I A L TM-L60II The horizontal motion unit is specified by GS P. When DIP switch 2-6 is off with a serial interface or DIP switch 1-7 is off with a parallel interface, a thermal paper is selected.
Page 244
C O N F I D E N T I A L Program example for GS L and GS W Program Example Print Sample PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); 01234567890123456789 PRINT #1, "01234567890123456789"; CHR$(&HA); 0123456789 PRINT #1, CHR$(&H1D);"L";CHR$(60);CHR$(0); ← Set left margin 0123456789 PRINT #1, CHR$(&H1D);"W";CHR$(120);CHR$(0);...
Page 245
C O N F I D E N T I A L more more GS \ [Name] Set relative vertical print position in page mode [Format] ASCII Decimal 0 ≤ nL ≤ 255 [Range] 0 ≤ nH ≤ 255 [Default] None [Printers not featuring this command] TM-U200B/D,...
Page 246
C O N F I D E N T I A L [Model-dependent variations] TM-T88II TM-L60II See program example and print sample for GS $ and GS Ver. 4.0 Paper roll Print position commands GS \ p. 1183...
Page 247
C O N F I D E N T I A L Program example for GS $ and GS \ Program Example Print Sample PRINT #1, CHR$(&H1B);"L"; ← Select page mode AAAAA PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); BBBBB PRINT #1, CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0);CHR$(0); 90/180 inch CHR$(180);CHR$(0);CHR$(144);CHR$(1);...
Page 248
C O N F I D E N T I A L TM-T88II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print position commands GS \ p. 1185...
Page 249
C O N F I D E N T I A L TM-L60II The vertical or horizontal motion unit is specified by GS P. Ver. 4.0 Paper roll Print position commands GS \ p. 1186...
C O N F I D E N T I A L Bit-image commands BIT-IMAGE COMMANDS Command Name Select bit-image mode FS p Print NV bit image FS q Define NV bit image Define downloaded bit image GS / Print downloaded bit image GS v 0 Print raster bit image Ver.
Page 252
C O N F I D E N T I A L more more [Description] Selects a bit-image mode using m for the number of dots specified by (nL + nH × 256), as follows: Number of Bits Dot Density in Mode for Vertical data Horizontal...
Page 253
C O N F I D E N T I A L [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D TM-U300A/B Program Example for all printers Print Sample ← 8-dot single-density m=0: GOSUB bitimage8 ← 8-dot double-density m=1: GOSUB bitimage8 m =0 m =1 bitimage8: PRINT #1, CHR$(&H1B);"...
Page 254
C O N F I D E N T I A L TM-T88II The modes selectable by m are as follows: Vertical Dot Horizontal Mode Density Dot Density Amount of Data (k) nL + nH × 256 8-dot single-density 60 DPI 90 DPI nL + nH ×...
Page 255
C O N F I D E N T I A L TM-L60II The modes selectable by m are as follows: Vertical Dot Horizontal Mode Density Dot Density Amount of Data (k) nL + nH × 256 8-dot single-density 60 DPI 90 DPI nL + nH ×...
Page 256
C O N F I D E N T I A L TM-U200B/D The modes selectable by m are as follows: Horizontal Direction Vertical Set Adjacent Maximum Number of Mode Dot Density Density Dots Dots in standard mode 8-dot single-density 72 DPI 80 DPI Permitted...
Page 257
C O N F I D E N T I A L TM-U300A/B The modes selectable by m are as follows: Horizontal Direction Vertical Dot Set Adjacent Maximum Number of Mode Density Density Dots Dots in standard mode 8-dot single-density 72 DPI 80 DPI Permitted...
Page 258
FS p [Name] Print NV bit image [Format] ASC II Decimal [Printers not featuring this command] TM-L60II, TM-U200B/D, TM-U300A/B 1 ≤ n ≤ 255 [Range] 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 [Description] Prints a NV bit image n using the mode specified by m.
Page 259
C O N F I D E N T I A L This command executes paper feed for amount needed for printing the NV bit image regardless of paper feed amount set by a paper feed setting command. After printing the bit image, this command sets the print position to the beginning of the line.
Page 260
C O N F I D E N T I A L TM-T88II In standard mode the modes specified are as follows: Mode Dot density in vertical Dot density in horizontal 0, 48 Normal 180 DPI 180 DPI 1, 49 Double-width 180 DPI 90 DPI 2, 50 Double-height 90 DPI 180 DPI...
Page 261
C O N F I D E N T I A L Program example and print sample for FS q and FS p Program Example Program Example (continued) PRINT #1, CHR$(&H1C);"q";CHR$(1);CHR$(18);CHR$(0);CHR$(5);CHR$(0); DATA 83,80,00,00,02,4C,00,00,00,04,80,00,00,00,02 FOR i=1 TO 18*5*8 DATA 40,00,00,00,04,80,00,00,00,02,4A,AA,AA,AA,A4 READ a$: d=VAL("&H"+a$) DATA 85,55,55,55,42,4A,AA,AA,AA,A4,85,55,55,55,42 Definition PRINT #1, CHR$(d);...
Page 263
C O N F I D E N T I A L more more [Notes] NV bit image means a bit image which is defined in a non-volatile memory. The NV bit image defined is effective until the next NV bit image is defined.
Page 264
C O N F I D E N T I A L Bit image data and print result are as follows: dY+1 ... dY+2 ... dk-2 Y = yL + yH × 256 dk-1 dY×2 ... TM-T88II [Model-dependent variations] See program example and print sample for FS q and FS p. Ver.
Page 265
C O N F I D E N T I A L TM-T88II Frequent use of this command may damge the non-volatile memory (more than 10 times a day). The printer is in BUSY when writing the data to the non-volatile memory. In this case, do not transmit data from the host because the printer does not receive data.
Page 266
[Range] TM-T88II: 1 ≤ y ≤ 48 x × y ≤ 1536 0 ≤ d ≤ 255 1 ≤ x ≤ 255 TM-L60II: 1 ≤ y ≤ 48 x × y ≤ 1536 0 ≤ d ≤ 255 [Default] None...
Page 267
C O N F I D E N T I A L Once a downloaded bit image has been defined, it is available until another definition is made; ESC & or ESC @ is executed; the printer is reset; or the power is turned off. Downloaded bit image and a user-defined character cannot be defined simultaneously.
Page 268
C O N F I D E N T I A L more more GS / [Name] Print downloaded bit image [Format] ASCII Decimal 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 [Range] [Default] None [Printers not featuring this command] TM-U200B/D TM-U300A/B [Description]...
Page 269
The downloaded bit image is defined by GS [Model-dependent variations] TM-T88II TM-L60II See program example and print sample for GS and GS /. Ver. 4.0 Paper roll...
Page 270
C O N F I D E N T I A L TM-T88II The modes selectable m are as follows: Mode Vertical Dot Density Horizontal Dot Density 0, 48 Normal 180 DPI 180 DPI 1, 49 Double-width 180 DPI 90 DPI 2, 50 Double-height 90 DPI 180 DPI...
Page 271
C O N F I D E N T I A L TM-L60II The modes selectable m are as follows: Mode Vertical Dot Density Horizontal Dot Density 0, 48 Normal 180 DPI 180 DPI 1, 49 Double-width 180 DPI 90 DPI...
Page 272
C O N F I D E N T I A L Program example for GS and GS / Program Example Program Example (continued) PRINT #1, CHR$(&H1D);"*";CHR$(18);CHR$(5); DATA 83,80,00,00,02,4C,00,00,00,04,80,00,00,00,02 FOR i=1 TO 18*5*8 DATA 40,00,00,00,04,80,00,00,00,02,4A,AA,AA,AA,A4 READ a$: d=VAL("&H"+a$) Define DATA 85,55,55,55,42,4A,AA,AA,AA,A4,85,55,55,55,42 downloaded PRINT #1, CHR$(d);...
Page 273
= (xL + xH × 256) × (yL + yH × 256) (except for k = 0) [Default] None [Printers not featuring this command] TM-L60II TM-U200B/D TM-U300A/B [Description] Prints a raster bit image using the mode specified by m, as follows:...
Page 274
C O N F I D E N T I A L more more [Notes] When standard mode is selected, this command is enabled only when there is no data in the print buffer. If data exists in the print buffer, the printer processes m and the following data as normal data.
Page 275
C O N F I D E N T I A L Program Example Program Example (continued) PRINT #1, CHR$(&H1D);"v0";CHR$(0); DATA CF,80,00,3F,E7,E0,00,30,1F,FF,F3,F0,07,E0,3F,E3 PRINT #1, CHR$(16);CHR$(0);CHR$(40);CHR$(0); DATA CF,80,00,1F,E7,E0,00,20,1F,FF,E3,F0,07,E0,1F,E3 FOR i=1 TO 16*40 DATA CF,80,00,0F,F7,E0,00,20,1F,FF,E3,F0,07,E0,0F,F3 READ a$: d=VAL("&H"+a$) DATA CF,80,00,07,F7,E0,00,60,1F,FF,83,F0,07,E0,07,F3 PRINT #1, CHR$(d); DATA CF,80,00,03,F7,E0,00,40,1F,80,03,F0,07,E0,03,F3 NEXT i DATA CF,80,00,03,F7,E0,00,C0,1F,80,03,F0,07,E0,03,F3...
Page 276
C O N F I D E N T I A L TM-T88II The modes selectable by m are as follows: Mode Vertical Dot Density Horizontal Dot Density 0, 48 Normal 180 DPI 180 DPI 1, 49 Double-width 180 DPI 90 DPI 2, 50 Double-height...
C O N F I D E N T I A L Status commands STATUS COMMANDS Command Name DLE EOT Real-time status transmission ESC u Transmit peripheral device status ESC v Transmit paper sensor status GS a Enable/disable Automatic Status Back (ASB) GS r Transmit status GS z 0...
Page 278
C O N F I D E N T I A L more more DLE EOT [Name] Real-time status transmission [Format] ASCII Decimal 1 ≤ n ≤ 4 [Range] [Default] None [Printers not featuring this command] TM-U300A/B [Description] Transmits 1 byte of status data specified in real time, using n as follows: Function Transmit printer status Transmit off-line status...
Page 279
C O N F I D E N T I A L more more With a parallel interface model, this command is not executed in the following conditions, because the printer is busy and unable to receive data from the host computer. The DIP switch (BUSY condition) is different, depending on the printer model.
Page 280
C O N F I D E N T I A L more • Off-line status (n=2) more Bit Off/On Hex Decimal Status Not used. Fixed to Off. Not used. Fixed to On. Cover is closed. how to use this table Cover is open.
Page 281
C O N F I D E N T I A L more • Error status (n=3) more Off/On Hex Decimal Status Not used. Fixed to Off. Not used. Fixed to On. No mechanical error. how to use Mechanical error occurred. this table No auto-cutter error.
Page 282
• Some paper sensors are not present, depending on the printer model. • The names of some paper sensors are different, depending on the printer model. [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D Program Example for all printers PRINT #1, CHR$(&H10);CHR$(&H4);CHR$(2); ←...
Page 283
C O N F I D E N T I A L TM-T88II BUSY condition for a parallel interface is selected by DIP switch 2-1. Printer status (n = 1) Bit 5 of the printer status is undefined. Error status (n = 3) Bit 2 of the error status is undefined.
Page 284
C O N F I D E N T I A L TM-L60II BUSY condition for a parallel interface is selected by DIP switch 1-3. Printer status (n = 1) Bit 5 of the printer status is undefined. Error status (n = 3) Bit 3 of the error status is undefined.
Page 285
C O N F I D E N T I A L TM-U200B/D BUSY condition for a parallel interface is selected by DIP switch 1-8. Off-line status (n = 2) Bit 2 of the off-line status is undefined. Error status (n = 3) Mechanical error indicates the home position detection error.
Page 286
[Name] Transmit peripheral device status [Format] ASCII Decimal [Range] TM-U300A/B: n = 0; TM-L60II: n = 0, 48 [Default] None [Printers not featuring this command] TM-T88II, TM-U200B/D [Description] Transmits the status of drawer kick-out connector pin 3 as 1 byte of data when n=0 or 48.
Page 287
Not used. Fixed to Off. 5, 6 — — — Undefined. Not used. Fixed to Off. [Model-dependent variations] TM-U300A/B TM-L60II Program Example for all printers PRINT #1,CHR$(&H1B);"u";CHR$(0); Ver. 4.0 Paper roll Status commands ESC u p. 1224...
Page 288
C O N F I D E N T I A L TM-U300A/B Handshaking for a serial interface is selected by DIP switch 1-3. With the TM-U300PA/PB, this command is ignored. Ver. 4.0 Paper roll Status commands ESC u p. 1225...
Page 289
C O N F I D E N T I A L TM-L60II Handshaking for a serial interface is selected by DIP switch 1-3. Ver. 4.0 Paper roll Status commands ESC u p. 1226...
Page 290
C O N F I D E N T I A L more more ESC v [Name] Transmit paper sensor status [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] TM-T88II, TM-U200B/D [Description] Transmits the status of paper sensor(s) as 1 byte of data. [Notes] GS r 1 can also be used to check the status.
Page 291
Paper roll end sensor: paper not present. Not used. Fixed to Off. 5, 6 — — — Undefined. Not used. Fixed to Off. [Model-dependent variations] TM-U300A/B TM-L60II Program Example for all printers PRINT #1,CHR$(&H1B);"v"; Ver. 4.0 Paper roll Status commands ESC v p. 1228...
Page 292
C O N F I D E N T I A L TM-U300A/B Handshaking for a serial interface is selected by DIP switch 1-3. The paper sensor status information of this command for this printer is different from the standard ESC/POS paper sensor status information as follows: Bits 1 and 3 of the status are undefined.
Page 293
C O N F I D E N T I A L TM-L60II Handshaking for a serial interface is selected by DIP switch 1-3. Ver. 4.0 Paper roll Status commands ESC v p. 1230...
Page 294
C O N F I D E N T I A L more more GS a [Name] Enable/disable Automatic Status Back (ASB) [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] [Default] When DIP switch (BUSY condition) is Off : n = 0 When DIP switch (BUSY condition) is On : n = 2 [Printers not featuring this command] TM-U300A/B...
Page 295
C O N F I D E N T I A L more more [Notes] ASB is enabled if any status item is selected. The printer transmits a 4-byte status when this command is executed. The printer automatically transmits a 4-byte status message whenever the status changes. The disabled status items may change, because each status transmission represents the current status.
Page 296
C O N F I D E N T I A L more more The ASB statuses, corresponding to each bit for n are as follows: ASB status Bit Function Status Drawer kick- Drawer kick-out how to use out connector Bit 2 of the first byte connector pin 3 status.
Page 297
C O N F I D E N T I A L more more The status to be transmitted are as follows: • First byte (printer information) Bit Off/On Hex Decimal Status for ASB Not used. Fixed to Off. how to use this table Not used.
Page 298
C O N F I D E N T I A L more • Second byte (printer information) more Bit Off/On Hex Decimal Status for ASB Not waiting for on-line recovery. how to use Waiting for on-line recovery. this table —...
Page 299
Not used. Fixed to Off. 5,6 — — — Undefined Not used. Fixed to Off. [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D Program Example for all printers PRINT #1, CHR$(&H1D);"a";CHR$(4); ← Enable "Error" status Ver. 4.0 Paper roll Status commands GS a...
Page 300
C O N F I D E N T I A L TM-T88II The default value is set by DIP switch 2-1. Second byte (printer information) Bits 0 and 2 of the second byte are undefined. Automatically recoverable error indicates the high head temperature error or the paper roll cover open error during printing.
Page 301
C O N F I D E N T I A L TM-L60II With a serial interface, the default value is set by DIP switch 2-1. With a parallel interface, the default value is set by DIP switch 1-3. Second byte (printer information) Bits 0 and 3 of the second byte are undefined.
Page 302
C O N F I D E N T I A L TM-U200B/D The default value is set by DIP switch 1-8. First byte (printer information) Bit 5 of the first byte is undefined. Second byte (printer information) Mechanical error indicates the home position detection error. Automatically recoverable error indicates the high head temperature error.
Page 303
C O N F I D E N T I A L more more GS r [Name] Transmit status [Format] ASCII Decimal n = 1, 2, 49, 50 [Range] [Default] None [Printers not featuring this command] TM-U300A/B [Description] Transmits 1 byte of status data using n as follows: Function 1, 49 Transmits paper sensor status 2, 50 Transmits drawer kick-out connector status...
Page 304
C O N F I D E N T I A L more • Paper sensor status (n=1, 49) more Off/On Hex Decimal Status Paper roll near-end sensor: paper adequate. 0, 1 how to use Paper roll near-end sensor: paper near this table end.
Page 305
C O N F I D E N T I A L [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D Program Example for all printers PRINT #1, CHR$(&H1D);"r";CHR$(1); ← Transmits paper sensor status Ver. 4.0 Paper roll Status commands GS r p. 1242...
Page 306
C O N F I D E N T I A L TM-T88II Handshaking for a serial interface is selected by DIP switch 1-3. Paper sensor status (n = 1, 49) When the paper roll end sensor detects a paper-end, the printer goes off-line and does not execute this command.
Page 307
C O N F I D E N T I A L TM-L60II Handshaking for a serial interface is selected by DIP switch 1-3. Paper sensor status (n = 1, 49) When the paper roll end sensor detects a paper-end, the printer goes off-line and does not execute this command.
Page 308
C O N F I D E N T I A L TM-U200B/D Handshaking for a serial interface is selected by DIP switch 1-3. Paper sensor status (n = 1, 49) The paper roll near-end sensor is an option. If the printer is not equipped with the paper near-end sensor, bits 0 and 1 of the third byte are always ON, “Paper adequate”.
Page 309
0 ≤ t2 ≤ 255 [Default] t1 = 6, t2 = 0 [Printers not featuring this command] TM-T88II, TM-L60II, TM-U300A/B [Description] Sets the on-line recovery wait time from the time a new paper roll is installed to when the printer goes on-line.
Page 310
C O N F I D E N T I A L more more When the paper wait time is set to 0 (t1 = 0), the printer is in the recovery confirmation status immediately after the paper loading. In the recovery confirmation status, the printer performs the followings: •...
Page 311
C O N F I D E N T I A L more more The procedures for on-line recovery by pressing the paper feed button are as follows: Print Status: User Operation: Open the printer cover and Printing stops due to a paper insert a new paper roll.
Page 312
C O N F I D E N T I A L Print status Status Normal operation Not printing due to a paper-end The printer stops printing and goes off-line when the paper roll sensor detects a paper-end. The paper out LED is on. Printer status : Not printing due to a paper-end When the sensor detects that a paper roll is inserted, the printer starts loading.
C O N F I D E N T I A L Bar code commands BAR CODE COMMANDS Command Name GS H Select printing position of HRI characters GS f Select font for HRI characters GS h Set bar code height GS k Print bar code GS w...
Page 314
C O N F I D E N T I A L more more GS H [Name] Select printing position of HRI characters [Format] ASCII Decimal 0 ≤ n ≤ 3 [Range] 48 ≤ n ≤ 51 [Default] n = 0 [Printers not featuring this command] TM-U200B/D, TM-U300A/B...
Page 315
C O N F I D E N T I A L [Model-dependent variations] None Program Example for all printers Print Sample PRINT #1, CHR$(&H1D);"h";CHR$(80); ← Set height ← GS H 0 FOR n=0 to 3 PRINT #1, CHR$(&H1D);"H";CHR$(n); ← Select print position PRINT #1, CHR$(&H1D);"k";CHR$(2);...
Page 316
C O N F I D E N T I A L more more GS f [Name] Select font for HRI characters [Format] ASCII Decimal [Range] n = 0, 1, 48, 49 [Default] n = 0 [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description]...
Page 317
C O N F I D E N T I A L [Model-dependent variations] TM-T88II, TM-L60II Program Example for all printers Print Sample PRINT #1, CHR$(&H1D);"h";CHR$(80); ← Set height ← Font A PRINT #1, CHR$(&H1D);"H";CHR$(2); ← Select print position PRINT #1, CHR$(&H1D);"f";CHR$(0); ←...
Page 318
C O N F I D E N T I A L TM-T88II Character configurations: Font A: 12 × 24 Font B: 9 × 24 Ver. 4.0 Paper roll Bar code commands GS f p. 1255...
Page 319
C O N F I D E N T I A L TM-L60II Character configurations: Font A: 12 × 24 Font B: 9 × 24 Ver. 4.0 Paper roll Bar code commands GS f p. 1256...
Page 320
ASCI Decimal 1 ≤ n ≤ 255 [Range] [Default] TM-T88II, TM-L60II: n = 162 [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description] Sets the height of a bar code. • n specifies number of dots in the vertical direction of a bar code.
Page 321
C O N F I D E N T I A L TM-T88II One dot corresponds to 1/180 inch. Ver. 4.0 Paper roll Bar code commands GS h p. 1258...
Page 322
C O N F I D E N T I A L TM-L60II One dot corresponds to 1/180 inch. Ver. 4.0 Paper roll Bar code commands GS h p. 1259...
Page 323
C O N F I D E N T I A L more more GS k [Name] Print bar code [Format] ASCII d1 ... dk d1 ... dk Decimal d1 ... dk ASCII d1 ... dn d1 ... dn Decimal d1 ...
Page 324
C O N F I D E N T I A L more • m specifies a bar code system as follows: more Number Number of more more Remarks Bar Code System of Data Characters Characters UPC-A Fixed ≤ ≤ ≤...
Page 325
C O N F I D E N T I A L Number Number of more more Remarks Bar Code System of Data Characters Characters ≤ ≤ ≤ ≤ 65 UPC-A Fixed 66 UPC-E Fixed ≤ ≤ ≤ ≤ ≤ ≤...
Page 326
C O N F I D E N T I A L more more [Notes for When standard mode is selected, this command is enabled only when no data exists in the print buffer. If data exists in the print buffer, the printer processes the data following m as normal data.
Page 327
C O N F I D E N T I A L more more [Notes for This command ends with a NUL code. k is not transmission data to the printer. When the bar code system used is UPC-A, UPC-E, JAN13 (EAN13), or JAN8 (EAN8) bar code system (m = 0, 1, 2, 3), if the number of the bar code data is less than k, this command is ignored.
Page 328
C O N F I D E N T I A L more more [Notes for The printer processes n bytes from the next data as bar code data. If n is out of the specified range or if n is an odd number when ITF bar code system (m = 70) is selected, this command is canceled and the following data is processed as normal data.
Page 329
C O N F I D E N T I A L • Special characters are defined by combining two characters "{ + an alphanumeric character". The ASCII character "{" is defined by transmitting "{" twice consecutively. Transmit data Specific character ASCII Decimal SHIFT...
Page 330
C O N F I D E N T I A L GS w [Name] Set bar code width [Format] ASCII Decimal TM-L60II: 2 ≤ n ≤ 6 [Range] TM-T88II, [Default] TM-T88II, TM-L60II: n = 3 [Printers not featuring this command]...
Page 331
C O N F I D E N T I A L TM-T88II n specifies the bar code width as follows: Binary Level Bar Code Module Width (mm) for Multilevel Thin Element Thick Element Bar Code Width (mm) Width (mm) 0.282 0.282 0.706...
Page 332
C O N F I D E N T I A L TM-L60II n specifies the bar code width as follows: Binary Level Bar Code Module Width (mm) for Multilevel Thin Element Thick Element Bar Code Width (mm) Width (mm) 0.282...
C O N F I D E N T I A L Macro function commands MACRO FUNCTION COMMANDS Command Name GS : Start/end macro definition GS ^ Execute macro Ver. 4.0 Paper roll Macro function commands p. 1270...
Page 334
C O N F I D E N T I A L more more GS : [Name] Start/end macro definition [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description] Starts or ends macro definition. [Notes] Macro definition starts when this command is processed during normal operation and ends when it is processed during macro definition.
Page 335
C O N F I D E N T I A L [Model-dependent variations] TM-T88II, TM-L60II See program example and print sample for GS : and GS Ver. 4.0 Paper roll Macro function commands GS : p. 1272...
Page 336
C O N F I D E N T I A L TM-T88II The maximum number of data to be defined is 2048 bytes. Ver. 4.0 Paper roll Macro function commands GS : p. 1273...
Page 337
C O N F I D E N T I A L TM-L60II The maximum number of data to be defined is 2048 bytes. Ver. 4.0 Paper roll Macro function commands GS : p. 1274...
Page 338
C O N F I D E N T I A L more more GS ^ [Name] Execute macro [Format] ASCII Decimal 0 ≤ r ≤ 255 [Range] 0 ≤ t ≤ 255 m = 0, 1 [Default] None [Printers not featuring this command] TM-U200B/D, TM-U300A/B Executes a macro r times while waiting t ×...
Page 339
GS ^ to print the same data repeatedly. Macro function eliminates the need for sending all the print data every time. [Model-dependent variations] TM-T88II, TM-L60II See program example and print sample for GS : and GS Ver. 4.0 Paper roll...
Page 341
C O N F I D E N T I A L TM-T88II When m = 1, the PAPER OUT LED indicator blinks during a macro waiting state. When m = 1, the FEED can be Paper feed button. Ver. 4.0 Paper roll Macro function commands GS ^...
Page 342
C O N F I D E N T I A L TM-L60II When m = 1, the PAPER LED indicator blinks during a macro waiting state. When m = 1, the PAPER FEED can be Paper feed button. Ver. 4.0...
C O N F I D E N T I A L Mechanism control commands MECHANISM CONTROL COMMANDS Command Name ESC < Return home ESC U Turn unidirectional printing mode on/off ESC i Partial cut (one point left uncut) ESC m Partial cut (three points left uncut) GS V Select cut mode and cut paper...
Page 344
< Decimal [Range] None [Default] None [Printers not featuring this command] TM-T88II, TM-L60II [Description] Moves the print head to the standby position. [Note] The standby position is different, depending on the printer model. [Model-dependent variations] TM-U200B/D TM-U300A/B Program Example for all printers PRINT #1, CHR$(&H1B);"<";...
Page 345
C O N F I D E N T I A L TM-U200B/D The standby position is in the left. Ver. 4.0 Paper roll Mechanism control commands ESC < p. 1282...
Page 346
C O N F I D E N T I A L TM-U300A/B The standby position is in the left. Ver. 4.0 Paper roll Mechanism control commands ESC < p. 1283...
Page 347
TM-U200B/D:n = 0 TM-U300A/B:n = 0 [Printers not featuring this command] TM-T88II, TM-L60II [Description] Turns unidirectional printing mode on or off. • When the LSB of n is 0, unidirectional printing mode is turned off. • When the LSB of n is 1, unidirectional printing mode is turned on.
Page 348
C O N F I D E N T I A L [Model-dependent variations] None Program Example for all printers PRINT #1, CHR$(&H1B);"U";CHR$(1); ← Unidirectional printing mode turned on Ver. 4.0 Paper roll Mechanism control commands ESC U p. 1285...
Page 349
None [Default] None [Printers not featuring this command] TM-T88II, TM-L60II, TM-U200B/D [Description] Executes a partial cut of the paper roll with one point left uncut. [Notes] GS V can also be used to cut paper. GS V is recommended for cutting paper. ESC i is not a recomemded command.
Page 350
None [Default] None [Printers not featuring this command] TM-T88II, TM-L60II, TM-U200B/D [Description] Executes a partial cut of the paper roll with three points left uncut. [Notes] GS V can also be used to cut paper. GS V is recommended for cutting paper. ESC m is not a recommended command.
Page 351
C O N F I D E N T I A L Program example for ESC i and ESC m Program Example Print Sample PRINT #1," AAAAA"; AAAAA PRINT #1,CHR$(&H1B);"d";CHR$(5); PRINT #1,CHR$(&H1B);"m"; ← ESC m leaves paper joined in three places. Cut paper PRINT #1,"...
Page 352
TM-U200B/D: m = 1, 49 TM-U200B/D: m = 66, 0 ≤ n ≤ 255 TM-T88II, [Default] None [Printers not featuring this command] TM-L60II, TM-U300A/B [Description] Select a paper cutting mode using m and then cut the paper, as follows: Function 0, 48 Executes a full cut (cuts the paper completely).
Page 353
C O N F I D E N T I A L [Notes for When standard mode is selected, these commands are enabled only when processed at the beginning of the line. Some printer models support a full cut (m = 0, 48 or 65). When using these commands, there is a gap between the auto-cutter position and the printing position.
Page 354
C O N F I D E N T I A L TM-T88II The vertical motion unit is specified by GS P. Ver. 4.0 Paper roll Mechanism control commands GS V p. 1291...
Page 355
C O N F I D E N T I A L TM-U200B/D The vertical motion unit is 1/144 inches (the minimum movement amount). This value equals a half dot pitch. TM-U200D does not have the auto cutter; therefore, the cutting position is the manual cutter position.
C O N F I D E N T I A L Miscellaneous commands MISCELLANEOUS COMMANDS Command Name DLE ENQ Real-time request to printer DLE DC4 Generate pulse at real-time ESC = Select peripheral device ESC @ Initialize printer ESC L Select page mode ESC S Select standard mode...
Page 357
TM-T88II: n = 1, 2 TM-U200B/D: n = 0, 2 [Default] None [Printers not featuring this command] TM-L60II, TM-U300A/B [Description] Responds to a request in real time from the host computer, using n as follows: Request Recovers to on-line state.
Page 358
C O N F I D E N T I A L more more With a parallel interface model, this command is not executed in the following statuses, because the printer is busy and unable to receive data from the host computer. The DIP switch (BUSY condition) is different, depending on the printer model.
Page 359
C O N F I D E N T I A L Program Example for all printers PRINT #1, CHR$(&H10);CHR$(&H5);CHR$(2); Ver. 4.0 Paper roll Miscellaneous commands DLE ENQ p. 1296...
Page 360
C O N F I D E N T I A L TM-T88II BUSY condition for a parallel interface is selected by DIP switch 2-1. Recoverable error indicates the auto-cutter error. Ver. 4.0 Paper roll Miscellaneous commands DLE ENQ p. 1297...
Page 361
C O N F I D E N T I A L TM-U200B/D BUSY condition for the parallel interface is selected by DIP switch 1-8. Recoverable error indicates a home position detection error or the auto-cutter error. Ver. 4.0 Paper roll Miscellaneous commands DLE ENQ p.
Page 362
DLE DC4 [Name] Generate pulse at real-time [Format] ASC II Decimal [Printers not featuring this command] TM-L60II, TM-U200B/D, TM-U300A/B [Range] n = 1 m = 0, 1 1 ≤ t ≤ 8 [Description] Outputs the pulse specified by t to connector pin m as follows:...
Page 363
C O N F I D E N T I A L With a serial interface, the printer executes this command when it is in off-line, receive buffer-full, or error status. With a parallel interface, if the printer is in BUSY condition, this command cannot be used in the following statuses.
Page 364
Select peripheral device [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] TM-T88II: 0 ≤ n ≤ 255 TM-L60II: 1 ≤ n ≤ 3 TM-U200B/D: [Default] n = 1 [Printers not featuring this command] TM-U300A/B [Description] Selects the device to which the host computer sends data, using n as follows: •...
Page 365
C O N F I D E N T I A L Program Example for all printers Print Sample AAAAA CCCCC PRINT #1, CHR$(&H1B);"=";CHR$(1); ← Printer enabled PRINT #1, "AAAAA"; PRINT #1, CHR$(&H1B);"=";CHR$(2); ← Printer disabled PRINT #1, "BBBBB"; PRINT #1, CHR$(&H1B);"=";CHR$(3);← Pinter enabled PRINT #1, "...
Page 366
C O N F I D E N T I A L more more ESC @ [Name] Initialize printer [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] None [Description] The data in the print buffer is cleared and the printer mode(s) is reset to the mode that was in effect when the power was turned on.
Page 367
C O N F I D E N T I A L [Model-dependent variations] None Program Example for all printers Print Sample PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); AAAAA PRINT #1, CHR$(&H1B);"3";CHR$(60); ← BBBBB All settings are canceled after ESC @ is executed PRINT #1, CHR$(&H1B);"U";CHR$(1);...
Page 368
C O N F I D E N T I A L more more ESC L [Name] Select page mode [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description] Switches from standard mode to page mode. [Notes] This command is enabled only when processed at the beginning of the line in standard mode.
Page 369
C O N F I D E N T I A L In page mode, the printer prints the data in the print buffer for the printing area specified by ESC W collectively by FF or ESC FF. When executing the print and paper feed commands, such as LF, CR, ESC J, and ESC d, only the printing position moves and the printer does not perform actual printing.
Page 370
C O N F I D E N T I A L more more ESC S [Name] Select standard mode [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description] Switches from page mode to standard mode. [Notes] This command is enabled only in page mode.
Page 371
C O N F I D E N T I A L [Model-dependent variations] None Program Example for ESC L and ESC S Program Example for all printers Print Sample PRINT #1, CHR$(&H1B);"L"; ← Select page mode PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); AAAAA PRINT #1, CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0);...
Page 372
C O N F I D E N T I A L ESC p [Name] Generate pulse [Format] ASCII Decimal [Range] m = 0, 1, 48, 49 0 ≤ t1 ≤ 255 0 ≤ t2 ≤ 255 [Default] None [Printers not featuring this command] None [Description] Outputs the pulse specified by t1 and t2 to the specified connector pin m as follows:...
Page 373
C O N F I D E N T I A L [Model-dependent variations] TM-U200B/D Program Example for all printers PRINT #1, CHR$(&H1B);"p";CHR$(0);CHR$(25);CHR$(250); Ver. 4.0 Paper roll Miscellaneous commands ESC p p. 1310...
Page 374
C O N F I D E N T I A L TM-U200B/D If t2 < 50, t2 is supposed to be 50. Ver. 4.0 Paper roll Miscellaneous commands ESC p p. 1311...
Page 375
Decimal m a1 a2 a3 a4 nL nH d1...dk [Printers not featuring this command] TM-L60II, TM-U200B/D, TM-U300A/B [Range] m = 0 0 ≤ (a1 + a2 x 256) + a3 x 65536) + (a4 x 16777216) ≤ 1023) 1 ≤...
Page 376
C O N F I D E N T I A L If this command is processed while a macro is being defined, the printer cancels macro definition and starts processing this command. At that time, the macro becomes undefined. All the previously stored data in the specified area is replaced with new data.
Page 377
C O N F I D E N T I A L TM-T88II Frequent use of this command may damage the non-volatile memory (more than 10 times a day). The printer will become BUSY during writing data to the non-volatile memory. In this case, the printer does not receive and transmit data;...
Page 378
ASC II m a1 a2 a3 a4 n m a1 a2 a3 a4 n Decimal m a1 a2 a3 a4 n [Printers not featuring this command] TM-L60II, TM-U200B/D, TM-U300A/B [Range] TM-T88II: m = 0 (0 ≤ (a1 + (a2 x 256) + (a3 x 65536) + (a4 x 16777216)) ≤ 1023) 1 ≤...
Page 379
C O N F I D E N T I A L more more With a serial interface, when DTR/DSR control is selected by DIP switch (handshaking), the printer transmits [Header~NUL] to the host after confirming that the host is ready to receive data. With a serial interface, when XON/XOFF control is selected by DIP switch (handshaking), the printer transmits [Header~NUL] to the host without confirming that the host is ready to receive data.
Page 380
C O N F I D E N T I A L A header of block data and other transmission data can be differentiated as follows: Transmission data Bits 1st byte of ASB status 0**1 **00 Real-time status (DLE EOT) 0**1 **10 Normal status (GS r) 0**0 ****...
Page 381
GS ( A [Name] Execute test print [Format] ASC II Decimal [Printers not featuring this command] TM-L60II, TM-U300A/B [Range] + (p x 256)) = 2 (p = 2, p = 0) 0 ≤ n ≤ 2, 48 ≤ n ≤ 50, 1 ≤ m ≤ 3, 49 ≤ m ≤ 51...
Page 382
C O N F I D E N T I A L [Notes] This command is effective only when processed at the beginning of the line in standard mode. If this command is processed while a macro is being defined, the printer cancels macro definition and starts processing this command.
Page 383
• This command is effective only when a thermal label is selected with the paper selection DIP switch. • This command does not initialize the values set by other commands. [Model-dependent variations] TM-L60II Program Example PRINT #1, CHR$(&H1D);"<"; Ver. 4.0...
Page 384
C O N F I D E N T I A L TM-L60II With a serial interface, the paper selection DIP switch is SW 2-6. With a parallel interface, the paper selection DIP switch is SW 1-7. Ver. 4.0 Paper roll Miscellaneous commands GS <...
Page 385
GS A [Name] Adjust label print starting position [Format] ASCII Decimal TM-L60II: 0 ≤ m ≤ 255, 0 ≤ n ≤ 255 [Range] [Default] m = 0, n = 0 [Printers not featuring this command] TM-T88II, TM-U200B/D, TM-U300A/B...
Page 386
The default and adjustment amounts for the print starting position differ, depending on the printer model. A setting exceeding the maximum adjustment amount is set to the maximum adjustment amount. [Model-dependent variations] TM-L60II Program Example PRINT #1, CHR$(&H1D);"A";CHR$(0);CHR$(18); Ver. 4.0...
Page 387
C O N F I D E N T I A L TM-L60II With a serial interface, the paper selection DIP switch is SW 2-6. With a parallel interface, the paper selection DIP switch is SW 1-7. The vertical motion unit is set by GS P.
Page 388
C O N F I D E N T I A L more more GS C 0 [Name] Select counter print mode [Format] ASCII Decimal 0 ≤ n ≤ 5 [Range] 0 ≤ m ≤ 2, 48 ≤ m ≤ 50 [Default] n = 0, m = 0 [Printers not featuring this command]...
Page 389
[Notes] When n = 0, m is discarded. The serial number counter is stored in the print buffer by GS c. [Model-dependent variations] TM-L60II Program Example Print Sample PRINT #1, CHR$(&H1D);"C0";CHR$(3);CHR$(0); 1 ← 3 digits + right alignment + adding spaces to the left AAAAA PRINT #1, "AAAAA";CHR$(&H1D);"c";CHR$(&HA);...
Page 390
C O N F I D E N T I A L TM-L60II With a serial interface, the paper selection DIP switch is SW 2-6. With a parallel interface, the paper selection DIP switch is SW 1-7. Ver. 4.0 Paper roll...
Page 391
C O N F I D E N T I A L more more GS C 1 [Name] Select count mode (A) [Format] ASCII Decimal 0 ≤ a ≤ 255, 0 ≤ a ≤ 255 [Range] 0 ≤ b ≤ 255, 0 ≤ b ≤...
Page 392
C O N F I D E N T I A L [Notes] In a count-up setting, when the GS c is executed, the maximum value of the counter is (b H × H × 256) and the minimum value of the counter is (a 256).
Page 393
C O N F I D E N T I A L GS C 2 [Name] Select counter print mode [Format] ASCII Decimal 0 ≤ n ≤ 255 [Range] 0 ≤ n ≤ 255 [Default] = 1, n [Printers not featuring this command] TM-T88II, TM-U200B/D, TM-U300A/B...
Page 394
C O N F I D E N T I A L more more GS C ; [Name] Select counter mode (B) [Format] ASCII Decimal 29 “0” ≤ sa ≤ “65535” [Range] “0” ≤ sb ≤ “65535” “0” ≤ sn ≤ “255” “0”...
Page 395
C O N F I D E N T I A L [Notes] In count-up mode, sa is the minimum counter value and sb is the maximum counter value. In count-down mode, sb is the minimum counter value and sa is the maximum counter value.
Page 396
0 ≤ n ≤ 255 [Range] [Default] TM-U300A/B: n = 1 [Printers not featuring this command] TM-T88II, TM-L60II, TM-U200B/D [Description] Selects the print speed and head energizing time, using n as follows: Bit Off/On Hex Decimal Function Head energizing time: Copy.
Page 397
C O N F I D E N T I A L Program Example for all printers PRINT #1,CHR$(&H1D);"E";CHR$(16); ← Select printing speed to Low Ver. 4.0 Paper roll Miscellaneous commands GS E p. 1334...
Page 398
C O N F I D E N T I A L TM-U300A/B Bit 4 is undefined. When multi-ply roll paper is used, “Head energizing time : Copy” should be selected for a long enegizing time. Ver. 4.0 Paper roll Miscellaneous commands GS E p.
Page 399
C O N F I D E N T I A L more more GS I [Name] Transmit printer ID [Format] ASCII Decimal 1 ≤ n ≤ 3 [Range] 49 ≤ n ≤ 51 [Default] None [Printers not featuring this command] TM-U300A/B [Description] Transmits 1 byte of printer ID using n as follows:...
Page 400
When XON/XOFF control is selected by DIP switch (Handshaking) with a serial interface, the printer transmits the ID data without confirming whether the host computer can receive data. [Model-dependent variations] TM-T88II TM-L60II TM-U200B/D Ver. 4.0 Paper roll Miscellaneous commands GS I...
Page 401
C O N F I D E N T I A L Program Example for all printers PRINT #1, CHR$(&H1D);"I";CHR$(1);← Transmits printer ID Ver. 4.0 Paper roll Miscellaneous commands GS I p. 1338...
Page 402
C O N F I D E N T I A L TM-T88II Handshaking for a serial interface is selected by DIP switch 1-3. • Printer model ID (n = 1, 49) Hex: 20H / Decimal: 32 • Type ID (n = 2, 50) Bit 1 is fixed to On (auto-cutter equipped).
Page 403
C O N F I D E N T I A L TM-L60II Handshaking for a serial interface is selected by DIP switch 1-3. • Printer model ID (n = 1, 49) Hex: 0BH / Decimal: 11 • Type ID (n = 2, 50) Bit 1 is fixed to Off (not auto-cutter equipped).
Page 404
C O N F I D E N T I A L TM-U200B/D Handshaking for a serial interface is selected by DIP switch 1-3. • Printer model ID (n = 1, 49): Hex: 0D / Decimal: 13 • Type ID (n = 2, 50) TM-U200B: Bit 1 is fixed to On (auto-cutter equipped).
Page 405
0 ≤ x ≤ 255 [Range] 0 ≤ y ≤ 255 [Default] TM-T88II: x = 180, y = 360 TM-L60II: x = 180, y = 360 [Printers not featuring this command] TM-U200B/D, TM-U300A/B [Description] Sets the horizontal and vertical motion units to 1/x and 1/y inches, respectively.
Page 406
The calculated result from combining this command with others is truncated to the minimum value of the mechanical pitch. This command does not affect the current setting values. [Model-dependent variations] TM-T88II TM-L60II Program Example for all printers Print Sample PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); AAAAA ←...
Page 407
C O N F I D E N T I A L TM-T88II The default values equal a normal dot pitch in horizontal and 1/2 dot pitch in vertical. Ver. 4.0 Paper roll Miscellaneous commands GS P p. 1344...
Page 408
C O N F I D E N T I A L TM-L60II The default values equal a half dot pitch in horizontal and 1/2 dot pitch in vertical. Ver. 4.0 Paper roll Miscellaneous commands GS P p. 1345...
Page 409
C O N F I D E N T I A L more more GS c [Name] Print counter [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] TM-T88II, TM-U200B/D, TM-U300A/B [Description] Sets the serial counter value in the print buffer and increments or decrements the counter value.
Page 410
C O N F I D E N T I A L [Model-dependent variations] None Program Example Print Sample PRINT #1, "AAAAA";CHR$(&H1D);"c";CHR$(&HA); AAAAA BBBBB PRINT #1, "BBBBB";CHR$(&H1D);"c";CHR$(&HA); Ver. 4.0 Paper roll Miscellaneous commands GS c p. 1347...