Page 1
ESC/POS CONFIDENTIAL ESC/POS ESC/POS EPSON ESC/POS ® ESC/POS Application Paper Roll Printers ESC/POS Programming Guide Version 10.01 ESC/POS Printers & Commands What’s New in This Version? ESC/POS ESC/POS Information How to Use This Guide ESC/POS Character Code Tables About This Guide...
Page 2
ESC/POS CONFIDENTIAL EPSON ESC/POS printers & commands ESC/POS ESC/POS • Commands in Alphanumeric Order ESC/POS • Commands Arranged by Function • Commands Arranged by Printer ESC/POS TM-T88III TM-T90 TM-L60II ESC/POS TM-L90 TM-J2000/J2100 ESC/POS TM-U210 TM-U220 TM-U230 ESC/POS TM-U300A/U300B TM-P60 ESC/POS...
Page 3
ESC/POS CONFIDENTIAL EPSON ESC/POS how to use this guide ESC/POS ESC/POS Text blue text Any text colored blue is a link to another screen. ESC/POS Click the text to go to that topic. Printer information PRINTER name Most information applies to all printers in a category.
Page 4
ESC/POS CONFIDENTIAL EPSON ESC/POS what’s new in this version? ESC/POS ESC/POS Version 10.00 TM-U220 added. ESC/POS This guide (Paper Roll Printers) is now separate from the guides for other ESC/POS types of printers. Version 10.01 ESC/POS TM-P60 added. ESC/POS ESC/POS...
Page 6
On the earlier of (a) termination of your relationship with Seiko Epson, or (b) Seiko Epson's request, you must stop using the confidential information. You ESC/POS must then return or destroy the information, as directed by Seiko Epson.
Page 7
A command set designed for universal applicability The commands that are supported by all EPSON POS printers and those that are specific to individual models are clearly described. This means that ESC/POS compatible software will work with any system and be suitable for a wide range of applications.
C O N F I D E N T I A L Command classification COMMAND CLASSIFICATION ESC/POS printer commands are classified by functions such as print, character, print position, printing paper, line spacing, panel button, paper sensor, mechanism control, status, bar code, bit-image, macro function, control option, and miscellaneous functions.
Page 9
C O N F I D E N T I A L Multiple sheet Multiple sheet commands Sheet Single sheet Single sheet commands Extension commands Basic commands Grade Paper roll Command classification Ver. 10.01 p. 9...
Page 10
C O N F I D E N T I A L Overview of data processing OVERVIEW OF DATA PROCESSING Character Data and Normal Commands The printer stores data sent from the host computer in the receive buffer temporarily, and then the printer interprets the data and classifies them into commands or character data sequentially.
Page 11
C O N F I D E N T I A L Data processing diagram Real-time Interface command Host processing computer Receive buffer Character generator Main processing (Font data) [Data analysis/processing] (Character data/normal command) Mechanism Print buffer Paper roll Overview of data processing Ver.
Page 12
C O N F I D E N T I A L Definitions DEFINITIONS Normal commands Normal commands are all the commands except real-time commands. The normal commands are stored in the receive buffer temporarily and then processed sequentially. Real-time commands Real-time commands are the commands that consist of a DLE extension (such as DLE EOT or DLE ENQ).
Page 13
C O N F I D E N T I A L Beginning of the line The beginning of the line meets all of the following conditions: • No data exists in the print buffer. • No spaces are skipped by HT in the print buffer. •...
Page 14
C O N F I D E N T I A L Executing commands Executing commands affect printer operation and change the printer status temporarily but do not affect the following printer operation. Functions of printing, paper cutting, and status transmission are executing commands and the real-time commands and some of the normal commands are executing commands.
Page 15
C O N F I D E N T I A L TM-U375 supported commands TM-T88III SUPPORTED COMMANDS Command Classification Name Function type Horizontal tab XECUTING COMMAND RINT POSITION COMMANDS Print and line feed XECUTING COMMAND RINT COMMANDS FF (in page mode) Print and return to standard mode XECUTING COMMAND RINT COMMANDS...
Page 16
C O N F I D E N T I A L Command Classification Name Function type ESC – Turn underline mode on/off ETTING COMMAND HARACTER COMMANDS ESC 2 Select default line spacing ETTING COMMAND INE SPACING COMMANDS ESC 3 Set line spacing ETTING COMMAND INE SPACING COMMANDS...
Page 17
C O N F I D E N T I A L Command Classification Name Function type ESC a Select justification ETTING COMMAND RINT POSITION COMMANDS ESC c 3 Select paper sensor(s) to output paper-end ETTING COMMAND signals APER SENSOR COMMANDS ESC c 4 Select paper sensor(s) to stop printing ETTING COMMAND...
Page 18
C O N F I D E N T I A L Command Classification Name Function type GS W Set printing area width ETTING COMMAND RINT POSITION COMMANDS GS \ Set relative vertical print position in page mode XECUTING COMMAND RINT POSITION COMMANDS GS ^ Execute macro...
Page 19
C O N F I D E N T I A L The following commands are supported only by Japanese/Simplified Chinese/Traditional Chinese/Korean supporting models. Command Classification Name Function type FS ! Set print mode(s) for Kanji characters ETTING COMMAND ANJI COMMANDS FS &...
Page 20
C O N F I D E N T I A L TM-U375 supported commands TM-T90 SUPPORTED COMMANDS Command Classification Name Function type Horizontal tab XECUTING COMMAND RINT POSITION COMMANDS Print and line feed XECUTING COMMAND RINT COMMANDS FF (in page mode) Print and return to standard mode XECUTING COMMAND RINT COMMANDS...
Page 21
C O N F I D E N T I A L Command Classification Name Function type Select bit-image mode XECUTING COMMAND IMAGE COMMANDS ESC – Turn underline mode on/off ETTING COMMAND HARACTER COMMANDS ESC 2 Select default line spacing ETTING COMMAND INE SPACING COMMANDS ESC 3...
Page 22
C O N F I D E N T I A L Command Classification Name Function type ESC \ Set relative print position XECUTING COMMAND RINT POSITION COMMANDS ESC a Select justification ETTING COMMAND RINT POSITION COMMANDS ESC c 3 Select paper sensor(s) to output paper-end ETTING COMMAND signals...
Page 23
C O N F I D E N T I A L Command Classification Name Function type GS ( M Customize printer control value(s) XECUTING ETTING USTOMIZE COMMANDS GS ( N Select character effects ETTING COMMAND HARACTER COMMANDS GS ( k Specify and print the symbol XECUTING ETTING...
Page 24
C O N F I D E N T I A L Command Classification Name Function type GS g 2 Transmit maintenance counter XECUTING COMMAND ISCELLANEOUS COMMANDS GS h Set bar code height ETTING COMMAND AR CODE COMMANDS GS k Print bar code XECUTING COMMAND AR CODE COMMANDS...
Page 25
C O N F I D E N T I A L The following commands are supported only by Japanese/Simplified Chinese/Traditional Chinese/Korean supporting models. Command Classification Name Function type FS ! Set print mode(s) for Kanji characters ETTING COMMAND ANJI COMMANDS FS &...
Page 26
C O N F I D E N T I A L TM-U375 supported commands TM-L60II SUPPORTED COMMANDS Command Classification Name Function type Horizontal tab XECUTING COMMAND RINT POSITION COMMANDS Print and line feed XECUTING COMMAND RINT COMMANDS FF (in page mode) Print and return to standard mode XECUTING COMMAND RINT COMMANDS...
Page 27
C O N F I D E N T I A L Command Classification Name Function type ESC 2 Select default line spacing ETTING COMMAND INE SPACING COMMANDS ESC 3 Set line spacing ETTING COMMAND INE SPACING COMMANDS ESC = Select peripheral device ETTING COMMAND ISCELLANEOUS COMMANDS...
Page 28
C O N F I D E N T I A L Command Classification Name Function type ESC c 3 Select paper sensor(s) to output paper-end ETTING COMMAND signals APER SENSOR COMMANDS ESC c 4 Select paper sensor(s) to stop printing ETTING COMMAND APER SENSOR COMMANDS ESC c 5...
Page 29
C O N F I D E N T I A L Command Classification Name Function type GS \ Set relative vertical print position in page mode XECUTING COMMAND RINT POSITION COMMANDS GS ^ Execute macro XECUTING COMMAND ACRO FUNCTION COMMANDS GS a Enable/disable Automatic Status Back (ASB) XECUTING...
Page 30
C O N F I D E N T I A L TM-U375 supported commands TM-L90 SUPPORTED COMMANDS Command Classification Name Function type Horizontal tab XECUTING COMMAND RINT POSITION COMMANDS Print and line feed XECUTING COMMAND RINT COMMANDS FF (in page mode) Print and return to standard mode XECUTING COMMAND RINT COMMANDS...
Page 31
C O N F I D E N T I A L Command Classification Name Function type Select bit-image mode XECUTING COMMAND IMAGE COMMANDS ESC – Turn underline mode on/off ETTING COMMAND HARACTER COMMANDS ESC 2 Select default line spacing ETTING COMMAND INE SPACING COMMANDS ESC 3...
Page 32
C O N F I D E N T I A L Command Classification Name Function type ESC \ Set relative print position XECUTING COMMAND RINT POSITION COMMANDS ESC a Select justification ETTING COMMAND RINT POSITION COMMANDS ESC c 3 Select paper sensor(s) to output paper-end ETTING COMMAND signals...
Page 33
C O N F I D E N T I A L Command Classification Name Function type GS ( L GS 8 L Specify graphics data XECUTING ETTING IMAGE COMMANDS GS ( M Customize printer control value(s) XECUTING ETTING USTOMIZE COMMANDS GS ( N Select character effects ETTING COMMAND...
Page 34
C O N F I D E N T I A L Command Classification Name Function type GS g 0 Initialize maintenance counter ETTING COMMAND ISCELLANEOUS COMMANDS GS g 2 Transmit maintenance counter XECUTING COMMAND ISCELLANEOUS COMMANDS GS h Set bar code height ETTING COMMAND AR CODE COMMANDS GS k...
Page 35
C O N F I D E N T I A L The following commands are supported only by Japanese/Simplified Chinese/Traditional Chinese/Korean supporting models. Command Classification Name Function type FS ! Set print mode(s) for Kanji characters ETTING COMMAND ANJI COMMANDS FS &...
Page 36
C O N F I D E N T I A L TM-U375 supported commands TM-J2000/J2100 SUPPORTED COMMANDS Command Classification Name Function type Horizontal tab XECUTING COMMAND RINT POSITION COMMANDS Print and line feed XECUTING COMMAND RINT COMMANDS FF (in page mode) Print and return to standard mode XECUTING COMMAND RINT COMMANDS...
Page 37
C O N F I D E N T I A L Command Classification Name Function type ESC % Select/cancel user-defined character set ETTING COMMAND HARACTER COMMANDS ESC & Define user-defined characters ETTING COMMAND HARACTER COMMANDS Select bit-image mode XECUTING COMMAND IMAGE COMMANDS ESC –...
Page 38
C O N F I D E N T I A L Command Classification Name Function type ESC T Select print direction in page mode ETTING COMMAND RINT POSITION COMMANDS ESC U Turn unidirectional printing mode on/off ETTING COMMAND ECHANISM CONTROL COMMANDS ESC V Turn 90°...
Page 39
C O N F I D E N T I A L Command Classification Name Function type GS ( C Edit NV user memory XECUTING ETTING USTOMIZE COMMANDS GS ( D Enable/disable real-time command XECUTING ETTING ISCELLANEOUS COMMANDS GS ( E User setup commands XECUTING ETTING...
Page 40
C O N F I D E N T I A L Command Classification Name Function type GS a Enable/disable Automatic Status Back (ASB) XECUTING ETTING TATUS COMMANDS GS b Turn smoothing mode on/off ETTING COMMAND HARACTER COMMANDS GS f Select font for HRI characters ETTING COMMAND AR CODE COMMANDS...
Page 41
C O N F I D E N T I A L The following commands are supported only by Japanese/Simplified Chinese/Traditional Chinese/Korean supporting models. Command Classification Name Function type FS ! Set print mode(s) for Kanji characters ETTING COMMAND ANJI COMMANDS FS &...
Page 42
C O N F I D E N T I A L TM-U375 supported commands TM-U210 SUPPORTED COMMANDS Command Classification Name Function type Horizontal tab XECUTING COMMAND RINT POSITION COMMANDS Print and line feed XECUTING COMMAND RINT COMMANDS Print and carriage return XECUTING COMMAND RINT COMMANDS DLE EOT...
Page 43
C O N F I D E N T I A L Command Classification Name Function type ESC @ Initialize printer XECUTING ETTING ISCELLANEOUS COMMANDS ESC D Set horizontal tab positions ETTING COMMAND RINT POSITION COMMANDS ESC E Turn emphasized mode on/off ETTING COMMAND HARACTER COMMANDS ESC G...
Page 44
C O N F I D E N T I A L Command Classification Name Function type ESC { Turn upside-down printing mode on/off ETTING COMMAND HARACTER COMMANDS GS ( A Execute test print XECUTING COMMAND ISCELLANEOUS COMMANDS GS I Transmit printer ID XECUTING COMMAND ISCELLANEOUS COMMANDS...
Page 45
C O N F I D E N T I A L The following commands are supported only by Japanese/Simplified Chinese/Traditional Chinese/Korean supporting models. Command Classification Name Function type FS ! Set print mode(s) for Kanji characters ETTING COMMAND ANJI COMMANDS FS &...
Page 46
C O N F I D E N T I A L TM-U220 SUPPORTED COMMANDS Command Classification Name Function type Horizontal tab XECUTING COMMAND RINT POSITION COMMANDS Print and line feed XECUTING COMMAND RINT COMMANDS Print and carriage return XECUTING COMMAND RINT COMMANDS DLE EOT Real-time status transmission...
Page 47
C O N F I D E N T I A L Command Classification Name Function type ESC < Return home XECUTING COMMAND ECHANISM CONTROL COMMANDS ESC = Select peripheral device ETTING COMMAND ISCELLANEOUS COMMANDS ESC ? Cancel user-defined characters ETTING COMMAND HARACTER COMMANDS ESC @...
Page 48
C O N F I D E N T I A L Command Classification Name Function type ESC e Print and reverse feed lines XECUTING COMMAND RINT COMMANDS ESC i Partial cut (one point left uncut) XECUTING COMMAND ECHANISM CONTROL COMMANDS ESC m Partial cut (three points left uncut) XECUTING COMMAND...
Page 49
C O N F I D E N T I A L Command Classification Name Function type FS ? Cancel user-defined Kanji characters ETTING COMMAND ANJI COMMANDS FS p Print NV bit image XECUTING COMMAND IMAGE COMMANDS FS q Define NV bit image XECUTING ETTING IMAGE COMMANDS...
Page 50
C O N F I D E N T I A L TM-U375 supported commands TM-U230 SUPPORTED COMMANDS Command Classification Name Function type Horizontal tab XECUTING COMMAND RINT POSITION COMMANDS Print and line feed XECUTING COMMAND RINT COMMANDS Print and carriage return XECUTING COMMAND RINT COMMANDS DLE EOT...
Page 51
C O N F I D E N T I A L Command Classification Name Function type ESC ? Cancel user-defined characters ETTING COMMAND HARACTER COMMANDS ESC @ Initialize printer XECUTING ETTING ISCELLANEOUS COMMANDS ESC D Set horizontal tab positions ETTING COMMAND RINT POSITION COMMANDS ESC E...
Page 52
C O N F I D E N T I A L Command Classification Name Function type ESC t Select character code table ETTING COMMAND HARACTER COMMANDS ESC { Turn upside-down printing mode on/off ETTING COMMAND HARACTER COMMANDS GS ( A Execute test print XECUTING COMMAND ISCELLANEOUS COMMANDS...
Page 53
C O N F I D E N T I A L TM-U375 supported commands TM-U300A/B SUPPORTED COMMANDS Command Classification Name Function type Horizontal tab XECUTING COMMAND RINT POSITION COMMANDS Print and line feed XECUTING COMMAND RINT COMMANDS Print and carriage return XECUTING COMMAND RINT COMMANDS ESC SP...
Page 54
C O N F I D E N T I A L Command Classification Name Function type ESC K Print and reverse feed XECUTING COMMAND RINT COMMANDS ESC R Select an international character set ETTING COMMAND HARACTER COMMANDS ESC U Turn unidirectional printing mode on/off ETTING COMMAND ECHANISM CONTROL COMMANDS...
Page 55
C O N F I D E N T I A L The following commands are supported only by Japanese/Simplified Chinese/Traditional Chinese/Korean supporting models. Command Classification Name Function type FS ! Set print mode(s) for Kanji characters ETTING COMMAND ANJI COMMANDS FS &...
Page 56
C O N F I D E N T I A L TM-P60 supported commands TM-P60 SUPPORTED COMMANDS Command Classification Name Function type Horizontal tab XECUTING COMMAND RINT POSITION COMMANDS Print and line feed XECUTING COMMAND RINT COMMANDS FF (in page mode) Print and return to standard mode (in page XECUTING COMMAND mode)
Page 57
C O N F I D E N T I A L Command Classification Name Function type ESC = Select peripheral device ETTING COMMAND ISCELLANEOUS COMMANDS ESC @ Initialize printer XECUTING ETTING ISCELLANEOUS COMMANDS ESC D Set horizontal tab positions ETTING COMMAND RINT POSITION COMMANDS ESC E...
Page 58
C O N F I D E N T I A L Command Classification Name Function type GS $ Set absolute vertical print position in page mode XECUTING COMMAND RINT POSITION COMMANDS GS ( C Edit NV user memory XECUTING ETTING USTOMIZE COMMANDS GS ( D...
Page 59
C O N F I D E N T I A L Command Classification Name Function type GS g 0 Initialize maintenance counter ETTING COMMAND ISCELLANEOUS COMMANDS GS g 2 Transmit maintenance counter XECUTING COMMAND ISCELLANEOUS COMMANDS GS h Set bar code height ETTING COMMAND AR CODE COMMANDS GS k...
Page 60
C O N F I D E N T I A L 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. Command Name Function type...
Page 61
C O N F I D E N T I A L Command Name Function type ESC ! Select print mode(s) HARACTER COMMANDS ESC $ Set absolute print position RINT POSITION COMMANDS ESC % Select/cancel user-defined character set HARACTER COMMANDS ESC &...
Page 62
C O N F I D E N T I A L Command Name Function type ESC L Select page mode ISCELLANEOUS COMMANDS ESC M Select character font HARACTER COMMANDS ESC R Select an international character set HARACTER COMMANDS ESC S Select standard mode ISCELLANEOUS COMMANDS ESC T...
Page 63
C O N F I D E N T I A L Command Name Function type ESC r Select print color HARACTER COMMANDS ESC t Select character code table HARACTER COMMANDS ESC u Transmit peripheral device status TATUS COMMANDS ESC v Transmit paper sensor status TATUS COMMANDS ESC {...
Page 64
C O N F I D E N T I A L Command Name Function type FS p Print NV bit image IMAGE COMMANDS FS q Define NV bit image IMAGE COMMANDS GS FF Print and eject label RINT COMMANDS GS ! Select character size HARACTER COMMANDS...
Page 65
C O N F I D E N T I A L Command Name Function type GS A Adjust label print starting position ISCELLANEOUS COMMANDS GS B Turn white/black reverse printing mode on/off HARACTER COMMANDS GS C 0 Select counter print mode OUNTER PRINTING COMMANDS GS C 1 Select count mode (A)
Page 66
C O N F I D E N T I A L Command Name Function type GS b Turn smoothing mode on/off HARACTER COMMANDS GS c Print counter OUNTER PRINTING COMMANDS GS f Select font for HRI characters AR CODE COMMANDS GS g 0 Initialize maintenance counter ISCELLANEOUS COMMANDS...
Page 67
C O N F I D E N T I A L The following commands are supported only by Simplified Chinese/Traditional Chinese/Korean/Japanese models. Command Name Function type FS ! Set print mode(s) for Kanji characters ANJI COMMANDS FS & Select Kanji character mode ANJI COMMANDS FS ( A Define character effects of Kanji characters...
Page 68
C O N F I D E N T I A L obsolete commands obsolete commands The following commands are obsolete commands and will not be supported by future printer models. More suitable substitute commands are listed to the right. Command Name Function type...
Page 69
C O N F I D E N T I A L obsolete commands obsolete commands Command Name Function type Substitute commands GS C 2 Select counter print mode OUNTER PRINTING COMMANDS GS C ; Select counter mode (B) OUNTER PRINTING COMMANDS GS E Select head control method GS ( K...
Page 70
C O N F I D E N T I A L Commands arranged by function COMMANDS ARRANGED BY FUNCTION Click any item to see the commands in that category. Print commands Line spacing commands Character commands Panel button command Paper sensor commands Print position commands Bit-image commands...
C O N F I D E N T I A L Print commands PRINT COMMANDS Command Name Print and line feed FF (in page mode) Print and return to standard mode (in page mode) FF (on label) Print and feed label to print starting position (on label) Print and carriage return ESC FF Print data in page mode...
Page 72
C O N F I D E N T I A L Print commands XECUTING COMMAND [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, based on the current line spacing. [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 73
C O N F I D E N T I A L TM-L90 When the origin of layout is selected to bottom of label or top of black mark in standard mode and a paper feed amount that exceeds the remaining printable area of the label is sent, the printer executes one of the following: If the printer will print a line that is higher than the remaining printable area of the label, the printer feeds the label to the next print starting position and the printer executes this command.
Page 74
C O N F I D E N T I A L Print commands FF (in page mode) XECUTING COMMAND [Name] Print and return to standard mode (in page mode) [Format] ASCII Decimal [Default] None [Range] None [Printers not featuring this command] TM-U230, TM-U220, TM-U210, TM-U300A/B [Description] In page mode, prints all the data in the print buffer collectively and switches from page mode to standard...
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"; ←Select page mode BBBBB 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 76
C O N F I D E N T I A L Print commands obsolete command obsolete command FF (on label) XECUTING COMMAND [Name] Print and feed label to print starting position (on label) [Format] ASCII Decimal [Default] None [Range] None [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-P60, TM-U230, TM-U220,...
Page 77
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$(&HC); BBBBB 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 78
C O N F I D E N T I A L Print commands XECUTING COMMAND [Name] Print and carriage return [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] TM-P60 [Description] Executes one of the following operations. Print head When auto line feed is enabled When auto line feed is disabled...
Page 79
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II, TM-U230, TM-U220, TM-U210, TM-U300A/B Program Example (Line thermal) Print Sample (Line thermal) ←Auto line feed enabled AAAAA PRINT #1, "AAAAA";CHR$(&HD); BBBBB BBBBB ←Auto line feed disabled PRINT #1, "...
Page 80
C O N F I D E N T I A L TM-L90 Auto line feed for a parallel interface is selected by Memory switch 1-5. This printer has only a line thermal head. TM-L60II Auto line feed for a parallel interface is selected by DIP switch 1-1. This printer has only a line thermal head.
Page 81
C O N F I D E N T I A L Print commands ESC FF XECUTING COMMAND [Name] Print data in page mode [Format] ASCII ESC FF Decimal [Range] None [Default] None [Printers not featuring this command] TM-U230, TM-U220, TM-U210, TM-U300A/B [Description] In page mode, prints the data in the print buffer collectively.
Page 82
C O N F I D E N T I A L Print commands ESC J XECUTING COMMAND [Name] Print and feed paper [Format] ASCII ESC J Decimal 0 ≤ ≤ 255 [Range] [Default] None [Printers not featuring this command] None ×...
Page 83
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-P60, TM-L60II, TM-U230, TM-U220, TM-U210, TM-U300A/B Program Example for all printers Print Sample AAAAA PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); BBBBB PRINT #1, "AAAAA"; CHR$(&HA); ESC J used to print one line and advance PRINT #1, "BBBBB";...
Page 84
C O N F I D E N T I A L TM-L90 The vertical or horizontal motion unit is specified by GS P. In standard mode, if the character height is greater than the specified paper feed amount, the paper is fed the amount of the character height.
Page 85
C O N F I D E N T I A L TM-P60 The vertical or horizontal motion unit is approximately 0.125 mm {1/203 inches}. This value equals one dot pitch. In standard mode, if the character height is greater than the specified paper feed amount, the paper is fed the amount of the character height.
Page 86
C O N F I D E N T I A L Print commands ESC K XECUTING COMMAND [Name] Print and reverse feed [Format] ASCII ESC K Decimal TM-U210: 0 ≤ ≤ 48 [Range] TM-U230, TM-U220, [Default] None [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-P60, TM-L60II, TM-U300A/B ×...
Page 87
C O N F I D E N T I A L [Model-dependent variations] TM-U230, TM-U210 Program Example for all printers Print Sample AAAAACCCCC PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); BBBBB ESC K used to print one line and then reverse PRINT #1, "AAAAA"; CHR$(&HA); feed the paper by 30/180 inch PRINT #1, "BBBBB";...
Page 88
C O N F I D E N T I A L Print commands ESC d XECUTING COMMAND [Name] Print and feed lines [Format] ASCII ESC d Decimal 0 ≤ ≤ 255 [Range] [Default] None [Printers not featuring this command] None [Description] Prints the data in the print buffer and feeds lines.
Page 89
C O N F I D E N T I A L [Model-dependent variations] TM-T90, TM-L90, 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 paper by six lines CCCCC TM-T90...
Page 90
C O N F I D E N T I A L Print commands ESC e XECUTING COMMAND [Name] Print and reverse feed lines [Format] ASCII ESC e Decimal TM-U230: 0 ≤ ≤ 2 [Range] TM-U210: 0 ≤ ≤ 2 TM-U220, [Default] None...
Page 91
C O N F I D E N T I A L TM-U230 This command must not be executed consecutively more than two times. In the reverse direction, the maximum paper feed amount is 8.467 mm {48/144 inch}. If the specified amount exceeds 8.467 mm {48/144 inch}, the printer only prints the data and does not feed the paper.
Page 92
C O N F I D E N T I A L Print commands obsolete command obsolete command GS FF XECUTING COMMAND [Name] Print and eject label [Format] ASCII GS FF 1D 0C Decimal [Default] None [Range] None [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-P60, TM-U230, TM-U220, TM-U210, TM-U300A/B [Description]...
Page 93
C O N F I D E N T I A L • When the paper feed button is pressed, the next label is fed in reverse direction to the print starting position. When a left margin is set, the print position is set to the left margin. When panel buttons are disabled by ESC c 5, the paper feed button is enabled temporarily when the paper LED blinks to indicate that the printer is waiting for the paper feed button to be pressed (but a label cannot be fed).
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 Paper roll Line spacing commands Ver. 10.01 p. 94...
Page 95
C O N F I D E N T I A L Line spacing commands ESC 2 ETTING COMMAND [Name] Select default line spacing [Format] ASCII ESC 2 Decimal [Range] None [Default] None [Printers not featuring this command] TM-P60 [Description] Sets the line spacing to the “default line spacing.”...
Page 96
C O N F I D E N T I A L When the maximum character height exceeds 30 dots in one line, printer feeds the paper amount of height of the character when changing lines in the standard mode. TM-T88III The default line spacing is about 4.23 mm {1/6 inch}, which is equivalent to 30 dots.
Page 97
C O N F I D E N T I A L Line spacing commands ESC 3 ETTING COMMAND [Name] Set line spacing [Format] ASCII ESC 3 Decimal 0 ≤ ≤ 255 [Range] [Default] TM-P60: = 30 Printers other than the above: Amount of line spacing which corresponds to “default line spacing.” (See ESC 2 for the default line spacing.) [Printers not featuring this command] None ×...
Page 98
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-T88III, TM-L60II, TM-L90, TM-P60, TM-U230, TM-U220, TM-U210, TM-U300A/B 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...
Page 99
C O N F I D E N T I A L TM-T88III The vertical or horizontal motion unit is specified by GS P. In standard mode, if the character height is greater than the line spacing specified by this command, the paper is fed the amount of the character height.
Page 100
C O N F I D E N T I A L TM-U230 The vertical motion unit is 0.176 mm {1/144 inch}. This value equals a half dot pitch. This command does not use the horizontal motion unit because this printer does not support page mode. The default value is ( = 24).
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 102
C O N F I D E N T I A L Character commands XECUTING COMMAND [Name] Cancel print data in page mode [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] TM-U220, TM-U230, TM-U210, TM-U300A/B [Description] In page mode, deletes all the print data in the current print area.
Page 103
C O N F I D E N T I A L Character commands ESC SP ETTING COMMAND [Name] Set right-side character spacing [Format] ASCII ESC SP Decimal [Range] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-U210: 0 ≤ ≤ 255 TM-L60II, TM-P60, TM-U230, TM-U220, TM-U300A/B: 0 ≤...
Page 104
C O N F I D E N T I A L Settings of this command are effective until ESC @ is executed, the printer is reset, or the power is turned off. It is used to change the spacing between characters. [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60, TM-U230, TM-U220, TM-U210,...
Page 105
C O N F I D E N T I A L TM-P60 The horizontal or vertical motion unit is approximately 0.125 mm {1/203 inches}. This value equals one dot pitch. TM-U230 The horizontal motion unit is 0.159 mm {1/160 inch}. 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 106
C O N F I D E N T I A L Character commands ESC ! ETTING COMMAND [Name] Select print mode(s) [Format] ASCII ESC ! Decimal 0 ≤ ≤ 255 [Range] [Default] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II: TM-U230, TM-U220, TM-U210, TM-U300A/B: [Printers not featuring this command] TM-P60...
Page 107
C O N F I D E N T I A L [Notes] Settings of this command are effective until ESC @ is executed, the printer is reset, the power is turned off, or one of the following commands is executed: •...
Page 108
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-T88III, TM-L60II, TM-U230, TM-U220, TM-U210, TM-U300A/B Program Example for all printers Print Sample PRINT #1, CHR$(&H1B);"!";CHR$(0); "AA"; ← Font A PRINT #1, CHR$(&H1B);"!";CHR$(8); "BB"; PRINT #1, CHR$(&H1B);"!";CHR$(16);...
Page 109
C O N F I D E N T I A L TM-J2000/J2100 [Other than Japanese model] Character configurations Font 1 = Font A (alphanumeric and Katakana characters: 12 × 24 / Thai characters: 12 × 72) Bit 0: Font 2 = Font B (alphanumeric and Katakana characters: 9 × 17 / Thai characters: 9 × 51) Each character’s baseline is as follows: Font A (12 ×...
Page 110
C O N F I D E N T I A L TM-L90 [Other than Japanese Kanji model] Character configurations Font 1 = Font A (alphanumeric and Katakana characters: 12 × 24 / Thai characters: 12 × 72) Bit 0: Font 2 = Font B (alphanumeric and Katakana characters: 9 ×...
Page 111
C O N F I D E N T I A L TM-U230, TM-U220, TM-U210 Character configurations Font 1 = Font A (alphanumeric Katakana characters: 9 × 9 / Thai characters: 9 × 27) Bit 0: Font 2 = Font B (alphanumeric Katakana characters: 7 × 9 / Thai characters: 7 × 27) Both fonts have no baseline.
Page 112
C O N F I D E N T I A L Character commands ESC % ETTING COMMAND [Name] Select/cancel user-defined character set [Format] ASCII ESC % Decimal 0 ≤ ≤ 255 [Range] [Default] [Printers not featuring this command] TM-P60 [Description] Selects or cancels the user-defined character set.
Page 113
C O N F I D E N T I A L Character commands ESC & ETTING COMMAND [Name] Define user-defined characters × × y c1 c2 [x1 d1 ... d(y x1)] ... [xk d1 ... d(y xk)] [Format] ASCII ESC &...
Page 114
C O N F I D E N T I A L TM-L60II: 32 ≤ ≤ ≤ 126 0 ≤ ≤ 12 (Font A (12 × 24)) 0 ≤ ≤ 9 (Font B (9 × 24)) 0 ≤ ≤ 255 –...
Page 115
C O N F I D E N T I A L A user-defined character, downloaded graphics, and downloaded bit image cannot be defined simultaneously on some printer models. • When this command is executed, the downloaded bit image is cleared. •...
Page 116
C O N F I D E N T I A L TM-T90 Only the MSB can be printed in the third byte for vertical direction of Font B of other than Japanese model. Expect for the Japanese Kanji model, a user-defined character and downloaded bit image cannot be defined simultaneously when the memory switch 8-7 is ON.
Page 117
C O N F I D E N T I A L TM-U210 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 118
C O N F I D E N T I A L Character commands ESC – ETTING COMMAND [Name] Turn underline mode on/off [Format] ASCII ESC – Decimal 0 ≤ ≤ 2, 48 ≤ ≤ 50 [Range] TM-J2000/J2100, TM-T90, TM-U220,TM-T88III, TM-L90, TM-P60, TM-L60II: TM-U230, TM-U210: = 0, 1, 48, 49...
Page 119
C O N F I D E N T I A L [Model-dependent variations] TM-U300A/B, TM-U220 Program Example for all printers Print Sample PRINT #1, CHR$(&H1B);"-";CHR$(1); ← Select ← Underline (1-dot thick) turned on AAAAA ← PRINT #1, "AAAAA"; CHR$(&HA); BBBBB Underline turned off PRINT #1, CHR$(&H1B);"-";CHR$(0);...
Page 120
C O N F I D E N T I A L Character commands ESC ? ETTING COMMAND [Name] Cancel user-defined characters [Format] ASCII ESC ? Decimal 32 ≤ ≤ 126 [Range] [Default] None [Printers not featuring this command] TM-P60, TM-U300A/B [Description] Deletes the user-defined character pattern specified by character code...
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 122
C O N F I D E N T I A L Character commands ESC E ETTING COMMAND [Name] Turn emphasized mode on/off [Format] ASCII ESC E Decimal 0 ≤ ≤ 255 [Range] [Default] [Printers not featuring this command] None [Description] Turns emphasized mode on or off.
Page 123
C O N F I D E N T I A L Character commands ESC G ETTING COMMAND [Name] Turn double-strike mode on/off [Format] ASCII ESC G Decimal 0 ≤ ≤ 255 [Range] [Default] [Printers not featuring this command] TM-P60 [Description] Turns double-strike mode on or off.
Page 124
C O N F I D E N T I A L Character commands ESC M ETTING COMMAND [Name] Select character font [Format] ASCII ESC M Decimal [Range] TM-U220, TM-T88III: = 0, 1, 48, 49 TM-J2000/J2100, TM-T90, TM-L90: = 0, 1, 48, 49 (Other than Japanese model) 0 ≤...
Page 125
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-T88III, TM-P60, TM-U220 Program Example for all printers Print Sample AAAAA ← Font A PRINT #1, CHR$(&H1B);"M";CHR$(0);← Select font A ← Font B PRINT #1, "AAAAA";CHR$(&HA);...
Page 126
C O N F I D E N T I A L TM-T88III Character configurations Font A: (alphanumeric and Katakana characters: 12 × 24 / Thai character: 12 × 72) Font B: (alphanumeric and Katakana characters: 9 × 17 / Thai character: 9 × 51) Each character’s baseline is as follow: Font A (12 ×...
Page 127
C O N F I D E N T I A L TM-P60 Character configurations Font A: (12 × 24) Font B: (10 × 24) Font C: (8 × 16) Each character’s baseline is as follows: Font A (12 × 24): 21 dots from the top of a character. Font B (10 ×...
Page 128
C O N F I D E N T I A L Character commands ESC R ETTING COMMAND [Name] Select an international character set [Format] ASCII ESC R Decimal TM-U230: 0 ≤ ≤ 13 [Range] TM-J2000/J2100, TM-T90, TM-L90, TM-T88III: 0 ≤ ≤...
Page 129
C O N F I D E N T I A L Country U.K. Denmark I Sweden Italy Spain Japan Norway Denmark II Spain II Latin America Korean Slovenia / Croatia Chinese [Notes] The selected international character set is effective until ESC @ is executed, the printer is reset, or the power is turned off.
Page 130
C O N F I D E N T I A L [Model-dependent variations] TM-U220 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 131
C O N F I D E N T I A L Character commands ESC V ETTING COMMAND [Name] Turn 90° clockwise rotation mode on/off [Format] ASCII ESC V Decimal TM-L90: 0 ≤ ≤ 2, 48 ≤ ≤ 50 [Range] TM-J2000/J2100, TM-T90, TM-T88III, TM-L60II:...
Page 132
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90 Program Example for all printers Print Sample Character spacing PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180); PRINT #1, CHR$(&H1B);" ";CHR$(20);← Set character spacing PRINT #1, CHR$(&H1B);"3";CHR$(15);← Set line spacing Line PRINT #1, CHR$(&H1B);"V";CHR$(1);←...
Page 133
C O N F I D E N T I A L Character commands ESC r ETTING COMMAND [Name] Select print color [Format] ASCII ESC r Decimal [Range] TM-U210: = 0, 1, 48, 49 TM-U300A/B: = 0, 1 [Default] [Printers not featuring this command] TM-J2000, TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60 [Description] Selects a print color, using...
Page 134
C O N F I D E N T I A L Printing data Command <Function> Graphics GS ( L <Function50> <Function112> <Function113> NV graphics GS ( L <Function67> <Function68> <Function69> Downloaded graphics GS ( L <Function83> <Function84> <Function85> [Model-dependent variations] TM-J2100, TM-U230, TM-U220, TM-U210,TM-U300A/B Program Example for all printers...
Page 135
C O N F I D E N T I A L Character commands ESC t ETTING COMMAND [Name] Select character code table [Format] ASCII ESC t Decimal [Range] TM-J2000/J2100, TM-T88III, TM-T90, TM-L90: 0 ≤ ≤ 5, 16 ≤ ≤ 26, = 255 (Thai model) 0 ≤...
Page 136
C O N F I D E N T I A L Character code table Page 5 [PC865 (Nordic)] Page 6 [Simplified Kanji, Hirakana] Page 7 [Simplified Kanji] Page 8 [Simplified Kanji] Page 16 [WPC1252] Page 17 [PC866 (Cyrillic #2)] Page 18 [PC852 (Latin 2)] Page 19 [PC858 (Euro)] Page 20 [Thailand character code 42]...
Page 137
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-P60, TM-L60II, TM-U300A/B, TM-U230, TM-T88III, TM-U210, TM-U220. Program Example for all printers Print Sample PRINT #1, CHR$(&H1B);"t";CHR$(0); ← Select page 0 GOSUB printing PRINT #1, CHR$(&H1B);"t";CHR$(1);...
Page 138
C O N F I D E N T I A L TM-P60 Page 255 is able to be edited by <Function 7> ~ <Function 10> of GS ( E. When the printer is shipped, the page is a space page. TM-L60II Page 255 is a space page.
Page 139
C O N F I D E N T I A L Character commands ESC { ETTING COMMAND [Name] Turn upside-down print mode on/off [Format] ASCII ESC { Decimal 0 ≤ ≤ 255 [Range] [Default] [Printers not featuring this command] None [Description] In standard mode, turns upside-down print mode on or off.
Page 140
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 ABCDE PRINT #1, "ABCDE"; CHR$(&HA); BCDEF PRINT #1, "BCDEF"; CHR$(&HA); PRINT #1, CHR$(&H1B);"{";CHR$(1); ← Select BCDEF PRINT #1, "ABCDE";...
Page 141
C O N F I D E N T I A L Character commands GS ( N ETTING COMMAND [Name] Select character effects [Printers not featuring this command] TM-T88III, TM-L60II, TM-P60, TM-U230, TM-U220, TM-U210, TM-U300A/B [Description] Selects the character style(s) •...
Page 142
C O N F I D E N T I A L Program Example for all printers Print Sample PRINT #1, CHR$(&H1D);"(N";CHR$(2);CHR$(0); Color 1 Color 2 PRINT #1, CHR$(48); CHR$(49);← Set character color 1 PRINT #1, "Color 1"; PRINT #1, CHR$(&H1D);"(N";CHR$(2);CHR$(0); PRINT #1, CHR$(48);...
Page 143
C O N F I D E N T I A L TM-L90 This printer supports only Function 48. When using the recommended two-color paper, the following character colors are available. Color selection Character color Controls Notes Color 1 Black (KR, KB, KG) Print by high energy Color 2 Red (KR) Print by low energy...
Page 144
C O N F I D E N T I A L GS ( N p fn m <Function 48> [Name] Select character color fn m [Format] ASCII GS ( 1D 28 02 00 30 Decimal × 256) = 2 ( [Range] TM-J2000 (single-color printing model): = 48, 49...
Page 145
C O N F I D E N T I A L TM-J2000/J2100 After processing this function, the bit images (ESC *), downloaded bit images, and NV bit images are always printed in Color 1. TM-T90 This function is available only when the recommended two-color thermal paper is selected. See Function 5 of GS ( E for specifying the paper (black and white thermal paper/two-color thermal paper).
Page 146
C O N F I D E N T I A L GS ( N p fn m <Function 49> [Name] Select background color fn m [Format] ASCII GS ( 1D 28 02 00 31 Decimal × 256) = 2 ( [Range] TM-J2000 (single-color printing model): = 48, 49...
Page 147
C O N F I D E N T I A L TM-J2000/J2100 After processing this function, the bit images (ESC *), downloaded bit images, and NV bit images are always printed in Color 1. TM-T90 This printer does not support this function. TM-L90 This printer does not support this function.
Page 148
C O N F I D E N T I A L GS ( N p fn m <Function 50> [Name] Turn shading mode on/off fn m [Format] ASCII GS ( 1D 28 03 00 32 Decimal × 256) = 3 ( [Range] = 50 = 0, 1, 48, 49...
Page 149
C O N F I D E N T I A L TM-J2000/J2100 The color of the shadow cannot be specified. Always select None ( = 48). TM-T90 This printer does not support this function. TM-L90 This printer does not support this function. Paper roll Character commands GS ( N...
Page 150
C O N F I D E N T I A L Character commands GS ! ETTING COMMAND [Name] Select character size [Format] ASCII GS ! 1D 21 Decimal 0 ≤ ≤ 7, 16 ≤ ≤ 23, 32 ≤ ≤ 39, 48 ≤ ≤...
Page 151
C O N F I D E N T I A L [Notes] The character size set by this command is effective for alphanumeric, Kana, multilingual, and user-defined characters. When the characters are enlarged with different heights on one line, all the characters on the line are aligned at the baseline.
Page 152
C O N F I D E N T I A L Character commands GS B ETTING COMMAND [Name] Turn white/black reverse print mode on/off [Format] ASCII GS B 1D 42 Decimal 0 ≤ ≤ 255 [Range] [Default] [Printers not featuring this command] TM-U220, TM-U230, TM-U210, TM-U300A/B [Description] Turns white/black reverse print mode on or off.
Page 153
C O N F I D E N T I A L [Model-dependent variations] None Program Example for all printers Print Sample ← White/black reverse printing AAAAA PRINT #1, CHR$(&H1D);"B";CHR$(1); ← Select BBBBB ← Normal printing PRINT #1, "AAAAA"; CHR$(&HA); PRINT #1, CHR$(&H1D);"B";CHR$(0);...
Page 154
C O N F I D E N T I A L Character commands GS b ETTING COMMAND [Name] Turn smoothing mode on/off [Format] ASCII GS b 1D 62 Decima 0 ≤ ≤ 255 [Range] [Default] [Printers not featuring this command] TM-U220, TM-U230, TM-U210, 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 Paper roll Panel button command Ver. 10.01 p. 155...
Page 156
C O N F I D E N T I A L Panel button command ESC c 5 ETTING COMMAND [Name] Enable/disable panel buttons [Format] ASCII ESC c Decimal 0 ≤ ≤ 255 [Range] [Default] [Printers not featuring this command] None [Description] Enables or disables the panel buttons.
Page 157
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60, TM-U230, TM-U220, TM-U210, TM-U300A/B Program Example for all printers PRINT #1, CHR$(&H1B);"c5";CHR$(1); ← Disable panel buttons TM-J2000/J2100 The panel button is FEED. When the roll paper end sensor detects a paper end, the FEED button is enabled regardless of the setting of this command.
Page 158
C O N F I D E N T I A L TM-L90 The panel button is FEED. When the PAPER OUT LED flashes with executing macro function, the FEED is enabled regardless of the setting of this command. Even if the switch is pressed, paper cannot be fed. When the cover is open or the roll paper end sensor detects a paper end, the FEED button is disabled regardless of the settings of this command.
Page 159
C O N F I D E N T I A L TM-U220 The panel button is FEED. When the roll paper end sensor detects a paper end, the FEED button is enabled regardless of the setting of this command. When the cover is open, the FEED button is disabled regardless of the settings of this command.
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 Paper roll Paper sensor commands Ver.
Page 161
C O N F I D E N T I A L Paper sensor commands ESC c 3 ETTING COMMAND [Name] Select paper sensor(s) to output paper-end signals [Format] ASCII ESC c Decimal 0 ≤ ≤ 255 [Range] [Default] TM-J2000/J2100, TM-L90: TM-T90: = 0 (For the Japanese model or when memory switch Msw 8-7 is OFF.)
Page 162
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 roll paper near-end sensor is enabled when either bit 0 or bit 1 is on or both are on. The roll paper end sensor is enabled when either bit 2 or bit 3 is on or both are on.
Page 163
C O N F I D E N T I A L Paper sensor commands ESC c 4 ETTING COMMAND [Name] Select paper sensor(s) to stop printing [Format] ASCII ESC c Decimal 0 ≤ ≤ 255 [Range] [Default] [Printers not featuring this command] TM-P60 [Description] Selects the paper sensor(s) to use to stop printing when a paper end is detected using...
Page 164
C O N F I D E N T I A L The roll paper end sensor is enabled when either bit 2 or bit 3 is on or both are on. When a paper near-end is detected, printing stops after printing the current line and feeding the paper. The printer goes offline and Paper LED comes on after printing stops.
Page 165
C O N F I D E N T I A L TM-T88III Bits 2 and 3 are undefined. The roll paper end sensor is always enabled, and when it detects a paper-end, the printer stops printing. When a roll paper near-end or a roll paper end are detected, the PAPER OUT LED comes on. TM-L90 Bits 2 and 3 are undefined.
Page 166
C O N F I D E N T I A L TM-U220, TM-U210 Bits 2 and 3 are undefined. The roll paper end sensor is always enabled, and when it detects a paper-end, the printer stops printing. When a roll paper near-end or a roll paper end is detected, the PAPER OUT LED comes on. The roll paper near-end sensor is an option.
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 print area in page mode ESC \...
Page 168
C O N F I D E N T I A L Print position commands XECUTING COMMAND [Name] Horizontal tab [Format] ASCII Decimal [Range] None [Default] None [Printers not featuring this command] None [Description] Moves the print position to the next horizontal tab position. [Notes] This command is ignored unless the next horizontal tab position has been set.
Page 169
C O N F I D E N T I A L Print position commands ESC $ XECUTING COMMAND [Name] Set absolute print position [Format] ASCII ESC $ Decimal 0 ≤ ≤ 255 [Range] 0 ≤ ≤ 255 [Printers not featuring this command] TM-U230, TM-U220, TM-U210, TM-U300A/B ×...
Page 170
C O N F I D E N T I A L TM-T90 The vertical or horizontal motion unit is specified by GS P. TM-T88III The vertical or horizontal motion unit is specified by GS P. TM-L60II The vertical or horizontal motion unit is specified by GS P. TM-L90 The vertical or horizontal motion unit is specified by GS P.
Page 171
C O N F I D E N T I A L Print position commands ESC D ETTING COMMAND [Name] Set horizontal tab positions n1 ... nk [Format] ASCII ESC D n1 ... nk n1 ... nk Decimal 1 ≤ ≤...
Page 172
C O N F I D E N T I A L Horizontal tab position settings are effective until ESC @ is executed, the printer is reset, or the power is turned off. Print position can be changed by HT. When the left margin setting is changed, the horizontal tab position is also changed.
Page 173
C O N F I D E N T I A L Print position commands ESC T ETTING COMMAND [Name] Select print direction in page mode [Format] ASCII ESC T Decimal 0 ≤ ≤ 3, 48 ≤ ≤ 51 [Range] [Default] [Printers not featuring this command] TM-U230, TM-U220, TM-U210, TM-U300A/B...
Page 174
C O N F I D E N T I A L • If the starting position is the upper right or lower left of the print area: These commands use horizontal motion units: ESC 3, ESC J, GS $, GS \ These commands use vertical motion units: ESC SP, ESC $, ESC \ The settings of this command are effective until ESC @ is executed, the printer is reset, or the power is turned off.
Page 175
C O N F I D E N T I A L Print position commands ESC W ETTING COMMAND [Name] Set print area in page mode [Format] ASCII ESC W Decimal 0 ≤ ≤ 255 [Range] (except for = 0 or = 0) [Default] Horizontal logical origin and vertical logical origin= 0...
Page 176
C O N F I D E N T I A L [Default] TM-L90: [when the receipt is selected] = 64, = 2 (when paper width is set to 80 mm to 78 mm) (256 + (paper width – 38) × 8) (when paper width is set to 77 mm to 38 mm) = 196, [when the label paper is selected] = 48,...
Page 177
C O N F I D E N T I A L Horizontal logical origin and print area width are calculated using the vertical motion unit. Vertical logical origin and print area height are calculated using the horizontal motion unit. Even if the horizontal or vertical motion unit is changed after changing the printable area, the setting of the printable area will not be changed.
Page 178
C O N F I D E N T I A L TM-T88III The vertical or horizontal motion unit is specified by GS P. TM-L90 The vertical or horizontal motion unit is specified by GS P. When a set value of the paper layout (horizontal and vertical size of the print area) is smaller than the print area (initial value of this command), it is not possible to print in the area where the paper layout (horizontal and vertical size of the print area) is exceeded.
Page 179
C O N F I D E N T I A L Print position commands ESC \ XECUTING COMMAND [Name] Set relative print position [Format] ASCII ESC \ Decimal –32768 ≤ ( × 256) ≤ 32767 [Range] [Default] None [Printers not featuring this command] TM-U230, TM-U220, TM-U210, TM-U300A/B ×...
Page 180
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 181
C O N F I D E N T I A L Print position commands ESC a ETTING COMMAND [Name] Select justification [Format] ASCII ESC a Decimal 0 ≤ ≤ 2, 48 ≤ ≤ 50 [Range] [Default] [Printers not featuring this command] TM-U300A/B [Description] In standard mode, aligns all the data in one line to the selected layout, using...
Page 182
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 ESC a 0 ABCD PRINT #1, CHR$(&H1B);"a";CHR$(n); ABCDE PRINT #1, "ABC"; CHR$(&HA); ABCD ESC a 1 PRINT #1, "ABCD";...
Page 183
C O N F I D E N T I A L Print position commands GS $ XECUTING COMMAND [Name] Set absolute vertical print position in page mode [Format] ASCII GS $ 1D 24 Decimal 0 ≤ ≤ 255, 0 ≤ ≤...
Page 184
C O N F I D E N T I A L TM-T90 The vertical or horizontal motion unit is specified by GS P. TM-T88III The vertical or horizontal motion unit is specified by GS P. TM-L90 The vertical or horizontal motion unit is specified by GS P. TM-L60II The vertical or horizontal motion unit is specified by GS P.
Page 185
C O N F I D E N T I A L Print position commands GS L ETTING COMMAND [Name] Set left margin [Format] ASCII GS L 1D 4C Decimal 0 ≤ ( × 256) ≤ 65535 (0 ≤ ≤ 255, 0 ≤ ≤...
Page 186
C O N F I D E N T I A L TM-J2000/J2100 The horizontal motion unit is specified by GS P. TM-T90 The horizontal motion unit is specified by GS P. TM-T88III The horizontal motion unit is specified by GS P. TM-L90 The horizontal motion unit is specified by GS P.
Page 187
C O N F I D E N T I A L Print position commands GS T XECUTING COMMAND [Name] Set print position to the beginning of print line [Format] ASCII GS T 1D 54 Decimal [Range] = 0, 1, 48, 49 [Default] None [Printers not featuring this command] TM-T88III, TM-L60II, TM-P60, TM-U230, TM-U220, TM-U210,...
Page 188
C O N F I D E N T I A L [Model-dependent variations] None Program Example PRINT #1, CHR$(&H1D);"T";CHR$(1); PRINT #1, CHR$(&H1B);"c0";CHR$(2); PRINT #1, CHR$(&H1D);"V"CHR$(66);CHR$(66); Paper roll Print position commands GS T Ver. 10.01 p. 188...
Page 189
C O N F I D E N T I A L Print position commands GS W ETTING COMMAND [Name] Set print area width [Format] ASCII GS W 1D 57 Decimal 0 ≤ ( × 256) ≤ 65535 (0 ≤ ≤...
Page 190
C O N F I D E N T I A L [Printers not featuring this command] TM-U230, TM-U220, TM-U210, TM-U300A/B × 256) × (horizontal motion unit). [Description] In standard mode, sets the print area width to ( [Notes] When standard mode is selected, this command is enabled only when processed at the beginning of the line.
Page 191
C O N F I D E N T I A L TM-J2000/J2100 The horizontal motion unit is specified by GS P. See GS ( E Functions 5 for specifying the paper width. TM-T90 The horizontal motion unit is specified by GS P. See GS ( E Functions 5 and 6 for specifying the paper width.
Page 192
C O N F I D E N T I A L Print position commands GS \ XECUTING COMMAND [Name] Set relative vertical print position in page mode [Format] ASCII GS \ 1D 5C Decimal –32768 ≤ ( × 256) ≤ 32767 [Range] [Default] None...
Page 193
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 194
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 GS ( L GS 8 L Set graphics data Define downloaded bit image GS / Print downloaded bit image...
Page 195
C O N F I D E N T I A L Bit-image commands XECUTING COMMAND [Name] Select bit-image mode [Format] ASCII d1 ... dk Decimal [Range] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II: = 0, 1, 32, 33 0 ≤ ≤ 255 0 ≤...
Page 196
C O N F I D E N T I A L × 256) dots. • specifies a bit image in the horizontal direction as ( • specifies the bit image data (column format). • indicates the amount of bit image data. is an explanation parameter;...
Page 197
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II, TM-U230, TM-U220, TM-U210, TM-U300A/B Program Example for all printers Print Sample ← m=0: GOSUB bitimage8 8-dot single-density ← m=1: GOSUB bitimage8 8-dot double-density bitimage8: PRINT #1, CHR$(&H1B);"...
Page 198
C O N F I D E N T I A L TM-J2000 (single-color printing model) The modes selectable by are as follows: “Vertical” is in the direction of paper feeding and “horizontal” is perpendicular (at right angles) to the direction of paper feeding. See Function 5 of GS E for specifying the paper.
Page 199
C O N F I D E N T I A L TM-J2100 (two-color printing model) The modes selectable by are as follows: When both standard mode and page mode are selected (a starting position specified by ESC T is upper left or lower right).
Page 200
C O N F I D E N T I A L TM-T90 The modes selectable by are as follows: “Vertical” is in the direction of paper feeding and “horizontal” is perpendicular (at right angles) to the direction of paper feeding. See Functions 5 and 6 of GS ( E to specify the paper width.
Page 201
C O N F I D E N T I A L [Japanese model] Horizontal Maximum number of dots Vertical dot Set adjacent Paper width Paper width Paper width Mode density density dots 82.5 mm 76 mm 70 mm 8-dot single-density 203/3 dpi 203/2 dpi Permitted...
Page 202
C O N F I D E N T I A L TM-T88III The modes selectable by are as follows: When both standard mode and page mode are selected (a starting position specified by ESC T is upper left or lower right). Horizontal Maximum number of dots Vertical...
Page 203
C O N F I D E N T I A L TM-L90 The modes selectable by are as follows: “Vertical” is in the direction of paper feeding and “horizontal” is perpendicular (at right angles) to the direction of paper feeding. See Function 5 of GS ( E for specifying the paper width.
Page 204
C O N F I D E N T I A L When the starting position specified by ESC T is upper right or lower left in page mode. Vertical Mode Dot density Set adjacent dots Maximum number of dots Horizontal dot density 8-dot single-density 203/2 dpi...
Page 205
C O N F I D E N T I A L TM-U230 The modes selectable by are as follows: “Vertical” is in the direction of paper feeding and “horizontal” is perpendicular (at right angles) to the direction of paper feeding. Horizontal Mode Vertical dot density...
Page 206
C O N F I D E N T I A L TM-U220 The modes selectable by are as follows: “Vertical” is in the direction of paper feeding and “horizontal” is perpendicular (at right angles) to the direction of paper feeding. The maximum number of dots for printing depends on a DIP switch [SW2-1] setting and paper width.
Page 207
obsolete command obsolete command C O N F I D E N T I A L Bit-image commands FS p XECUTING COMMAND [Name] Print NV bit image [Format] ASCII Decimal [Printers not featuring this command] TM-L90, TM-U230, TM-U210, TM-L60II, TM-P60, TM-U300A/B 1 ≤...
Page 208
C O N F I D E N T I A L [Notes] This command is not effective when the NV bit image specified by has not been defined. In standard mode, this command is effective only when there is no data in the print buffer and the printer is at the beginning of the line.
Page 209
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) Definition PRINT #1, DATA 83,80,00,00,02,4C,00,00,00,04,80,00,00,00,02 CHR$(&H1C);"q";CHR$(1);CHR$(18);CHR$(0);CHR$(5);CHR$(0); DATA 40,00,00,00,04,80,00,00,00,02,4A,AA,AA,AA,A4 FOR i=1 TO 18*5*8 DATA 85,55,55,55,42,4A,AA,AA,AA,A4,85,55,55,55,42 READ a$: d=VAL("&H"+a$) DATA 4A,AA,AA,AA,A4,85,00,05,00,02,4A,08,0A,80,04...
Page 210
C O N F I D E N T I A L TM-J2000/J2100 These printers support the graphics functions of GS ( L/GS 8 L. It is recommended that GS ( L /GS 8 L be used. Values of [Dot density] and [Maximum print area (dot)] are the same as the graphic function. (See Function 69 of GS ( L/GS 8 L.) TM-T90 This printer supports functions concerning NV graphics by GS ( L / GS 8 L.
Page 211
C O N F I D E N T I A L TM-T88III This command can be used in standard mode. The dot density and the maximum print area are described in the next tables (dpi: number of dots per 25.4 mm). “Vertical”...
Page 212
C O N F I D E N T I A L Bit-image commands GS ( L GS 8 L XECUTING ETTING [Name] Set graphics data [Printers not featuring this command] TM-T88III, TM-L60II, TM-U210, TM-U300A/B, TM-U230, TM-U220 [Description] Processes graphics data. •...
Page 213
C O N F I D E N T I A L Function No. Function name Function 112 Store the graphics data in the print buffer (raster format). Function 113 Store the graphics data in the print buffer (column format). ×...
Page 214
C O N F I D E N T I A L The graphics functions provided here maintain upward compatibility with conventional bit image processing. Graphics type Corresponding bit image command (*1) NV graphics FS p, FS q Download graphics GS , GS / Graphics GS Q 0, GS v 0...
Page 215
C O N F I D E N T I A L • Graphics [Functions 50, 112, and 113] Stores data in the print buffer. When standard mode is selected, prints data using Function 50 and clears the print buffer. When page mode is selected, prints data using FF and ESC FF and clears the print buffer after FF is executed.
Page 216
C O N F I D E N T I A L When printing the various types of graphics data, using the ESC U command will ensure that the printed results are properly aligned vertically by printing in a single direction. Functions 65, 66, 67, or 68 write data to a non-volatile memory.
Page 217
C O N F I D E N T I A L During the interval between the sending of the data header and NUL, ASB status and the real time commands are rendered invalid. When communication with the printer uses XON/XOFF control with serial interface, the XOFF code may interrupt the “Header to NUL”...
Page 218
C O N F I D E N T I A L (*2) Processing According to Response Code (When Send Data Remains (indicated by identification status of send data group)) Response code Description Initiates operation to send next data. Resends the just-received data. Cancels processing initiated by this command.
Page 219
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-P60 Program Sample 1 (Defining and printing NV graphics data) * Description for image data has been omitted. PRINT #1, CHR$(&H1D);"(L";CHR$(76);CHR$(6);CHR$(48);CHR$(67);CHR$(48); ← Function 67: defining data (raster) PRINT #1, "G1";...
Page 220
C O N F I D E N T I A L Program Sample 2 (Printing graphics data) * Description for image data has been omitted. CHR$(&H1D);"(L";CHR$(250);CHR$(0);CHR$(48);CHR$(112);CHR$(48); ← Function 112: sending data PRINT #1, (raster) PRINT #1, CHR$(1);CHR$(1); ← Specifies size (horizontal (times 1) vertical (times 1)) PRINT #1, CHR$(49);...
Page 221
C O N F I D E N T I A L Program Sample 3 (Sending key code list) * Description for image data has been omitted. PRINT #1, CHR$(&H1D);"(L";CHR$(4);CHR$(0);CHR$(48);CHR$(64);CHR$(75);CHR$(67); ← Function 64: *LOOP: GOSUB *RECEIVE ← Receives "Header to NUL" data and stores it in ST$ (description omitted) PRINT #1,CHR$(6);...
Page 222
C O N F I D E N T I A L TM-J2000/J2100 NV graphics data shares the domain used by user NV memory [GS ( C] record data. The entire capacity is 384 KB. Only “the Color 1” can be used in special ink cartridge (SJIC5) of TM-J2000. The following printing colors are available when the SJIC3 and SJIC4 cartridge specially designed for the TM-J2100 printer, is used Color selection Printing color...
Page 223
C O N F I D E N T I A L TM-T90 Download graphics [Functions 52, 80, 81, 82, 83, 84, and 85], data processing in column format [Functions 68 and 113], and Function 49 are not supported. The domain of the NV graphics data can be selected by using Function 5 of the GS ( E command. (Unit: byte) Selectable data domain Default...
Page 224
C O N F I D E N T I A L TM-L90 Download graphics [Functions 52, 80, 81, 82, 83, 84, and 85], data processing in column format [Functions 68 and 113], and Function 49 are not supported. The domain of the NV graphics data can be selected by using Function 5 of the GS ( E command. (Unit: byte) Selectable data domain Default...
Page 225
C O N F I D E N T I A L GS ( L p m fn <Function 48> [Name] Transmit the NV graphics memory capacity. [Format] ASCII GS ( 1D 28 Decimal × 256) = 2 ( [Range] = 2, = 0) = 48...
Page 226
C O N F I D E N T I A L [Model-dependent variations] TM-T90, TM-L90 TM-T90 If you select a combination of settings that is not possible, the entire capacity of the NV graphics memory that can be in actual use will be sent instead of the memory size set by GS ( E. TM-L90 If you select a combination of settings that is not possible, the entire capacity of the NV graphics memory that can be in actual use will be sent instead of the memory size set by GS ( E.
Page 227
C O N F I D E N T I A L GS ( L p m fn x y <Function 49> [Name] Set the reference dot density for graphics. [Format] ASCII GS ( fn x fn x 1D 28 fn x Decimal ×...
Page 228
C O N F I D E N T I A L Bit image Command Name FS q Print NV bit image GS / Print download bit image GS Q 0 Print variable vertical size bit image GS v 0 Print raster bit image [Model-dependent variations] TM-T90, TM-L90,...
Page 229
C O N F I D E N T I A L GS ( L p m fn <Function 50 > [Name] Print the graphics data in the print buffer. [Format] ASCII GS ( 1D 28 Decimal × 256) = 2 ( [Range] = 2, = 0)
Page 230
C O N F I D E N T I A L GS ( L p m fn <Function 51 > [Name] Transmit the remaining capacity of the NV graphics memory. [Format] ASCII GS ( 1D 28 Decimal × 256) = 2 ( [Range] = 2, = 0)
Page 231
C O N F I D E N T I A L GS ( L p m fn <Function 52 > [Name] Transmit the remaining capacity of the download graphics memory. [Format] ASCII GS ( 1D 28 Decimal × 256) = 2 ( [Range] = 2, = 0)
Page 232
C O N F I D E N T I A L [Model-dependent variations] TM-T90, TM-L90, TM-P60 TM-T90 The printer does not support this function. TM-L90 The printer does not support this function. TM-P60 The printer does not support this function. Paper roll Bit-image commands GS ( L GS 8 L...
Page 233
C O N F I D E N T I A L GS ( L p m fn d1 d2 <Function 64 > [Name] Transmit the key code list for defined NV graphics. [Format] ASCII GS ( fn d1 d2 1D 28 Decimal ×...
Page 234
C O N F I D E N T I A L (*2) If the number of NV graphics data groups is 40 or less, they are sent in a single batch, with the Identification status byte (byte 3) set to hexadecimal value 40H and decimal value 64. (*3) The data groups are arranged according to the key codes.
Page 235
C O N F I D E N T I A L GS ( L p m fn d1 d2 d3 <Function 65> [Name] Delete all NV graphics data. [Format] ASCII GS ( fn d1 d2 d3 1D 28 Decimal ×...
Page 236
C O N F I D E N T I A L GS ( L p m fn kc1 kc2 <Function 66 > [Name] Delete the specified NV graphics data. [Format] ASCII GS ( fn kc1 kc2 kc1 kc2 1D 28 kc1 kc2 Decimal ×...
Page 237
C O N F I D E N T I A L GS ( L p m fn a kc1 kc2 b x [c d1...dk]1...[c d1...dk]b <Function 67 > GS 8 L p1 p2 p3 p4 m fn a kc1 kc2 b x [c d1...dk]1...[c d1...dk]b [Name] Define the NV graphics data (raster format).
Page 238
C O N F I D E N T I A L TM-T90: = 1, 2 (when the recommended two-color paper is used) = 1 (when the recommended monochrome paper is used) 1 ≤ ( × 256) ≤ 8192 (0 ≤ ≤...
Page 239
C O N F I D E N T I A L • indicates the number of the definition data. is an explanation parameter; therefore it does not need to be transmitted. In cases where the specified key code already exists in memory, it will be necessary to overwrite the data. [Notes] NV graphics indicate image data groups defined in the printer’s internal non-volatile memory.
Page 240
C O N F I D E N T I A L The relationship between NV graphics data (raster format) and print results is shown in the table below. 256) MSB LSB MSB LSB MSB LSB MSB LSB [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-P60 TM-J2000/J2100...
Page 241
C O N F I D E N T I A L Condition Control information data value If data value (k) is odd number 32 bytes If data value ( ) is even number 33 bytes Paper roll Bit-image commands GS ( L GS 8 L Ver.
Page 242
C O N F I D E N T I A L GS ( L p m fn a kc1 kc2 b [c d1... ]1...[c d1... ]b <Function 68> GS 8 L p1 p2 p3 p4 m fn a kc1 kc2 b [c d1...
Page 243
C O N F I D E N T I A L [Description] Defines the NV graphics data (column format) as a record specified by the key codes ( ) in the NV graphics area. • specifies the number of colors for the defined data. ×...
Page 244
C O N F I D E N T I A L In cases where there is insufficient capacity available for storing NV graphics data, this function cannot be used. Use Function 51 to confirm the available capacity in the NV graphics data area. One option is to delete items of NV graphics data that were previously defined to the same key code.
Page 245
C O N F I D E N T I A L TM-J2000/J2100 This printer is equipped with a print head configured in column format, which makes it faster to define data using this function than with Function 67 (raster format). The [data value (k) + control information data value (32 bytes)] area of the NV graphics data domain is used when this function is executed.
Page 246
C O N F I D E N T I A L GS ( L p m fn kc1 kc2 x y <Function 69> [Name] Print the specified NV graphics data. [Format] ASCII GS ( fn kc1 kc2 x kc1 kc2 x 1D 28 kc1 kc2 x Decimal...
Page 247
C O N F I D E N T I A L Moves print position to the left side of the print area after printing of graphics data is completed. The printer then enters the “beginning of the line” or “no data in print buffer” state. When printing NV graphic files, use ESC U to specify unidirectional print for vertical alignment of printed text.
Page 248
C O N F I D E N T I A L <TM-J2100 (two-color printing model)> Vertical Horizontal Maximum print area (dot) Maximum print area (dot) Paper Paper Paper Paper Paper Paper Paper Paper width width width width width width width width Scaling...
Page 249
C O N F I D E N T I A L <Japanese model> Vertical Horizontal Maximum print area (dot) Scaling Dot density Paper width 80 mm Paper width 60 / 58 mm Dot density Maximum print area (dot) × 203 dpi 203 dpi ×...
Page 250
C O N F I D E N T I A L A horizontal maximum print area is decided according to the width of the paper. Paper width When (x = 1) is specified. When (x = 2) is specified. When paper 80 to 78 mm 576 dot...
Page 251
C O N F I D E N T I A L GS ( L p m fn d1 d2 <Function 80 > [Name] Transmit the key code list for defined download graphics. [Format] ASCII GS ( fn d1 d2 1D 28 Decimal ×...
Page 252
C O N F I D E N T I A L (*2) If the number of downloaded graphics data groups is 40 or less, they are sent in a single batch, with the Identification status byte (byte 3) set to hexadecimal value 40H and decimal value 64. (*3) The data groups are arranged according to the key codes.
Page 253
C O N F I D E N T I A L GS ( L p m fn d1 d2 d3 <Function 81> [Name] Delete all NV graphics data. [Format] ASCII GS ( fn d1 d2 d3 1D 28 Decimal ×...
Page 254
C O N F I D E N T I A L GS ( L p m fn kc1 kc2 <Function 82 > [Name] Delete the specified download graphics data. [Format] ASCII GS ( fn kc1 kc2 kc1 kc2 1D 28 kc1 kc2 Decimal ×...
Page 255
C O N F I D E N T I A L GS ( L p m fn a kc1 kc2 b [c d1... ]1...[c d1... ]b <Function 83 > GS 8 L p1 p2 p3 p4 m fn a kc1 kc2 b [c d1...
Page 256
C O N F I D E N T I A L [Description] Defines the downloaded graphics data (raster format) as a record specified by the key codes ( ) in the downloaded graphics area. • specifies the number of colors for the defined data. ×...
Page 257
C O N F I D E N T I A L This function is incompatible with macros, so make sure to avoid including it when defining macros. In cases where there is insufficient capacity available for storing downloaded graphics data, this function cannot be used.
Page 258
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-P60 TM-J2000/J2100 This printer is equipped with a print head configured in column format, which makes it faster to define data using Function 84 (column format) than with this function. The [data value (k) + control information data value (16 bytes)] area of the NV graphics data domain is used when this function is executed.
Page 259
C O N F I D E N T I A L GS ( L p m fn a kc1 kc2 b [c d1... ]1...[c d1... ]b <Function 84> GS 8 L p1 p2 p3 p4 m fn a kc1 kc2 b [c d1...
Page 260
C O N F I D E N T I A L [Description] Defines the downloaded graphics data (column format) as a record specified by the key codes ( in the downloaded graphics area. • specifies the number of colors for the defined data. ×...
Page 261
C O N F I D E N T I A L This function is incompatible with macros, so make sure to avoid including it when defining macros. In cases where there is insufficient capacity available for storing download graphics data, this function cannot be used.
Page 262
C O N F I D E N T I A L TM-J2000/J2100 This printer is equipped with a print head configured in column format, which makes it faster to define data using this function than with Function 67 (raster format). The [data value (k) + control information data value (16 bytes)] area of the NV graphics data domain is used when this function is executed.
Page 263
C O N F I D E N T I A L GS ( L p m fn kc1 kc2 x y <Function 85> [Name] Print the specified download graphics data. [Format] ASCII GS ( fn kc1 kc2 x kc1 kc2 x 1D 28 kc1 kc2 x Decimal...
Page 264
C O N F I D E N T I A L Feeds the paper the required distance when printing graphics data, regardless of line feed pitch settings entered using the Set line feed command. Moves print position to the left side of the print area after printing of graphics data is completed. The printer then enters the “beginning of the line”...
Page 265
C O N F I D E N T I A L GS ( L p m fn a bx by c d1... <Function 112> GS 8 L p1 p2 p3 p4 m fn a bx by c d1... [Name] Store the graphics data in the print buffer (raster format).
Page 266
C O N F I D E N T I A L = 1): 1 ≤ (y × 256) ≤ 1662 (0 ≤ y ≤ 255, 0 ≤ y ≤ 6) = 2): 1 ≤ (y × 256) ≤ 831 (0 ≤ y ≤...
Page 267
C O N F I D E N T I A L • specifies the color of the stored data. Color specifications 49 Color 1 50 Color 2 × 256). • specify the number of dots in the horizontal direction as ( ×...
Page 268
C O N F I D E N T I A L Use Function 50 to print graphics after graphics data has been stored in the print buffer when the standard mode is selected. d1 ... dk The data for byte is processed as a single item of defined NV graphics data.
Page 269
C O N F I D E N T I A L Specify left margin is 0, and the horizontal position to a position that is a multiple of 8, and specify the horizontal size of the graphic to the dot which is the multiple of 8. ×...
Page 270
C O N F I D E N T I A L Specify left margin as 0, and the horizontal position to a position that is a multiple of 8, and specify the horizontal size of the graphic to the dot which is the multiple of 8. ×...
Page 271
C O N F I D E N T I A L Specify left margin as 0, and the horizontal position to a position that is a multiple of 8. (Example: the left margin = 0, horizontal position = 0, 8, 16, or 24 etc.) Specify the scaling to the original size (bx = 1, by = 1).
Page 272
C O N F I D E N T I A L GS ( L p m fn a bx by c x d1...dk <Function 113> GS 8 L p1 p2 p3 p4 m fn a bx by c x d1...dk [Name] Store the graphics data in the print buffer (column format).
Page 273
C O N F I D E N T I A L × 256). • specify the number of dots in the vertical direction as ( • specifies the stored data (column format). • indicates the number of the graphics data. is an explanation parameter;...
Page 274
C O N F I D E N T I A L The relationship between graphics data (column format) and print results is shown in the table below. d1 d +1 ... : d2 d +2 ... × 256) x2 ... This printer is equipped with a print head configured in column format, which makes it faster to define data using this function (column format) than with Function 112 (raster format).
Page 275
obsolete command obsolete command C O N F I D E N T I A L Bit-image commands FS q XECUTING ETTING [Name] Define NV bit image d1...dk]1...[x d1...dk]n [Format] ASCII d1...dk]1...[x d1...dk]n d1...dk]1...[x d1...dk]n Decimal [Printers not featuring this command] TM-L90, TM-L60II, TM-P60, TM-U230, TM-U210, TM-U300A/B...
Page 276
C O N F I D E N T I A L [Description] Defines the NV bit image in the NV graphics area. • specifies the number of defined NV bit images. × 256) bytes in the horizontal direction for the NV bit image you defined. •...
Page 277
C O N F I D E N T I A L After processing this command, the printer executes a software reset. Therefore, processing this command enables the printer to be in the correct status when the power is turned on. The limitations during processing of this command are as follows: •...
Page 278
C O N F I D E N T I A L TM-J2000/J2100 This printer supports the NV graphics function of GS ( L and GS 8 L. It is recommended that NV graphics function (GS (L / GS 8 L) be used. The data of this command and record data of user NV memory (GS ( C) are stored in the same definition area.
Page 279
obsolete command obsolete command C O N F I D E N T I A L Bit-image commands ETTING COMMAND [Name] Define downloaded bit image × × 8) [Format] ASCII × × 8) 1D 2A × × 8) Decimal 1 ≤ ≤...
Page 280
C O N F I D E N T I A L • indicates the number of the definition data. is an explanation parameter; therefore, it does not need to be transmitted. [Recommended Functions] This command is supported only by some printer models and may not be supported by future models. It is recommended that downloaded graphics function (GS ( L GS 8 L: <Function 52 >...
Page 281
C O N F I D E N T I A L The relationship between bit image data and print result is as follows. dy+1 ... dy+2 ... dk-2 dk-1 dyx2 ... See program example and print sample for GS [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-T88III, TM-L60II...
Page 282
obsolete command obsolete command C O N F I D E N T I A L Bit-image commands GS / XECUTING COMMAND [Name] Print downloaded bit image [Format] ASCII GS / 1D 2F Decimal 0 ≤ ≤ 3, 48 ≤ ≤...
Page 283
C O N F I D E N T I A L [Notes] This command is ignored if a downloaded bit image has not been defined. When standard mode is selected, this command is enabled only when there is no data in the print buffer and the printer is in the beginning of the line.
Page 284
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 Define READ a$: d=VAL("&H"+a$) DATA 85,55,55,55,42,4A,AA,AA,AA,A4,85,55,55,55,42 downloaded PRINT #1, CHR$(d);...
Page 285
C O N F I D E N T I A L TM-J2000/J2100 This printer supports the graphics functions of GS ( L/GS 8 L. It is recommended to use GS ( L /GS 8 L instead of GS /. Values of [Dot Density] and [Maximum Print Area (dot)] are the same as in the graphics function GS ( L/GS 8 L of Function 69.
Page 286
C O N F I D E N T I A L TM-L90 The dot density and the maximum print area are described in the next tables (dpi: number of dots per 25.4 mm). “Vertical” is in the direction of paper feeding and “horizontal” is perpendicular (at right angles) to the direction of paper feeding.
Page 287
C O N F I D E N T I A L TM-T88III This command can be used in standard mode only. The dot density and the maximum print area are described in the next tables (dpi: number of dots per 25.4 mm).
Page 288
obsolete command obsolete command C O N F I D E N T I A L Bit-image commands GS Q 0 XECUTING COMMAND [Name] Print variable vertical size bit image d1...dk [Format] ASCII GS Q d1...dk 1D 51 d1...dk Decimal [Printers not featuring this command] TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60, TM-U230, TM-U220, TM-U210, TM-U300A/B...
Page 289
C O N F I D E N T I A L [Recommended Functions] This command is supported only by some printer models and may not be supported by future models. It is recommended to use graphics function (GS ( L GS 8 L: <Function 50>...
Page 290
C O N F I D E N T I A L Relationship between bit-image data and printing result is as follows: ... : × × 256) [Model-dependent variations] TM-J2000/J2100 TM-J2000/J2100 This printer supports the graphics functions of GS ( L/GS 8 L. It is recommended to use GS ( L /GS 8 L instead of GS Q 0.
Page 291
C O N F I D E N T I A L Program Example for GS Q 0 Program Example Program Example (continued) ← PRINT #1, CHR$(&H1B);"U";CHR$(1); Specify unidirection DATA 83,80,00,00,02,4C,00,00,00,04,80,00,00,00,02 PRINT #1, CHR$(&H1D);"p";CHR$(0); DATA 40,00,00,00,04,80,00,00,00,02,4A,AA,AA,AA,A4 PRINT #1, CHR$(144);CHR$(0);CHR$(5);CHR$(0); DATA 85,55,55,55,42,4A,AA,AA,AA,A4,85,55,55,55,42 Definition FOR i=1 TO 144*5 DATA 4A,AA,AA,AA,A4,85,00,05,00,02,4A,08,0A,80,04...
Page 292
obsolete command obsolete command C O N F I D E N T I A L Bit-image commands GS v 0 XECUTING COMMAND [Name] Print raster bit image d1...dk [Format] ASCII GS v d1...dk 1D 76 d1...dk Decimal 118 48 0 ≤...
Page 293
C O N F I D E N T I A L 0 ≤ ≤ 8 0 ≤ ≤ 255 × 256) × ( × 256) (except for = 0) [Default] None [Printers not featuring this command] TM-L60II, TM-P60, TM-U230, TM-U220, TM-U210, TM-U300A/B [Description] Prints a raster bit image using the mode specified by...
Page 294
C O N F I D E N T I A L Data ( ) specifies a bit printed to 1 and not printed to 0. If a raster bit image exceeds one line, the excess data is not printed. The scales for width and height of raster bit images are specified by .
Page 295
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 296
C O N F I D E N T I A L TM-J2000/J2100 This printer supports the graphics functions of GS ( L/GS 8 L. It is recommended to use GS ( L /GS 8 L instead of GS v 0. The model information for this function (the dot density and maximum print area and others) is for the graphic functions.
Page 297
C O N F I D E N T I A L TM-T88III This command can be used in standard mode only. The dot density and the maximum print area are described in the next tables (dpi: number of dots per 25.4 mm).
C O N F I D E N T I A L Status commands STATUS COMMANDS Command Name DLE EOT Transmit real-time status ESC u Transmit peripheral device status ESC v Transmit paper sensor status GS a Enable/disable Automatic Status Back (ASB) GS j Enable/disable Automatic Status Back (ASB) for ink GS r...
Page 299
C O N F I D E N T I A L Status commands DLE EOT XECUTING COMMAND [Name] Transmit real-time status [Format] ASCII DLE EOT Decimal [Printers not featuring this command] TM-U300A/B 1 ≤ n ≤ 4, n = 7 [Range] TM-J2000/J2100: a = 1, 2 [When n= 7]...
Page 300
C O N F I D E N T I A L [Notes] This is a real-time command that the printer executes upon receiving it. Take the following into consideration: • If this command interrupts the code string of another command, this command is processed as a parameter of the other command;...
Page 301
C O N F I D E N T I A L Printer status ( = 1) is as follows: Binary Decimal Status Not used. Fixed to Off. Not used. Fixed to On. Drawer kick-out connector pin 3 is LOW. Drawer kick-out connector pin 3 is HIGH.
Page 302
C O N F I D E N T I A L Offline status A ( = 2) is as follows: Bit Binary Decimal Status Not used. Fixed to Off. Not used. Fixed to On. Cover is closed..how to use this table Cover is open.
Page 303
C O N F I D E N T I A L • Error status ( = 3) is as follows: Binary Decimal Status Not used. Fixed to Off. Not used. Fixed to On. No recoverable error..how to use Recoverable error occurred.
Page 304
C O N F I D E N T I A L • Roll paper sensor status ( = 4) is as follows: Off/On Decimal Status Not used. Fixed to Off. Not used. Fixed to On..how to use 2, 3 Roll paper near-end sensor: paper adequate.
Page 305
C O N F I D E N T I A L Ink status A ( = 7, = 1) is as follows: Function Binary Hexadecimal Decimal Fixed Fixed No ink near-end detected (1st color) Ink near-end detected (1st color) No ink end detected (1st color) Ink end detected (1st color) Fixed...
Page 306
C O N F I D E N T I A L Ink status B ( = 7, = 2) is as follows: Function Binary Hexadecimal Decimal Fixed Fixed No ink near-end detected (2nd color) Ink near-end detected (2nd color) No ink end detected (2nd color) Ink end detected (2nd color) Fixed...
Page 307
C O N F I D E N T I A L transmission buffer is 99 bytes; therefore, data that exceeds 99 bytes is ignored. When using this command, the host should be changed to the Reverse Mode immediately and execute a receive processing of status.
Page 308
C O N F I D E N T I A L TM-J2000/J2100 BUSY condition for a parallel interface is selected by memory switch 1-3. Use this command according to the following rule; otherwise, the status might not be transmitted. The next data is not transmitted until status is received when the command of the DLE EOT is transmitted.
Page 309
C O N F I D E N T I A L TM-T90 BUSY condition for a parallel interface is selected by memory switch 1-3. Roll paper sensor status ( = 4) When the roll paper cover is open, paper detection (detected by the roll paper end sensor) may be incorrect.
Page 310
C O N F I D E N T I A L TM-L60II When the printer is not selected ECS =, this command cannot be used. BUSY condition for a serial interface is selected by DIP switch 2-1. BUSY condition for a parallel interface is selected by DIP switch 1-3. Printer status ( = 1) Bits 5 and 6 of the printer status are undefined.
Page 311
C O N F I D E N T I A L Bit 2 of the error cause status is not supported. Roll paper sensor status ( = 4) Bits 2 and 3 of the roll paper sensor status are not supported. When the roll paper cover is open, paper detection (detected by the roll paper end sensor) may be incorrect.
Page 312
C O N F I D E N T I A L TM-U220 BUSY condition for a parallel interface is selected by DIP switch 1-8. This printer can send DLE EOT system commands continuously 8 times. Printer status ( = 1) Bit 5, and 6 of the printer status is undefined.
Page 313
obsolete command obsolete command C O N F I D E N T I A L Status commands ESC u XECUTING COMMAND [Name] Transmit peripheral device status [Format] ASCII ESC u Decimal [Range] TM-U220, TM-L60II: = 0, 48 TM-U300A/B: [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-P60, TM-U230, TM-U210 [Description] Transmits the peripheral device status as 1 byte of data.
Page 314
obsolete command obsolete command C O N F I D E N T I A L Status commands ESC v XECUTING COMMAND [Name] Transmit paper sensor status [Format] ASCII ESC v Decimal [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-P60, TM-U230, TM-U210 [Description] Transmits the status of paper sensor(s) as 1 byte of data.
Page 315
C O N F I D E N T I A L TM-U300A/B This command is available with the serial interface. 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 316
C O N F I D E N T I A L Status commands GS a XECUTING ETTING [Name] Enable/disable Automatic Status Back (ASB) [Format] ASCII GS a 1D 61 Decimal 0 ≤ ≤ 255 [Range] = 255 [Default] TM-P60: Other than above: When DIP switch or memory switch (BUSY condition) is Off: When DIP switch or memory switch (BUSY condition) is On:...
Page 317
C O N F I D E N T I A L Bit Binary Decimal Function Panel switch status disabled. Panel switch status enabled. Undefined. [Notes] ASB is the function that transmit the status of [cover open/close], [Online/Offline] from the printer automatically.
Page 318
C O N F I D E N T I A L The basic ASB statuses, corresponding to each bit for are as follows: ASB status Function Status Drawer kick-out Bit 2 of the first byte Drawer kick-out connector ... how to use connector status.
Page 319
C O N F I D E N T I A L [Note] Only if ESC 4 is selected or paper stop printing sensor is not selected. Basic ASB status is 4-byte configuration [first byte - fourth byte]. The status to be transmitted are as follows: First byte (printer information) Binary Decimal...
Page 320
C O N F I D E N T I A L Binary Decimal Status for ASB No recoverable error (except for autocutter error). Recoverable error occurred (except for autocutter error). No autocutter error. Autocutter error occurred. Not used. Fixed to Off. No unrecoverable error.
Page 321
C O N F I D E N T I A L Binary Decimal Status for ASB Not used. Fixed to Off. — — — Undefined Not used. Fixed to Off. • Some paper sensors are not present, depending on the printer model.The names of some paper sensors are different, depending on the printer model.
Page 322
C O N F I D E N T I A L If bits have a different value between (ASB-1) and (ASB-2), this means at least one change has occurred. An example is shown below: First byte Second byte Third byte Fourth byte ASB-1 0011 1000...
Page 323
C O N F I D E N T I A L TM-T90 The default value is set by Msw 1-3. Third byte (paper sensor information) When the roll paper cover is open, paper detection (detected by the roll paper end sensor) may be incorrect.
Page 324
C O N F I D E N T I A L TM-T88III The default value is set by DIP switch 2-1. Second byte (printer information) Bits 0 and 2 of the second byte are undefined. Third byte (paper sensor information) When the roll paper cover is open, paper detection (detected by the roll paper end sensor) may be incorrect.
Page 325
C O N F I D E N T I A L Basic third byte (paper sensor information) Bits 0 and 1 of the third byte are not supported. When the roll paper cover is open, paper detection (detected by the roll paper end sensor) may be incorrect.
Page 326
C O N F I D E N T I A L Status commands GS j XECUTING ETTING [Name] Enable/disable Automatic Status Back (ASB) for ink [Format] ASCII GS j 1D 6A Decimal ≤ n ≤ [Range] [Default] When DIP switch or memory switch (BUSY condition) is Off: When DIP switch or memory switch (BUSY condition) is On: [Printers not featuring this command] TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60, TM-U230, TM-U220, TM-U210,...
Page 327
C O N F I D E N T I A L This command is effective until ESC @ is executed, the printer is reset, or the power is turned off. When block data [Header ~ NUL] is being transmitted, ASB status cannot be transmitted. Therefore, you cannot get the printer status change through ASB status when Block data [Header ~ NUL] is transmitted.
Page 328
C O N F I D E N T I A L (*1) Status A is shown in the table below: Bit Function Binary Hexadecimal Decimal Ink end not detected (1st color) Ink end detected (1st color) Ink end not detected (1st color) Ink end detected (1st color) Ink cartridge installed (1st color) Ink cartridge not installed (1st color)
Page 329
C O N F I D E N T I A L With a serial interface, the printer transmits a 4-byte ASB status message without confirming whether the host can receive data. ASB status, except for the XOFF code, is always consecutive. With a parallel interface, when ASB status is used, it is desirable for the host to be in a reverse idle state.
Page 330
C O N F I D E N T I A L TM-J2000/J2100 The default is selected by memory switch 3-1. When an ink near-end is detected, the INK OUT light blinks. It is possible to print approximately 20,000 characters using Font B with print control mode set to economy printing from the time an ink near-end is detected to the time an ink end is detected.
Page 331
C O N F I D E N T I A L Status commands GS r XECUTING COMMAND [Name] Transmit status [Format] ASCII GS r 1D 72 Decimal [Range] TM-T90, TM-T88III, TM-L90, TM-L60II, TM-U230, TM-U220, TM-U210: = 1, 2, 49, 50 TM-J2000/J2100: = 1, 2, 4, 49, 50, 52 , TM-P60:...
Page 332
C O N F I D E N T I A L • Some paper sensors are not present, depending on the printer model. The names of some paper sensors are different, depending on the printer model. The status to be transmitted is as follows: •...
Page 333
C O N F I D E N T I A L • After the host PC transmits the function data, the printer will send response data or status data back to the PC. Do not transmit more data from the PC until the response data or status data are received from the printer.
Page 334
C O N F I D E N T I A L TM-J2000/J2100 Paper sensor status ( = 1, 49) When the roll paper end sensor detects a paper-end, the printer goes offline and does not execute this command. Therefore, bits 2 and 3 of the paper sensor status do not transmit a paper-end status.
Page 335
C O N F I D E N T I A L TM-L90 Paper sensor status ( = 1, 49) When the roll paper end sensor detects a paper-end, the printer goes offline and does not execute this command. Therefore, bits 2 and 3 of the paper sensor status do not transmit a paper-end status.
Page 336
C O N F I D E N T I A L TM-U220, TM-U210 Paper sensor status ( = 1, 49) The roll paper 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.” When the roll paper end sensor detects a paper-end, the printer goes offline and does not execute this command.
C O N F I D E N T I A L Bar code commands BAR CODE COMMANDS Command Name GS H Select print 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 338
C O N F I D E N T I A L Bar code commands GS H ETTING COMMAND [Name] Select print position of HRI characters [Format] ASCII GS H 1D 48 Decimal 0 ≤ ≤ 3 [Range] 48 ≤ ≤...
Page 339
C O N F I D E N T I A L HRI character is Human Readable Interpretation character indicated with bar code. Program Example for all printers Print Sample PRINT #1, CHR$(&H1D);"h";CHR$(80); ← Set height ← GS H 0 PRINT #1, CHR$(&H1D);"f";CHR$(0);...
Page 340
C O N F I D E N T I A L Bar code commands GS f ETTING COMMAND [Name] Select font for HRI characters [Format] ASCII GS f 1D 66 Decimal [Range] TM-T88III, TM-L60II: = 0, 1, 48, 49 TM-J2000/J2100, TM-T90, TM-L90: = 0, 1, 48, 49 (Other than Japanese model)
Page 341
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-T88III, TM-L60II, TM-P60 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 342
C O N F I D E N T I A L TM-L90 [Other than Japanese model] Character configurations: Font A: 12 × 24 Font B: 9 × 17 [Japanese model] Character configurations: Font A: 12 × 24 Font B: 10 × 24 Font C: 8 ×...
Page 343
C O N F I D E N T I A L -‘ Bar code commands GS h ETTING COMMAND [Name] Set bar code height [Format] ASCII GS h 1D 68 Decimal 1 ≤ ≤ 255 [Range] [Default] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60: = 162 [Printers not featuring this command] TM-U230, TM-U220, TM-U210,...
Page 344
C O N F I D E N T I A L TM-L60II A set unit is one dot. One dot corresponds to 0.141 mm {1/180 inch}. TM-T90 A set unit is one dot. For other than Japanese model, one dot corresponds to 0.141 mm {1/180 inch}. For Japanese model, one dot corresponds to 0.125 mm {1/203 inch}.
Page 345
C O N F I D E N T I A L Bar code commands GS k XECUTING COMMAND [Name] Print bar code d1 ... dk [Format] (A) ASCII GS k d1 ... dk 1D 6B d1 ... dk Decimal d1 ...
Page 346
C O N F I D E N T I A L Bar code data (“SP” in the table indicates space.) Amount The range of Bar code system of data Characters Character code ( 11 ≤ ≤ 12 48 ≤ ≤...
Page 347
C O N F I D E N T I A L The bar code is not affected by print mode (emphasized, underline, or 90° clockwise-rotated), except for upside-down print mode. After bar code printing, the print position moves to the left end of the print area. The printer enters the status of print position at the head of a line or no data exists in the print buffer.
Page 348
C O N F I D E N T I A L • Modular check characters are data to decide bar code pattern, they are not included printing data. Prints a 6-column short code from 10 digit ( d2...d11 ) except NSC and modular check characters. Data of transmitted by host PC Printing data Specify 0 at indicated data by "-"...
Page 349
C O N F I D E N T I A L [Notes for JAN13/EAN13 ( = 2, 67) process] Modular check character (1 character) is processed as follows: • Automatically added when processing data is 13 byte. • The 13th byte data is processed as a modular check character when processing data is 13 byte. In this case, modular check character is not checked.
Page 350
C O N F I D E N T I A L [Notes for ITF (Interleaved 2 of 5) ( = 5, 70) process] Start code and stop code are added automatically. Check digits are not calculated and added. [Notes for CODABAR (NW-7) ( = 6, 71) process] Start character and stop character are not added automatically.
Page 351
C O N F I D E N T I A L In CODE A, following data can be used. Character data: It is specified by ASCII code [in hexadecimal: 20H ~ 5FH / in decimal: 32~95] Control character data: It is specified by ASCII code [in hexadecimal: 00H ~ 1FH / in decimal: 0~31] Special character data: (FNC 1, FNC 2, FNC 3, FNC 4, SHIFT, CODE B, CODE C) It is specified “{+ character code"...
Page 352
C O N F I D E N T I A L Transmit data Specific character ASCII Hex Decimal FNC3 7B, 33 123, 51 FNC4 7B, 34 123, 52 7B, 7B 123, 123 Check digit (1 character) is calculated and added automatically. Special character HRI is processed as follows: •...
Page 353
C O N F I D E N T I A L When printing ladder bar code (bar code rotated by 90 degrees in page mode) the printer starts actual printing after it reaches control speed for printing ladder bar code. It is needed to feed paper amount of 10 dots or less in this operation.
Page 354
C O N F I D E N T I A L TM-P60 Only capital letters (A ~ D) and small letters (a ~ d) can be used for the start/stop character with CODABAR ( = 6, 71). When printing ladder bar code (bar code rotated by 90 degrees in page mode), it is printed with the “printing control mode = fine”...
Page 355
C O N F I D E N T I A L Bar code commands GS w ETTING COMMAND [Name] Set bar code width [Format] ASCII GS w 1D 77 Decimal TM-J2000/J2100: 2 ≤ ≤ 6, 68 ≤ ≤ 76 [Range] TM-P60: 2 ≤...
Page 356
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-T88III, TM-L60II, TM-P60, TM-L90 Program Example for all printers Print Sample PRINT #1, CHR$(&H1D);"h";CHR$(80); ← Set height PRINT #1, CHR$(&H1D);"w";CHR$(3); ← Set width size to 3 ←...
Page 357
C O N F I D E N T I A L TM-T90 The module width differs, depending on the specification. (Unit: mm) <Other than Japanese model> Binary level bar code Module width (mm) for multilevel bar code Thin element width (mm) Thick element width (mm) 2 0.282 {0.011 inch} 0.282 {0.011 inch} 0.706 {0.028 inch}...
Page 358
C O N F I D E N T I A L TM-T88III The module width differs, depending on the specification. (Unit: mm): Binary level bar code Module width (mm) for multilevel bar code Thin element width (mm) Thick element width (mm) 2 0.282 {0.011 inch} 0.282 {0.011 inch} 0.706 {0.028 inch}...
Page 359
C O N F I D E N T I A L TM-L90 The module width differs, depending on the specification. (Unit: mm) Binary level bar code Module width (mm) for multilevel bar code Thin element width (mm) Thick element width (mm) 2 0.250 0.250 0.625...
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 Paper roll Macro function commands Ver. 10.01 p. 360...
Page 361
C O N F I D E N T I A L Macro function commands GS : ETTING COMMAND [Name] Start/end macro definition [Format] ASCII GS : 1D 3A Decimal [Range] None [Default] None [Printers not featuring this command] TM-P60, TM-U230, TM-U220, TM-U210, TM-U300A/B [Description] Starts or ends macro definition.
Page 362
C O N F I D E N T I A L TM-J2000/J2100 The maximum number of data to be defined is 2048 bytes. TM-T90 The maximum number of data to be defined is 2048 bytes. TM-T88III The maximum number of data to be defined is 2048 bytes. TM-L90 The maximum number of data to be defined is 2048 bytes.
Page 363
C O N F I D E N T I A L Macro function commands GS ^ XECUTING COMMAND [Name] Execute macro [Format] ASCII GS ^ 1D 5E Decimal 1 ≤ ≤ 255 [Range] 0 ≤ ≤ 255 = 0, 1 [Default] None [Printers not featuring this command] TM-P60, TM-U220, TM-U210, TM-U300A/B,...
Page 365
C O N F I D E N T I A L TM-T90 When = 1, the PAPER OUT LED indicator blinks during a macro waiting state. When = 1, the FEED can be Paper feed button. TM-T88III When = 1, the PAPER OUT LED indicator blinks during a macro waiting state. When = 1, the FEED can be Paper feed button.
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 print 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 367
C O N F I D E N T I A L Mechanism control commands ESC < XECUTING COMMAND [Name] Return home [Format] ASCII ESC < Decimal [Range] None [Default] None [Printers not featuring this command] TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60 [Description] Moves the print head to the standby position.
Page 368
C O N F I D E N T I A L Mechanism control commands ESC U ETTING COMMAND [Name] Turn unidirectional print mode on/off [Format] ASCII ESC U Decimal 0 ≤ ≤ 255 [Range] [Default] [Printers not featuring this command] TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60 [Description] Turns unidirectional print mode on or off.
Page 369
obsolete command obsolete command C O N F I D E N T I A L Mechanism control commands ESC i XECUTING COMMAND [Name] Partial cut (one point left uncut) [Format] ASCII ESC i Decimal [Range] None [Default] None [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60, TM-U230, TM-U210...
Page 370
obsolete command obsolete command C O N F I D E N T I A L Mechanism control commands ESC m XECUTING COMMAND [Name] Partial cut (three points left uncut) [Format] ASCII ESC m Decimal [Range] None [Default] None [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60, TM-U230, TM-U210...
Page 371
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); ESC m leaves paper joined in three places. PRINT #1,CHR$(&H1B);"m"; ← Cut paper PRINT #1,"...
Page 372
C O N F I D E N T I A L Mechanism control commands GS V XECUTING COMMAND [Name] Select cut mode and cut paper [Format] Function A ASCII GS V 1D 56 Decimal 29 Function B ASCII GS V 1D 56 Decimal 29 Function C...
Page 373
C O N F I D E N T I A L [Description] Executes paper cutting specified by , as follows: Function 0, 48 Executes a full cut (cuts the paper completely). <A> 1, 49 Executes a partial cut (one point left uncut). ×...
Page 374
C O N F I D E N T I A L [Notes for <C>] Vertical motion unit is used for calculating a paper feed amount. Basic paper feed amount differs, depending on the models. Paper is fed for the same amount as a cutting range when processing this function. The paper will not be cut when this command is executed.
Page 375
C O N F I D E N T I A L TM-J2000/J2100 The vertical motion unit is specified by GS P. The cutting shapes of ( = 0,48) and ( = 1,49) are the same as the cutting shape of ( = 65) and ( = 66).
Page 376
C O N F I D E N T I A L After executing a paper cut, a paper feed for 1 mm {16/406 inches} before starting the next printing can provide the best printing result without uneven paper feeding. If the printer is left until the next printing after executing a paper cut, feeding paper more than 1 mm {16/406 inches} can avoid a paper jam inside the autocutter.
Page 377
C O N F I D E N T I A L TM-U220 This printer may make “dot displacement” after autocutting. It is recommended to feed approximately 2.116 mm or more for printing the next line to prevent “dot displacement after cutting.”...
C O N F I D E N T I A L Miscellaneous commands MISCELLANEOUS COMMANDS Command Name DLE ENQ Send real-time request to printer DLE DC4 (fn = 1) Generate pulse in real-time DLE DC4 (fn = 2) Execute power-off sequence DLE DC4 ( = 7) Transmit specified status in real time...
Page 379
C O N F I D E N T I A L Miscellaneous commands DLE ENQ XECUTING COMMAND [Name] Send real-time request to printer [Format] ASCII DLE ENQ Decimal ≤ n ≤ 2 [Range] TM-J2000/J2100, TM-T90, TM-L90: 0 TM-T88III: = 1, 2 TM-U220, TM-P60: TM-U230,...
Page 380
C O N F I D E N T I A L • Status waiting for the button to be pressed, while GS ^ is executed. • Status waiting for the button to be pressed, while GS FF is executed. = 1) or ( = 2) is enabled when a recoverable error occurs with the exception of an automatically recoverable error, and is ignored in other cases.
Page 381
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-T88III, TM-U230, TM-U220, TM-U210. Program Example for all printers PRINT #1, CHR$(&H10);CHR$(&H5);CHR$(2); TM-J2000/J2100 BUSY condition for a parallel interface is selected by DIP switch 1-3. TM-T90 BUSY condition for a parallel interface is selected by DIP switch 1-3.
Page 382
C O N F I D E N T I A L TM-T88III BUSY condition for a parallel interface is selected by DIP switch 2-1. TM-U230 BUSY condition for the parallel interface is selected by DIP switch 1-8. TM-U220. TM-U210 BUSY condition for the parallel interface is selected by DIP switch 1-8.
Page 383
C O N F I D E N T I A L Miscellaneous commands DLE DC4 (fn = 1) XECUTING COMMAND [Name] Generate pulse in real-time [Format] ASCII DLE DC4 Decimal [Printers not featuring this command] TM-L60II, TM-P60, TM-U210, TM-U230, TM-U300A/B [Range] = 0, 1...
Page 384
C O N F I D E N T I A L With a serial interface, the printer executes this command even when it is in offline, receive buffer full. With a parallel interface, if the printer is in BUSY condition, this command cannot be used in the following states.
Page 385
C O N F I D E N T I A L Miscellaneous commands DLE DC4 (fn = 2) XECUTING COMMAND [Name] Execute power-off sequence fn a [Format] ASCII DLE DC4 02 a Decimal [Printers not featuring this command] TM-T88III, TM-L60II, TM-U230, TM-U220, TM-U210, TM-U300A/B [Range] [Description]...
Page 386
C O N F I D E N T I A L With a parallel interface, if the printer is BUSY, this command cannot be used in the following states. • When DIP switch (BUSY condition) is on: receive buffer full •...
Page 387
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-P60 Program Example PRINT #1, CHR$(&H10);CHR$(&H14);CHR$(2);CHR$(1);CHR$(8); ← Confirmation “power off notice“ GOSUB *RECEIVE TM-J2000/J2100 The BUSY condition is selected by memory switch 1-3. While processing a set up of power-off, the POWER LED blinks fast and changes to slow blinking after the printer transmits a power-off notice.
Page 388
C O N F I D E N T I A L TM-L90 The BUSY condition is selected by memory switch 1-3. While processing a set up of power-off, the POWER LED blinks fast and changes to slow blinking after the printer transmits a power-off notice. Be sure that the POWER LED is blinking slowly; then turn off the power switch.
Page 389
C O N F I D E N T I A L Miscellaneous commands DLE DC4 (fn = 7) XECUTING ETTING [Name] Transmit specified status in real time ASCIIDLE Decimal [Range] TM-P60: = 1, 5 [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II, TM-U220, TM-U230 TM-U210, TM-U300A/B...
Page 390
C O N F I D E N T I A L • When the specified ASB status is bit-customized, this function makes the printer use the specified ASB status with bit-customize. • This function doesn’t affect the setting for whether ASB is enabled or disabled. Battery status differs depending on printer model.
Page 391
C O N F I D E N T I A L TM-P60 The setting of Memory switch [Msw8-1] doesn’t affect the result of this command. The battery status is a status that is automatically transmitted. The status is transmitted in the following cases.
Page 392
C O N F I D E N T I A L (*2) “Battery remaining amount“ is as indicated in the following table. Battery remaining amount Information Decimal Battery remaining amount: H level Battery remaining amount: M level Battery remaining amount: L level Battery remaining amount: S level Battery isn’t installed •...
Page 393
C O N F I D E N T I A L When the printer power is off: Battery AC adapter Battery LED (BAT.) status Installed Not installed Always off Installed Off: Battery is fully charged On: Battery is being charged Not installed Installed Always Off...
Page 394
Do not use this command in a system in which the printer is used with the OPOS driver and Java POS driver that are provided by Seiko Epson Corporation. If a code string of this command is embedded within parameters of other commands (graphics data, defined data), the printer performs a buffer clear.
Page 395
C O N F I D E N T I A L With a serial interface, the printer executes this command even when it is in offline, receive buffer full, or error status. With a parallel interface, if the printer is BUSY, this command cannot be used in the following states. •...
Page 396
C O N F I D E N T I A L The transmission data of this command can be differentiated from other transmission data according to specific data of the transmission data block. When the header transmitted from the printer is [Hex=37H/ Decimal=55], treat NUL [hex = 00H/decimal =0] as a data group and identify it according to the combination of the header and the identifier.
Page 397
C O N F I D E N T I A L TM-L90 The BUSY condition is selected by memory switch 1-3. When using the following commands, be sure there is no sequence that corresponds to the sequence of this command in the data line. Graphics: GS ( L Bit image: ESC *, FS q, GS *, GS v 0 Character pattern: ESC &, FS 2...
Page 398
C O N F I D E N T I A L Miscellaneous commands ESC ( A XECUTING ETTING [Name] Control beeper tones [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II, TM-U210, TM-U220, TM-U300A/B [Description] Performs the various tasks related to the control of the beeper (listed in the table below). •...
Page 399
C O N F I D E N T I A L TM-U230 The printer supports functions 97 to 99. When controlling the integrated beeper with this command, set DIP switch [SW2-8] off. The integrated beeper corresponds to the PAPER OUT LED in hardware configuration. Therefore when integrated beeper sounds, the PAPER OUT LED blinks.
Page 400
C O N F I D E N T I A L ESC ( A p fn n c t <Function 48 > [Format] ASCII ESC ( fn n 04 00 30 n Decimal 48 n × 256) = 4 ( [Range] = 4, = 0)
Page 401
C O N F I D E N T I A L If this command is newly processed during beeping of the buzzer, the current process for beeping the buzzer is stopped and the new process for beeping the buzzer is started. Integrated beeper beeping by this function stops due to any of the following factors.
Page 402
C O N F I D E N T I A L Tone 4100Hz: 500ms beeping 1280Hz: 200ms beeping -> 200ms off -> 200ms beeping -> 200ms off -> 200ms beeping 4100Hz: 200ms beeping -> 200ms off -> 200ms beeping ->...
Page 403
C O N F I D E N T I A L ESC ( A p fn n c t1 t2 <Function 97 > (TM-U230) [Name] Beep integrated beeper in TM-U230 models [Format] ASCII ESC ( fn n 05 00 61 n 97 n Decimal ×...
Page 404
C O N F I D E N T I A L ESC ( A p fn a b n c t1 t2 <Function 98 > (TM-U230) [Name] Set integrated beeper when offline factors occur in TM-U230 models [Format] ASCII ESC ( fn a 07 00 62 a...
Page 405
C O N F I D E N T I A L • specifies the beeps integrated beeper/ not beeps integrated beeper when specified offline is occurred. Beeping method Beeps integrated beeper Does not beep the integrated beeper • 1 ≤ ≤...
Page 406
C O N F I D E N T I A L ESC ( A p fn a b n c t1 t2 <Function 99 > (TM-U230) [Name] Set integrated beeper when except offline factors occur in TM-U230 models [Format] ASCII ESC ( fn a...
Page 407
C O N F I D E N T I A L × 100 ms) beep/ ( × 100 ms) stop] when offline [Notes] This function repeats integrated beeper control of [( factors have occurred. However, when ( = 255) continuous beeping occurs. If roll paper detector is selected to stop printing when there is no paper, when the detector detects no roll paper and goes offline, the setting of this function is disabled.
Page 408
C O N F I D E N T I A L Miscellaneous commands ESC = ETTING COMMAND [Name] Select peripheral device [Format] ASCII ESC = Decimal 1 ≤ ≤ 3 [Range] [Default] TM-J2000/J2100: Serial interface model: = 1 When [memory switch [DM-D (customer display) connection] is OFF. = 2 When [memory switch [DM-D (customer display) connection] is ON.
Page 409
C O N F I D E N T I A L • The selection of peripherals after ESC @ is executed is shown in the next table. Setting when When the switch of the [DM-D (customer display) connection] is turned off power supply is When the switch of the [DM-D (customer display) connection] is turned on turned on...
Page 410
C O N F I D E N T I A L Miscellaneous commands ESC @ XECUTING ETTING [Name] Initialize printer [Format] ASCII ESC @ Decimal [Range] None [Default] None [Printers not featuring this command] None [Description] Clears the data in the print buffer and resets the printer modes to the modes that were in effect when the power was turned on.
Page 411
C O N F I D E N T I A L A set value of ESC = after this command is executed is shown in the following table. Setting immediately before execution of ESC @ Setting after When the switch of the DM-D (customer display) connection is OFF. ESC @ is executed When the switch of the DM-D (customer display) connection is ON.
Page 412
C O N F I D E N T I A L Miscellaneous commands ESC L XECUTING COMMAND [Name] Select page mode [Format] ASCII ESC L Decimal [Range] None [Default] None [Printers not featuring this command] TM-U230, TM-U220, TM-U210, TM-U300A/B [Description] Switches from standard mode to page mode.
Page 413
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T88III See program example and print sample for ESC L and ESC TM-J2000/J2100 ESC r is disabled in page mode with this printer. This an addition to the standard specification. TM-T88III GS v 0 is disabled in page mode with this printer, which is an addition to the standard specification.
Page 414
C O N F I D E N T I A L Miscellaneous commands ESC S XECUTING COMMAND [Name] Select standard mode [Format] ASCII ESC S Decimal [Range] None [Default] None [Printers not featuring this command] TM-U230, TM-U220, TM-U210, TM-U300A/B [Description] Switches from page mode to standard mode.
Page 415
C O N F I D E N T I A L 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); BBBBB CHR$(0);CHR$(240);CHR$(0);CHR$(200);CHR$(0);...
Page 416
C O N F I D E N T I A L Miscellaneous commands ESC p XECUTING COMMAND [Name] Generate pulse [Format] ASCII ESC p Decimal [Range] = 0, 1, 48, 49 0 ≤ ≤ 255 0 ≤ ≤ 255 [Default] None [Printers not featuring this command]...
Page 417
C O N F I D E N T I A L Miscellaneous commands GS ( A XECUTING COMMAND [Name] Execute test print [Format] ASCII GS ( 02 00 n 1D 28 Decimal [Printers not featuring this command] TM-L60II, TM-P60, TM-U300A/B ×...
Page 418
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 419
C O N F I D E N T I A L For the label paper or black paper control, it calculates the effect value used for the actual print operation based on the paper layout set value, the paper width set value, or the limitation value of the mechanical structure (mechanical pitch or position of the print head, and so on).
Page 420
C O N F I D E N T I A L When origin of layout ( ) is “Bottom of a label”: Parameter of Paper layout Setting value Bottom of a label ~ bottom of the next label ( Measured value Bottom of a label ~ top of the next label (sc) Measured value...
Page 421
C O N F I D E N T I A L TM-U210 The support condition of this command differs, depending on the firmware version. Paper roll Miscellaneous commands GS ( A Ver. 10.01 p. 421...
Page 422
C O N F I D E N T I A L Miscellaneous commands GS ( D ETTING COMMAND [Name] Enable/disable real-time command m [a1 b1]...[ak bk] [Format] ASCII GS ( 14 [a1 b1]...[ak bk] 1D 28 10.01 20 [a1 b1]...[ak bk] Decimal [Printers not featuring this command] TM-T88III, TM-L60II, TM-U230, TM-U210, TM-U300A/B...
Page 423
C O N F I D E N T I A L Function 0, 48 Disable DLE DC4 fn m t = 1) (does not execute the process) fn m t 1, 49 Enable DLE DC4 = 1) (execute the process) fn m t 0, 48 Disable DLE DC4...
Page 424
C O N F I D E N T I A L If you transmit a command for graphics data or defined data that contains the sequence DLE DC4, be sure to disable real-time command processing before transmitting the graphics data or defined data command.
Page 425
[Notes] Do not use this command in a system in which the printer is used with the OPOS driver and Java POS driver that are provided by Seiko Epson Corporation. The function of this command is defined by function code and the operation differs depending on the function selected.
Page 426
C O N F I D E N T I A L Notes for response transmission process When the host PC isn’t able to receive when the response is transmitted, the response is reserved and the printer starts processing the next data. The reserved response is processed again at the next time for transmitting responses.
Page 427
C O N F I D E N T I A L Program Example ← PRINT #1, CHR$(&H1D);”(G”;CHR$(3);CHR$(0);CHR$(49);CHR$(48); CHR$(1); specifies the offline response [function 48] ← PRINT #1, ”AAAAA”;CHR$(&HA); Print data on paper ← PRINT #1, CHR$(&H1D);”(G”;CHR$(2);CHR$(0);CHR$(82);CHR$(48); Pre-process for cut sheet insertion ends [function 82] ←...
Page 428
C O N F I D E N T I A L GS ( H p fn m d1 d2 d3 d4 <Function 48> [Format] ASCII GS ( fn m d1 d2 d3 d4 d1 d2 d3 d4 1D 28 Decimal d1 d2 d3 d4 ×...
Page 429
C O N F I D E N T I A L Process ID response is the “header to NUL” data shown below: Send data Decimal Data quantity Header 1 byte Identifier 1 byte (*1) Process ID 20H ~ 7EH 32 ~ 126 4 byte 1 byte (*1)
Page 430
C O N F I D E N T I A L GS ( H p fn m d <Function 49> [Format] ASCII GS ( fn m 1D 28 Decimal × 256) = 3( [Range] = 3, = 0) = 49 = 48 0 ≤...
Page 431
C O N F I D E N T I A L Offline response is the “header to NUL” data shown below: Send data Decimal Data quantity Header 1 byte Identifier 1 byte (*1) Offline cause 40H ~ 7FH 64 ~ 127 0 ~ 10 byte 1 byte (*1) When specifying (d = 1, 49), [...
Page 432
C O N F I D E N T I A L TM-T90 The offline cause of this printer is constructed of 5 bytes as shown in the following tables. <The first byte: information for unrecoverable error> Off/On Hex Decimal Information CPU execution error hasn’t occurred.
Page 433
C O N F I D E N T I A L <The second byte: information for unrecoverable errors> Off/On Hex Decimal Information High voltage error hasn’t occurred. High voltage error has occurred. Low voltage error hasn’t occurred. High voltage error has occurred. Overcurrent error hasn’t occurred.
Page 434
C O N F I D E N T I A L <The fourth byte: information for recoverable error> Bit Off/On Hex Decimal Information Autocutter error hasn’t occurred. Autocutter error has occurred. Roll paper cover open error hasn’t occurred. (When Msw [8-8] is ON) Roll paper cover open error hasn’t occurred.
Page 435
C O N F I D E N T I A L <The fifth byte: information for unrecoverable error> Off/On Hex Decimal Function Roll paper cover open error hasn’t occurred. (When Msw [8-8] is OFF) Roll paper cover open error has occurred. (When Msw [8-8] is OFF) 2 ~ 5 - Reserved.
Page 436
C O N F I D E N T I A L TM-L90 The offline cause of this printer is constructed of 5 bytes as shown in the following tables. <The first byte: information for unrecoverable error> Off/On Hex Decimal Information CPU execution error hasn’t occurred.
Page 437
C O N F I D E N T I A L <The second byte: information for unrecoverable errors> Off/On Hex Decimal Information 3 ~ 5 Reserved. Fixed. Fixed. When one of above errors occurs, turn off the printer immediately <The third byte: information for unrecoverable errors>...
Page 438
C O N F I D E N T I A L <The fourth byte: information for recoverable error> Bit Off/On Hex Decimal Information Autocutter error hasn’t occurred. Autocutter error has occurred. Roll paper cover open error hasn’t occurred. (When Msw [8-8] is ON) Roll paper cover open error hasn’t occurred.
Page 439
C O N F I D E N T I A L <The fifth byte: information for unrecoverable error> Off/On Hex Decimal Function Roll paper cover open error hasn’t occurred. (When Msw [8-8] is OFF) Roll paper cover open error has occurred. (When Msw [8-8] is OFF) 2 ~ 5 - Reserved.
Page 440
C O N F I D E N T I A L Miscellaneous commands GS ( K ETTING COMMAND [Name] Select print control method(s) [Printers not featuring this command] TM-T88III, TM-L60II, TM-U230, TM-U220, TM-U210, TM-U300A/B [Description] Selects the print control methods. •...
Page 441
C O N F I D E N T I A L GS ( K <Function 48> [Name] Select the print control mode [Format] ASCII GS ( fn m 00 30 m 1D 28 48 m Decimal × 256) = 2 [Range] TM-J2000/J2100: = 2,...
Page 442
C O N F I D E N T I A L TM-J2000/J2100 The following print control modes are available. Print control mode Specification 1, 49 Normal Enables printing in high density 2, 50 High speed Enables printing in high speed and saving ink 3, 51 Economy Prints saving more ink than “High speed”...
Page 443
C O N F I D E N T I A L TM-L90 The following print control modes are available. Print control mode 0, 48 Print control mode when power supply is turned on 1, 49 Standard print control mode 2, 50 Suitable print control mode for printing a fence bar code 3, 51...
Page 444
C O N F I D E N T I A L GS ( K <Function 49> [Name] Select the print density [Format] ASCII GS ( fn m 02 00 31 1D 28 48 m Decimal × [Range] 256) = 2 = 2, = 0) = 49...
Page 445
C O N F I D E N T I A L TM-P60 This printer does not support this function. TM-T90 The following print densities are available. Print density Criterion density × 70% Criterion density × 75% Criterion density × 80% Criterion density ×...
Page 446
C O N F I D E N T I A L TM-L90 The following print densities are available. Print density Criterion density × 70% Criterion density × 75% Criterion density × 80% Criterion density × 85% Criterion density × 90% Criterion density ×...
Page 447
C O N F I D E N T I A L GS ( K <Function 50> [Name] Select the print speed [Format] ASCII GS ( fn m 02 00 32 m 1D 28 50 m Decimal × [Range] 256) = 2 = 2, = 0) = 50...
Page 448
C O N F I D E N T I A L When a standard mode is selected, all the data in the line is printed in the same speed. When a page mode is selected, all the data printed collectively by FF or ESC FF is printed at the same speed.
Page 449
C O N F I D E N T I A L GS ( K <Function 97> [Name] Select the number of parts for the thermal head energizing [Format] ASCII GS ( fn m 02 00 61 m 1D 28 97 m Decimal ×...
Page 450
C O N F I D E N T I A L TM-J2000/J2100 This printer does not support this function. TM-L90 We recommend setting “Selects energizing division into two“ for best printing condition with two-color printing. TM-T90 We recommend setting "Selects energizing division into two" for best printing condition with two-color printing.
Page 451
obsolete command obsolete command C O N F I D E N T I A L Miscellaneous commands GS < XECUTING COMMAND [Name] Initialize printer mechanism [Format] ASCII GS < 1D 3C Decimal [Range] None [Default] None [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-P60, TM-U230, TM-U220, TM-U210, TM-U300A/B [Description]...
Page 452
obsolete command obsolete command C O N F I D E N T I A L Miscellaneous commands GS A XECUTING ETTING [Name] Adjust label print starting position [Format] ASCII GS A 1D 41 Decimal 0 ≤ ≤ 255, 0 ≤ ≤...
Page 453
C O N F I D E N T I A L 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. Adjustment amounts when the print starting position is out of the label cannot be specified.
Page 454
obsolete commands obsolete commands C O N F I D E N T I A L Miscellaneous commands GS E ETTING COMMAND [Name] Select head control method [Format] ASCII GS E 1D 45 Decimal 0 ≤ ≤ 255 [Range] [Default] TM-U300A/B: [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-L90, TM-T88III, TM-L60II, TM-P60, TM-U230, TM-U220,...
Page 455
C O N F I D E N T I A L [Notes] When standard mode is selected, this command is enabled only when processed at the beginning of the line. In page mode, the setting for this command is effective for all data to be printed collectively by FF or ESC FF.
Page 456
C O N F I D E N T I A L Miscellaneous commands GS I XECUTING COMMAND [Name] Transmit printer ID [Format] ASCII GS I 1D 49 Decimal 1 ≤ ≤ 3, 49 ≤ ≤ 51, 65 ≤ ≤ 69, [Range] TM-J2000/J2100: = 112...
Page 457
• Transmits specified printer information B , using as follows: Printer ID Specification Firmware version Firmware version Maker name EPSON Printer model Printer model Serial No Serial No of the printer Font of Language for each country Japanese: KANJI JAPANESE...
Page 458
C O N F I D E N T I A L • With a parallel interface printer, data (printer ID, printer information) sent with this command is temporarily stored in the printer send buffer like other transmitted data (except ASB). When the host goes into reverse mode, the printer then sends the data sequentially from the beginning of the send buffer.
Page 459
C O N F I D E N T I A L Printer ID is distinguished from other send data by bits 4 and 7. When the data sent from printer after printing GS I is "0xx0xxxx" (x = 0, 1), the printer processes the data as printer ID. [Notes for printer information A] Printer information A (n = 33, 96) consists of [Header ~ NUL] as shown in the following table: Transmitted data...
Page 460
C O N F I D E N T I A L • When using parallel interface, the Bit 2 is fixed to 0 “DM-D (Customer display) is not connected.“ When communication with the printer uses XON/XOFF control, the XOFF code may interrupt the “Header to NUL”...
Page 461
C O N F I D E N T I A L TM-J2000/J2100 • Printer model ID ( = 1, 49) Hex = 2BH / Decimal = 43 • Type ID ( = 2, 50) Bit 1: The bit indicates [Autocutter is installed] always. Bit 2: [DM-D (Customer display) is connected/not connected] indicates the state of Memory switch 1-6.
Page 462
C O N F I D E N T I A L TM-T90 • Printer model ID ( = 1, 49) Hex = 2EH / Decimal = 46 [When Japanese model is used or memory switch [Msw 8-7] is OFF.] Hex = 20H / Decimal = 32 [When memory switch [Msw 8-7] is ON.] •...
Page 463
C O N F I D E N T I A L Off/On Hex Decimal Function 4, 5 - Reserved Fixed Fixed <2nd byte of DIP switch information> Off/On Hex Decimal Function DIP switch 5 OFF DIP switch 5 ON DIP switch 6 OFF DIP switch 6 ON DIP switch 7 OFF...
Page 464
C O N F I D E N T I A L Printer model: TM-L90 • Model dependent printer information ( = 112) send information of DIP switch as follows. Send data is 4 bytes data group composed of [header + printer information (2 bytes) + NUL]. <1st byte of DIP switch information>...
Page 465
C O N F I D E N T I A L Binary Hex Decimal Function DIP switch 8 OFF DIP switch 8 ON 4, 5 - Reserved Fixed Fixed TM-T88III • Printer model ID ( = 1, 49) Hex = 20H / Decimal = 32 •...
Page 466
C O N F I D E N T I A L Bit 2 of the Type ID is different from the standard ESC/POS as shown in the following table: Bit Off/On Hex Decimal Function 2 byte code characters are not supported Autocutter is not installed Select thermal paper (DIP switch (paper selection) is Off.) Select thermal label (DIP switch (paper selection) is On.)
Page 467
C O N F I D E N T I A L Bit 1 of the first byte: [Autocutter installed] is always transmitted. Bit 2 of the first byte: [DM-D (Customer display) not connected] is always transmitted. • Printer model ( = 67) Printer model: TM-P60 •...
Page 468
C O N F I D E N T I A L TM-U230 • Printer model ID ( = 1, 49) Hex = 2AH / Decimal = 42 • Type ID ( = 2, 50) Bit 1: The bit always indicates Autocutter is installed. Bit 2: The bit [DM-D (Customer display) isn’t supported.
Page 469
C O N F I D E N T I A L Printer model: TM-U220 • Model dependent printer information ( = 112) send status of DIP switch as follows. Send data is 4 bytes data group composed of [header + printer information (2 bytes) + NUL]. •...
Page 470
C O N F I D E N T I A L Miscellaneous commands GS P ETTING COMMAND [Name] Set horizontal and vertical motion units [Format] ASCII GS P 1D 50 Decimal 0 ≤ ≤ 255 [Range] 0 ≤ ≤ 255 [Default] TM-J2000/J2100, TM-T88III, TM-L60II:...
Page 471
C O N F I D E N T I A L In page mode, the following commands use , when the starting position is set to the upper right or lower left of the print area using ESC T. •...
Page 472
C O N F I D E N T I A L TM-T88III The default values equal the normal dot pitch horizontally and 1/2 dot pitch vertically. TM-L60II The default values equal a half dot pitch horizontally and 1/2 dot pitch vertically. TM-L90 The default values equal a half dot pitch horizontally and 1/2 dot pitch vertically.
Page 473
C O N F I D E N T I A L Miscellaneous commands GS g 0 ETTING COMMAND [Name] Initialize maintenance counter [Format] ASCII GS g 00 n 1D 67 Decimal 103 48 [Printers not featuring this command] TM-T88III, TM-L60II, TM-U230, TM-U220, TM-U210, TM-U300A/B [Range] TM-J2100: 30 ≤...
Page 474
C O N F I D E N T I A L There are two types of maintenance counters: resettable counters and accumulation counters. A resettable counter is a maintenance counter that can be initialized, and an accumulation counter indicates the counter value from when the printer starts operation.
Page 475
C O N F I D E N T I A L Miscellaneous commands GS g 2 XECUTING COMMAND [Name] Transmit maintenance counter [Format] ASCII GS g 1D 67 Decimal 103 50 [Printers not featuring this command] TM-T88III, TM-L60II, TM-U230, TM-U220, TM-U210, TM-U300A/B [Range] TM-J2100 (two-color): 30 ≤...
Page 476
C O N F I D E N T I A L × 256) Type Maintenance counter 178~187 Accumulation Devices that conform to the normal specification 188~197 Accumulation Option devices 198~207 Accumulation Time [Notes] There are two types of maintenance counters: resettable counters and accumulation counters. A resettable counter is a maintenance counter that can be initialized by GS g 0, and an accumulation counter indicates the counter value from when the printer starts operation.
Page 477
C O N F I D E N T I A L When you use this command, obey the following rules. • When the host PC transmits the function data, transmit the next data after receiving the corresponding data (the header ~ NULL) from the printer. •...
Page 478
C O N F I D E N T I A L TM-J2000/J2100 The units and maximum values of the counters are as follows: Maximum Number Counter Counting method Unit value 30,158 The number of paper feed lines Counts a paper feed of 30 dots Lines 71,582,788 as one line (+1)
Page 479
C O N F I D E N T I A L TM-T90 The units and maximum values of the counters are as follows: Number Counter Counting method Unit Maximum value 20,148 The number of paper feed lines Counts a paper feed 30 dots as one Lines 143,165,576 line (+1) 21,149...
Page 480
C O N F I D E N T I A L TM-P60 The units and maximum values of the counters are as follows: Number Counter Counting method Unit Maximum value 20,148 The number of paper feed lines Counts a paper feed 30 dots as one Lines 143,165,576 line (+1) 21,149...
Page 481
C O N F I D E N T I A L Miscellaneous commands GS z 0 ETTING COMMAND [Name] Set online recovery wait time [Format] ASCII GS z 1D 7A 30 Decimal 122 48 0 ≤ ≤ 255 [Range] 0 ≤...
Page 482
C O N F I D E N T I A L In the recovery confirmation status, the printer performs the following: • The paper out LED blinks. • The printer recovers online by pressing the paper feed button. Paper cannot be fed by pressing the paper feed button.
Page 483
C O N F I D E N T I A L The procedures for online 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 roll paper.
Page 484
C O N F I D E N T I A L Printer status Not printing because of a paper-end When the sensor detects that a roll paper is inserted, the printer starts loading. Printer status Waiting for a roll paper to be inserted (waiting for online recovery) The printer is in the paper wait status after loading and the paper out LED is off.
Page 485
C O N F I D E N T I A L [Model-dependent variations] TM-U230, TM-U210 Program Example for all printers PRINT #1, CHR$(&h1D);"z0";CHR$(10);CHR$(60) ← Transmits Waiting for a roll paper to be inserted in 5 sec, Recovery confirmation status in 30 sec. TM-U230, TM-U210 When waiting for a roll paper to be inserted status, the paper out LED is off.
Page 486
C O N F I D E N T I A L Kanji commands KANJI COMMANDS Command Name FS ! Set print mode(s) for Kanji characters FS & Select Kanji character mode FS ( A Define character effects of Kanji characters. FS –...
Page 487
C O N F I D E N T I A L FS ! ETTING COMMAND [Name] Select print mode(s) for Kanji characters [Format] ASCII Decimal [Printers not featuring this command] TM-L60II, TM-P60 0 ≤ ≤ 255 [Range] [Default] [Description] Selects the character styles (double-height, double-width, and Kanji-underlined) together for multi-byte code character as follows: Bit Function...
Page 488
C O N F I D E N T I A L [Notes] Settings of this command affect multilingual characters (except Thai) and user-defined characters. Settings of this command are effective until any of the following commands are executed, ESC @ is executed, the printer is rest, or the power is turned off.
Page 489
C O N F I D E N T I A L Program Example Print Sample ← PRINT #1, CHR$(&H1C);”C”;CHR$(0); Select JIS code system ← PRINT #1, CHR$(&H1C);”&”; Specify Kanji mode PRINT #1, CHR$(&H1C);”!”;CHR$(0); PRINT #1, CHR$(&H24);CHR$(&H22);CHR$(&H24);CHR$(&H22); PRINT #1, CHR$(&H1C);”!”;CHR$(4); PRINT #1, CHR$(&H24);CHR$(&H24);CHR$(&H24);CHR$(&H24);...
Page 490
C O N F I D E N T I A L Kanji commands FS & ETTING COMMAND [Name] Select Kanji character mode [Format] ASCII & Decimal [Printers not featuring this command] TM-L60II, TM-P60 [Description] Selects Kanji character mode. [Notes] This command can be used only for the Japanese, Simplified Chinese, Traditional Chinese, and Korean models.
Page 491
C O N F I D E N T I A L Notes for Traditional Chinese model: • When Kanji mode is selected, the printer processes a character code that corresponds to the first byte of Kanji code, and then processes a consecutive byte as the second byte of Kanji code. Therefore, when Kanji code is specified, an ASCII code character that corresponds to the first byte of Kanji code cannot be printed.
Page 492
C O N F I D E N T I A L Kanji commands FS ( A ETTING COMMAND [Name] Select Kanji character style(s) [Printers not featuring this command] TM-T88III, TM-L60II, TM-P60, TM-U230, TM-U220, TM-U210,TM-U300A/B [Description] Selects the multi-byte code character style. •...
Page 493
C O N F I D E N T I A L FS ( A <Function 48> fn m [Name] Select Kanji character font [Format] ASCII fn m 1D 28 Decimal × 256) = 2 ( [Range] = 2, = 0) fn = 48 0 ≤...
Page 494
C O N F I D E N T I A L TM-T90 This function is only for the Japanese model. Character configuration of each Kanji font is as follows: Kanji Font A (24 Kanji Font B (20 Kanji Font C (16 This function is available on Japanese model.
Page 495
C O N F I D E N T I A L Kanji commands FS – ETTING COMMAND [Name] Turn underline mode on/off for Kanji characters [Format] ASCII – Decimal [Printers not featuring this command] TM-L60II, TM-P60 TM-L90: 0 ≤ ≤...
Page 496
C O N F I D E N T I A L Program Example Print Sample ← PRINT #1, CHR$(&H1C);”C”;CHR$(0); Select JIS code system ← PRINT #1, CHR$(&H1C);”&”; 1-dot width underline added ← ← PRINT #1, CHR$(&H1C);”–”;CHR$(1); Select underline mode No underline PRINT #1, CHR$(&H34);CHR$(&H41);...
Page 497
C O N F I D E N T I A L Kanji commands FS . ETTING COMMAND [Name] Cancel Kanji character mode [Format] ASCII Decimal [Printers not featuring this command] TM-L60II, TM-P60 [Description] Cancels Kanji character mode. [Notes] This command can be used only for the Japanese, Simplified Chinese, Traditional Chinese, and Korean models.
Page 498
C O N F I D E N T I A L Notes for Korean model: • If Kanji mode is canceled, the printer processes a character code as a 1-byte code of alphanumeric Katakana characters. • Kanji mode is selected at default. Print Sample Program Example ←...
Page 499
C O N F I D E N T I A L Kanji commands FS 2 ETTING COMMAND [Name] Define user-defined Kanji characters c2 d1...dk [Format] ASCII c2 d1...dk c2 d1...dk Decimal [Printers not featuring this command] TM-L60II, TM-P60 [Range] The ranges of differ, depending on models and the character code system used.
Page 500
C O N F I D E N T I A L • specifies the second byte of a character code for a user-defined Kanji character. • specifies the defined data (column format). • indicates the number of defined data. is an explanation parameter;;...
Page 501
C O N F I D E N T I A L [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-U210, TM-U220, TM-U230, TM-U300A/B Program Example Print Sample ← PRINT #1, CHR$(&H1C);”C”; CHR$(0): Select JIS code system PRINT #1, CHR$(&H1C);”2”; PRINT #1, CHR$(&H77);CHR$(&H21); FOR k = 1 To 32 READ d: PRINT #1, CHR$(d);...
Page 502
C O N F I D E N T I A L TM-L90 The user-defined characters can be defined for all the character codes in a range. TM-U210 When the receive buffer capacity is set to 40 bytes (when DIP switch 1-2 is set to ON), a user- defined character for one character can be defined.
Page 503
C O N F I D E N T I A L Kanji commands FS C ETTING COMMAND [Name] Select Kanji character code system [Format] ASCII Decimal [Printers not featuring this command] TM-L60II, TM-P60 [Range] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90: = 0, 1, 48, 49 TM-U230, TM-U220, TM-U210, TM-U300A/B: = 0, 1...
Page 504
C O N F I D E N T I A L Program Example Print Sample ← ← PRINT #1, CHR$(&H1C);”C”;CHR$(0); Select JIS code system Print using JIS code ← ← PRINT #1, CHR$(&H1C);”&”; Specify Kanji mode Print using SHIFT JIS code PRINT #1, CHR$(&H34);CHR$(&H41);...
Page 505
C O N F I D E N T I A L Kanji commands FS S ETTING COMMAND [Name] Set Kanji character spacing n1 n2 [Format] ASCII n1 n2 n1 n2 Decimal [Printers not featuring this command] TM-L60II, TM-P60 TM-L90: 0 ≤ ≤...
Page 506
C O N F I D E N T I A L If the horizontal or vertical motion unit is changed after setting the character spacing, the spacing between the characters is not changed. The character spacing is effective until ESC @ is executed, the printer is reset, or the power is turned off. This command is used to change spacing between characters.
Page 507
C O N F I D E N T I A L Kanji commands FS W ETTING COMMAND [Name] Turn quadruple-size mode on/off for Kanji characters [Format] ASCII Decimal [Printers not featuring this command] TM-L60II, TM-P60 0 ≤ ≤ 255 [Range] [Default] [Description]...
Page 508
C O N F I D E N T I A L Kanji commands FS ? ETTING COMMAND [Name] Cancel user-defined Kanji characters [Format] ASCII Decimal [Printers not featuring this command] TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60, TM-U230, TM-U300A/B [Range] The ranges of differ, depending on specifications and the character code system used.
Page 509
C O N F I D E N T I A L [Model-dependent variations] None Program Example Print Sample ← PRINT #1, CHR$(&H1C);”C”; CHR$(0): Select JIS code system PRINT #1, CHR$(&H1C);”2”; PRINT #1, CHR$(&H77);CHR$(&H21); FOR k = 1 To 32 READ d: PRINT #1, CHR$(d);...
C O N F I D E N T I A L Two dimension code commands TWO DIMENSION CODE COMMANDS Command Name GS ( k Set up and print the symbol Paper roll Two dimension code commands Ver. 10.01 p. 510...
C O N F I D E N T I A L GS ( k XECUTING ETTING [Name] Set up and print the symbol [Printers not featuring this command] TM-J2000/J2100, TM-T88III, TM-L60II, TM-P60, TM-U230, TM-U220, TM-U210, TM-U300A/B [Description] Processes the data for two-dimensional codes. (PDF417, QR Code, MaxiCode) •...
Page 512
C O N F I D E N T I A L cn fn Function No. Function name 50 65 Function 265 MaxiCode: Select the mode Function 280 MaxiCode: Store the data in the symbol storage area Function 281 MaxiCode: Print the symbol data in the symbol storage area Function 282 MaxiCode: Transmit the size information of the symbol data in the symbol storage area...
Page 513
C O N F I D E N T I A L [Notes for processing of PDF417 symbol data (when = 48)] The symbol data specified by Function 080 d1...dk is stored in the printer and is printed by the specification of Function 081.
Page 514
C O N F I D E N T I A L [Notes for process of MaxiCode symbol (when specify = 50)] The symbol data specified by Function 280 d1...dk is stored in the printer and is printed by the specification of Function 181.
Page 515
C O N F I D E N T I A L TM-T90 This model supports two-dimensional code (PDF417 ) When printing PDF417 with this printer, note the following: The recognition rate of the symbol is affected by the height of the symbol, module height, module width ratio, and the performance of the reader.
Page 516
C O N F I D E N T I A L GS ( k <Function 065> [Name] PDF417: Set the number of columns in the data region cn fn n [Format] ASCII GS ( 1D 28 03 00 30 41 n 48 65 n Decimal ×...
Page 517
C O N F I D E N T I A L GS ( k <Function 066> [Name] PDF417: Set the number of rows cn fn n [Format] ASCII GS ( 1D 28 03 00 30 42 n 48 66 n Decimal ×...
Page 518
C O N F I D E N T I A L GS ( k <Function 067> [Name] PDF417: Set the width of the module cn fn n [Format] ASCII GS ( 1D 28 03 00 30 43 n 48 67 n Decimal ×...
Page 519
C O N F I D E N T I A L GS ( k <Function 068> [Name] PDF417: Set the row height cn fn n [Format] ASCII GS ( 1D 28 03 00 30 44 n 48 68 n Decimal ×...
Page 520
C O N F I D E N T I A L GS ( k <Function 069> [Name] PDF417: Set the error correction level cn fn m [Format] ASCII GS ( 1D 28 04 00 30 45 m 48 69 m Decimal ×...
Page 521
C O N F I D E N T I A L Function Number of error correction codeword 51 Error correction level 3 52 Error correction level 4 53 Error correction level 5 54 Error correction level 6 55 Error correction level 7 56 Error correction level 8 Error correction level specified by “ratio”...
Page 522
C O N F I D E N T I A L GS ( k <Function 070> [Name] PDF417: Select the options cn fn n [Format] ASCII GS ( 1D 28 03 00 30 46 n 48 70 n Decimal ×...
Page 523
C O N F I D E N T I A L GS ( k <Function 080> [Name] PDF417: Store the data in the symbol storage area cn fn m d1...dk [Format] ASCII GS ( 1D 28 30 50 30 d1...dk 48 80 48 d1...dk Decimal 4 ≤...
Page 524
C O N F I D E N T I A L GS ( k <Function 081> [Name] PDF417: Print the symbol data in the symbol storage area cn fn m [Format] ASCII GS ( 1D 28 03 00 30 51 48 81 m Decimal ×...
Page 525
C O N F I D E N T I A L The data area includes the following codeword. • Data specified by Function 080. • The descriptor of symbol length (the first codeword in the data area). • The error correction codeword calculated by modulus 929. •...
Page 526
C O N F I D E N T I A L TM-T90 In standard mode, the symbol which height exceeds 831 dots cannot be printed with this printer. When printing PDF417 symbols, the printer starts actual printing after it reaches control speed for the printing symbol.
Page 527
C O N F I D E N T I A L GS ( k <Function 082> [Name] PDF417: Transmit the size information of the symbol data in the symbol storage area cn fn m [Format] ASCII GS ( 1D 28 03 00 30 52 m 48 82 m Decimal...
Page 528
C O N F I D E N T I A L (*1)”Horizontal size” and “vertical size” indicate the number of dots of the symbol. (*2)”Other information” indicates whether printing of the data in the symbol storage area is possible or impossible.
Page 529
C O N F I D E N T I A L Cause Solution (Number of columns × number of Increase the number of columns by Function 065. rows) < number of codeword Increase the number of rows by Function 066. Number of the codeword in the Reduce the data by Function 080.
Page 530
C O N F I D E N T I A L GS ( k <Function 165> [Name] QR Code: Select the model cn fn n1 n2 [Format] ASCII GS ( 1D 28 04 00 31 41 n1 n2 49 65 n1 n2 Decimal ×...
Page 531
C O N F I D E N T I A L GS ( k <Function 167> [Name] QR Code: Set the size of module cn fn n [Format] ASCII GS ( 1D 28 03 00 31 43 n 49 67 n Decimal ×...
Page 532
C O N F I D E N T I A L GS ( k <Function 169> [Name] QR Code: Select the error correction level cn fn n [Format] ASCII GS ( 1D 28 03 00 31 45 n 49 69 n Decimal ×...
Page 533
C O N F I D E N T I A L GS ( k <Function 180> [Name] QR Code: Store the data in the symbol storage area cn fn m d1...dk [Format] ASCII GS ( 1D 28 50 30 d1...dk 49 80 48 d1...dk Decimal 4 ≤...
Page 534
C O N F I D E N T I A L • The printer is reset or the power is turned off [Model-dependent variations] TM-T90 TM-T90 This model does not support this function. Paper roll Two-dimension code commands GS ( k Ver.
Page 535
C O N F I D E N T I A L GS ( k <Function 181> [Name] QR Code: Print the symbol data in the symbol storage area cn fn m [Format] ASCII GS ( 1D 28 03 00 31 49 81 m Decimal ×...
Page 536
C O N F I D E N T I A L • Format Information • Version Information • Error Correction codewords (employs the Reed-Solomon Error Detection and Correction algorithm) • Pad codeword • Number of bits in Character Count Indicator •...
Page 537
C O N F I D E N T I A L TM-T90 This model does not support this Function. TM-L90 In standard mode, any symbol taller than 831 dots cannot be printed with this printer. When printing a QR Code symbol, the printer starts actual printing after it reaches control speed for printing the symbols.
Page 538
C O N F I D E N T I A L GS ( k <Function 182> [Name] QR Code: Transmit the size information of the symbol data in the symbol storage area cn fn m [Format] ASCII GS ( 1D 28 03 00 31 52 m...
Page 539
C O N F I D E N T I A L (*2)”Other information” indicates whether printing of the data in the symbol storage area is possible or impossible. The “Other information“ is as following. Other information Decimal Condition Printing is possible Printing is impossible The decimal value of the vertical size and horizontal size is converted to text data and sent starting from the high order end.
Page 540
C O N F I D E N T I A L See previous [Notes for transmission process] for process sending data group. [Model-dependent variations] TM-T90, TM-L90 TM-T90 This model does not support this function. TM-L90 When the vertical size exceeds 831 dots in standard mode, “other information” is “Printing is impossible”(in decimal: 49).
Page 541
C O N F I D E N T I A L GS ( k <Function 265> [Name] MaxiCode: Select the mode cn fn n [Format] ASCII GS ( 1D 28 03 00 32 41 n 50 65 n Decimal ×...
Page 542
C O N F I D E N T I A L GS ( k <Function 280> [Name] MaxiCode: Store the data in the symbol storage area cn fn m d1...dk [Format] ASCII GS ( 1D 28 32 50 30 d1...dk 50 80 48 d1...dk Decimal 4 ≤...
Page 543
C O N F I D E N T I A L GS ( k <Function 281> [Name] MaxiCode: Print the symbol data in the symbol storage area cn fn m [Format] ASCII GS ( 1D 28 03 00 32 51 50 81 m Decimal ×...
Page 544
C O N F I D E N T I A L • When mode 3 is selected, the Primary Message includes all data except following. Factor of Primary Message Number of data Character Postal code 1 ~ 6 byte Code set A ISO country code 1 ~ 3 byte...
Page 545
C O N F I D E N T I A L Printing of symbol is not affected by print mode (emphasized, double-strike, underline, white/ black reverse printing, or 90° clockwise-rotated), except for character size and upside-down print mode. In standard mode, this command executes paper feeding for the amount needed for printing the symbol, regardless of the paper feed amount set by the paper feed setting command.
Page 546
C O N F I D E N T I A L GS ( k <Function 282> [Name] MaxiCode: Transmit the size information of the symbol data in the symbol storage area cn fn m [Format] ASCII GS ( 1D 28 03 00 32 52 m 50 82 m Decimal...
Page 547
C O N F I D E N T I A L (*1)”Horizontal size” and “vertical size” indicate the number of dots of the symbol. (*2)”Other information” indicates whether printing of the data in the symbol storage area is possible or impossible.
Page 548
C O N F I D E N T I A L See previous [Notes for transmission process] for process sending data group. [Model-dependent variations] TM-T90, TM-L90 TM-T90 This model does not support this function. TM-L90 When the vertical size exceeds 831 dots in standard mode, “other information” is “Printing is impossible“...
Page 549
C O N F I D E N T I A L Customize commands CUSTOMIZE COMMANDS Command Name FS g 1 Write to NV user memory FS g 2 Read from NV user memory GS ( C Edit NV user memory Delete the specified record Store the data in the specified record Transmit the data in the specified record...
Page 550
C O N F I D E N T I A L GS ( M Customize printer control value(s) Save the setting values from the work area into the storage area Load the setting values stored in the storage area to the work area Select the setting values loaded to the work area after the initialization process Paper roll Customize commands...
Page 551
obsolete command obsolete command C O N F I D E N T I A L FS g 1 ETTING COMMAND [Name] Write to NV user memory m a1 a2 a3 a4 n d1...dk [Format] ASCII m a1 a2 a3 a4 n d1...dk m a1 a2 a3 a4 n d1...dk...
Page 552
C O N F I D E N T I A L [Notes] NV user memory is the memory area used for storing character font data in non-volatile memory. The data stored is effective until it is redefined by this command. In standard mode, this command is effective only when processed at the beginning of a line.
Page 553
obsolete command obsolete command C O N F I D E N T I A L Customize commands FS g 2 XECUTING COMMAND [Name] Read from NV user memory m a1 a2 a3 a4 n [Format] ASCII m a1 a2 a3 a4 n m a1 a2 a3 a4 n Decimal 103 50...
Page 554
C O N F I D E N T I A L Transmission data [Header + data + NUL] as follows is transmitted: Transmitted data Decimal Amount of data Header 1 byte × 256) bytes NV user memory data 20H ~ FEH 32 ~ 254 NULL 1 byte...
Page 555
C O N F I D E N T I A L Customize commands GS ( C XECUTING ETTING [Name] Edit NV user memory [Printers not featuring this command] TM-T88III, TM-L60II, TM-U230, TM-U210, TM-U300A/B [Description] Edits the data in the NV user memory. •...
Page 556
C O N F I D E N T I A L d1... dk • Data is the character string specified by in Function 1 of the GS ( C command. You cannot specify control codes 00H – 1FH, 7FH as character string data. •...
Page 557
C O N F I D E N T I A L When communication with the printer uses XON/XOFF control with serial interface, the XOFF code may interrupt the “Header to NUL” data string. The transmission information for each function can be identified to other transmission data according to specific data of the transmission data block.
Page 558
End processing for this command. Resend previously sent data. Program Example 1 (Write data for record $1) PRINT #1, CHR$(&H1D);"(C";CHR$(18);CHR$(0);CHR$(0);CHR$(1);CHR$(0);"$1";"EPSON ESC/POS"; ¨ ← <Function 1> Program Example 2 (Read data for record %5) PRINT #1, CHR$(&H1D);"(C";CHR$(5);CHR$(0);CHR$(0);CHR$(2);CHR$(0);"%5"; ¨ ← <Function 2>...
Page 559
C O N F I D E N T I A L TM-P60 Definition area of record data shares the same definition area with NV graphics memory (GS ( L). Total record data is 384 KB. TM-U220 Record data definition area capacity is 8 KB. Paper roll Customize commands GS ( C...
Page 560
C O N F I D E N T I A L GS ( C p m fn b c1 c2 <Function 0> [Name] Delete the specified record fn b [Format] ASCII GS ( 1D 28 05 00 00 fn 00 c1 fn 0 Decimal ×...
Page 561
C O N F I D E N T I A L GS ( C p m fn b c1 c2 d1...dk <Function 1> [Name] Store the data in the specified record fn b c2 d1...dk [Format] ASCII GS ( 1D 28 00 fn 00 c1 c2 d1...dk...
Page 562
C O N F I D E N T I A L TM-L90 This function uses the “data quantity ( ) + number of control information data (3 byte)” area for execution. TM-P60 This function uses the “data quantity ( ) + number of control information data”...
Page 563
C O N F I D E N T I A L GS ( C p m fn b c1 c2 <Function 2> [Name] Transmit the data in the specified record fn b [Format] ASCII GS ( 1D 28 05 00 00 fn 00 c1 fn 0 Decimal ×...
Page 564
C O N F I D E N T I A L (*3) The key code and terminator are not included in the data. If the host specifies a nonexistent record, the printer sends the “Header to NUL” data shown below: Send data Decimal Data quantity...
Page 565
C O N F I D E N T I A L GS ( C p m fn b <Function 3> [Name] Transmit capacity of the NV user memory currently being used fn b [Format] ASCII GS ( 1D 28 03 00 00 fn 00 fn 0 Decimal...
Page 566
C O N F I D E N T I A L GS ( C p m fn b <Function 4> [Name] Transmit the remaining capacity of the NV user memory fn b [Format] ASCII GS ( 1D 28 03 00 00 fn 00 fn 0 Decimal ×...
Page 567
C O N F I D E N T I A L GS ( C p m fn b <Function 5> [Name] Transmit the key code list fn b [Format] ASCII GS ( 1D 28 03 00 00 fn 00 fn 0 Decimal ×...
Page 568
C O N F I D E N T I A L (*2) The printer performs batch processing when the data to be stored in the specified record is 40 records or less. At this time, the identification status of the third byte is 40H or 64 decimal. (*3) The data is the key code.
Page 569
C O N F I D E N T I A L GS ( C p m fn b d1 d2 d3 <Function 6> [Name] Delete all data in the NV user memory fn b d1 d2 d3 [Format] ASCII GS ( 1D 28 06 00 00 fn 00 43 4C 52...
Page 570
C O N F I D E N T I A L Customize commands GS ( E XECUTING ETTING [Name] Set user setup commands [Printers not featuring this command] TM-T88III, TM-L60II, TM-U230, TM-U210, TM-U300A/B [Description] Controls the user setting modes. The table below explains the functions available in this command. •...
Page 571
C O N F I D E N T I A L [Notes] The value of parameter determines the function number for this command. Command operation differs, depending on the function number. User setting mode is a special mode to change settings for the printer’s built-in non-volatile memory. To change a setting, you must change the printer into user setting mode, using Function 1.
Page 572
C O N F I D E N T I A L • With a parallel interface printer, data transmitted (excluding ASB status) with this command (“Header to NUL”) is temporarily stored in the printer transmit buffer, as with other data. When the host goes into reverse mode, the printer then transmits the data sequentially from the beginning of the transmit buffer.
Page 573
C O N F I D E N T I A L TM-J2000/J2100 This printer does not support functions for paper layout <Function 48, 49, and 50>. TM-T90 This printer does not support functions for paper layout <Function 48, 49, and 50>. TM-P60 This printer does not support the following functions: Functions for user defined character <Function 8>.
Page 574
C O N F I D E N T I A L GS ( E p fn d1 d2 <Function 1> [Name] Change into the user setting mode fn d1 d2 [Format] ASCII GS ( 1D 28 03 00 01 49 4E 73 78 Decimal ×...
Page 575
C O N F I D E N T I A L GS ( E p fn d1 d2 d3 <Function 2> [Name] End the user setting mode session fn d1 d2 d3 [Format] ASCII GS ( 1D 28 04 00 02 4F 55 54 79 85 84 Decimal ×...
Page 576
C O N F I D E N T I A L GS ( E p fn [a1 b1 ...b1 ]...[ak nk ] <Function 3> [Name] Change the memory switch fn [a1 b1 ...b1 ]...[ak nk [Format] ASCII GS ( 1D 28 03 [a1 b1 ...b1...
Page 577
C O N F I D E N T I A L Setting value ( ) Function Sets receive buffer capacity to “big” Sets receive buffer capacity to “small” BUSY when “receive buffer full” or “offline” BUSY when “receive buffer full” Data processing when occurring receive error: Replace with “?”...
Page 578
C O N F I D E N T I A L Character code system for the simplified Chinese model: GB18030 Character code system for the simplified Chinese model: GB2312 2-4 to 2-8 Reserved • Specifications when memory switch 8 ( = 8) is different, depending on the printer models.
Page 579
C O N F I D E N T I A L • Initializing by turning on the power by switch. • Initializing by hardware reset. • Initializing by software reset, such as by transmitting Function 2. • Initializing after the self test. With a serial interface, when communication with the printer uses XON/XOFF control, the XOFF code may interrupt the “Header to NUL”...
Page 580
C O N F I D E N T I A L TM-T90 Receive buffer capacity [Msw 1-2]: Large (when = 48) = 4 KB; small (when = 49) = 45 bytes This printer doesn’t support [Msw 1-6] (DM-D (Customer display) is connected or not)) and [Msw 2-3] (Selecting character code system for the simplified Chinese model) •...
Page 581
C O N F I D E N T I A L Spacing of both sides for bar code: not inserted Spacing of both sides for bar code: inserts a space 8-6 to 8-7 50 Reserved Roll paper cover open during printing: automatic recoverable error Roll paper cover open during printing: recoverable error Setting of [Msw 8-3] is supported differently, depending on the firmware version.
Page 582
C O N F I D E N T I A L Spacing of both sides for bar code: not inserted Spacing of both sides for bar code: inserts a space Perform paper feed to the print starting position when power is turned on Not perform paper feed to the print starting position when power is turned on Reserved Roll paper cover open during printing: automatic recoverable error...
Page 583
C O N F I D E N T I A L • Settings of [Msw 8-6] affect the initializing operation when the power is turned on, when the paper layout (origin of layout) is “bottom of a label” or “top of a black mark“. Paper layout can be set by this function (Function 49) or “automatic setting of paper layout”...
Page 584
C O N F I D E N T I A L No beeps for recoverable and non-recoverable error occurred Beeps for recoverable and non-recoverable error occurred 8-5 ~ 8-6 Reserved Setting of [Msw8-1] affects the operation of DLE DC4 (fn=2) but not affect the operation of DLE DC4 (fn=7).
Page 585
C O N F I D E N T I A L GS ( E p fn a <Function 4> [Name] Transmit the settings of the memory switch [Format] ASCII GS ( 1D 28 02 00 04 a Decimal × 256) = 2 [Range] = 2, = 0)
Page 586
C O N F I D E N T I A L GS ( E p fn [a1 n1 ]...[ak nk ] <Function 5> [Name] Set the customized setting values fn [a1 n1 ] ... [ak nk [Format] ASCII GS ( 1D 28 05 [a1 n1 ] ...
Page 587
C O N F I D E N T I A L TM-P60: = 3, 5, 116 × 256) = 2,3 ( = 2,3 , = 0) [ = 3] 0 ≤ ( × 256) ≤ 6, 65530 ≤ ( ×...
Page 588
C O N F I D E N T I A L × 256). [Description] Changes the customized value specified by parameter to ( Type of customized value NV user memory capacity NV graphics memory capacity Paper width Print density Print speed Number of division of thermal head energizing 116, 117,...
Page 589
C O N F I D E N T I A L • Execution of memory switch setting mode by panel operation when the power is turned on (supported by some printer models.) [Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-P60, TM-U220 TM-J2000/J2100 Paper width settings ( = 3)
Page 590
C O N F I D E N T I A L • NV graphics memory capacity settings ( = 2) × 256) Memory capacity None (0 bytes) 64 KB 128 KB 192 KB 256 KB 320 KB 384 KB * Not available NV graphics functions •...
Page 591
C O N F I D E N T I A L Print Print × 256) × 256) density density 65534 125% 65535 130% 100% • Print speed ( = 6) × 256) Print speed Print speed level 1 Print speed level 2 Print speed level 3 Print speed level 4 Print speed level 5...
Page 592
C O N F I D E N T I A L Selects the black-color density in two-color printing ( 118) × 256) The black-color density Light Medium Dark • This setting’s value affects printing in black for two-color printing. Setting the “paper width,“...
Page 593
C O N F I D E N T I A L • NV graphics memory capacity settings ( = 2) × 256) Memory capacity None (0 bytes) 64 KB 128 KB 192 KB 256 KB 320 KB 384 KB * Not available NV graphics functions •...
Page 594
C O N F I D E N T I A L • Print density settings ( = 5) Print Print × 256) × 256) density density 65530 110% 65531 115% 65532 120% 65533 125% 65534 130% 65535 135% 100% 140% 105% •...
Page 595
C O N F I D E N T I A L • Select paper settings ( = 116) × 256) Paper Specified white and black paper Recommended two-color paper • Selects the black-color density in two-color printing (a = 118) ×...
Page 596
C O N F I D E N T I A L • Print density settings ( = 5) × × Print Print 256) density 256) density 65530 105% 65531 110% 65532 115% 65533 120% 65534 125% 65535 130% 100% •...
Page 597
C O N F I D E N T I A L GS ( E p fn a <Function 6> [Name] Transmit the customized setting values fn a [Format] ASCII GS ( 1D 28 02 00 06 a Decimal × 256) = 2 [Range] = 2, = 0)
Page 598
C O N F I D E N T I A L The printer transmits the data below (“Header to NUL”) with this function: Transmit data Decimal Data quantity Header 1 byte Identifier 1 byte (*1) 31H − 39H 48 − 57 1 −...
Page 599
C O N F I D E N T I A L TM-T90 The setting value transmitted with customize value 116 ( = 116) is paper selection. The setting value transmitted with customize value 118 ( = 118) is the black-color density in two- color printing.
Page 600
C O N F I D E N T I A L GS ( E p fn a d1 d2 <Function 7> [Name] Copy the user-defined page fn a d1 d2 [Format] ASCII GS ( 1D 28 04 00 07 a d1 d2 d1 d2 Decimal...
Page 601
C O N F I D E N T I A L User defined code pages are page 255 or page 254 in the character code pages of alphanumeric Katakana characters built in the printer. Character data defined in the user-defined code page can be printed by specifying the character code after selecting the page with ESC t.
Page 602
C O N F I D E N T I A L <Japanese models> Font No. (configuration) Code page 12 (12 × 24) Page 255 of Font A 17 (8 × 16) Page 255 of Font C 18 (10 × 24) Page 255 of Font B TM-T90 <Other than Japanese models>...
Page 603
C O N F I D E N T I A L TM-P60 The relation between the font number and code page is as follows: Font No. (configuration) Code page 12 (12 × 24) Page 255 of Font A 17 (8 × 16) Page 255 of Font C 18 (10 ×...
Page 604
C O N F I D E N T I A L × GS ( E p fn y c1 c2[x d1...d(y x)] k <Function 8> [Name] Define the data (column format) for the character code page d1...d(y × x)]k fn y c2 [x [Format]...
Page 605
C O N F I D E N T I A L Changes the data of the user-defined code page that is copied into the work area by Function 7. If data in the user-defined code pages is not copied into the work area, this function is not available. In this case, execute Function 7 first.
Page 606
C O N F I D E N T I A L × GS ( E p fn x c1 c2[y d1...d(x y)] k <Function 9> [Name] Define the data (raster format) for the character code page d1...d(x × y)]k fn x c2 [x [Format]...
Page 607
C O N F I D E N T I A L If the data in the user-defined code pages is not copied into the work area, this function is not available. In this case, execute Function 7 first. x × y Definition data ( ) specifies a bit printed to 1 and not printed to 0.
Page 608
C O N F I D E N T I A L GS ( E p fn c1 c2 <Function 10> [Name] Delete the data for the character code page fn c1 [Format] ASCII GS ( 1D 28 03 00 0A c1 10 c1 Decimal ×...
Page 609
C O N F I D E N T I A L GS ( E p fn a d1...dk <Function 11> [Name] Set the configuration item for the serial interface fn a d1...dk [Format] ASCII GS ( 1D 28 0B a d1...dk d1...dk Decimal...
Page 610
C O N F I D E N T I A L d1...dk [Description] Sets the configuration item for the serial interface specified by to the values specified by Configuration item Transmission speed Parity Flow control Data length • Transmission speed ( = 1) is specified by number.
Page 611
C O N F I D E N T I A L • If the communication control between host and printer does not correspond, the printer cannot process data from the host normally, and the host cannot receive data from the printer normally. This function works in user setting mode.
Page 612
C O N F I D E N T I A L TM-L90 DIP switch for setting communication condition is Sw 2. When DIP switch is off, this function is enabled. 7 baud rates are selectable. [“2400 “,“4800 “, “9600 “, “19200 “, “38400 “, “57600 “, “115200 “] Setting of this function can be changed by “Memory switch setting mode”...
Page 613
C O N F I D E N T I A L GS ( E p fn a <Function 12> [Name] Transmit the configuration item for the serial interface fn a [Format] ASCII GS ( 1D 28 0B a Decimal ×...
Page 614
C O N F I D E N T I A L (*2) Setting value is set by Function 11. “Setting value” is set by Function 11. It might differ from the current communication condition before executing Function 2 or depending on the setting of the DIP switch. This function is used to confirm whether Function 11 ends normally before executing Function 2.
Page 615
C O N F I D E N T I A L GS ( E p fn d1 d2 d3 <Function 48> [Name] Delete the paper layout fn d1 d2 d3 [Format] ASCII GS ( 1D 28 04 00 30 d1 d2 d3 48 d1 d2 d3 Decimal ×...
Page 616
C O N F I D E N T I A L GS ( E p fn sa ; sb ; sc ; sd ; se ; sf ; sg ; sh; <Function 49> [Name] Set the paper layout [Format] sh ;...
Page 617
C O N F I D E N T I A L • Sets the layout in the vertical direction by ( ) to ( ). (BM = black mark). = 49) = 64) Top of a BM ~ top of next BM. Bottom of a label ~ bottom of the next label.
Page 618
C O N F I D E N T I A L • The setting unit is 0.1 mm. The relationship between each setting value of the layout of the vertical direction and paper layout is as follows. [Notes] This function works in user setting mode. The origin of layout can be specified by as follows.
Page 619
C O N F I D E N T I A L In any of the following cases, the parameter after can be omitted. However, “;” cannot be omitted even if the parameter is omitted. • When the origin of layout is “paper layout is not used” ( = 48).
Page 620
C O N F I D E N T I A L TM-T90 This printer does not support this function. TM-U220 This printer does not support this function. TM-L90 In the following cases, the parameter is the wrong value. If these parameters are processed, the value is not set.
Page 621
C O N F I D E N T I A L When the next origin of layout is not detected by performing paper feed “setting value of × 1.12,” after passing the origin of layout. × 0.88,” When the next origin of layout is detected by performing paper feed less than “setting value of after passing top of the label.
Page 622
C O N F I D E N T I A L GS ( E p fn n <Function 50> [Name] Transmit the paper layout information fn n [Format] ASCII GS ( 1D 28 02 00 32 n 50 n Decimal ×...
Page 623
C O N F I D E N T I A L [Header to NUL] are transmitted by this function as follows. Transmit data Decimal Data Header 1 byte Identifier 1 byte Type of information (*1) 30H ~ 39 H 48 ~ 57 2 bytes Separator...
Page 624
C O N F I D E N T I A L (*1) “Type of information” and “Layout information” are transmitted sequentially, converting the character data into decimal data. Example: When the value is “120,” the transmitted data is Hex 31H, 32H, 30H, 30H/decimal 49, 50, 48, 48 (3 bytes).
Page 625
C O N F I D E N T I A L The relationship between setting value of vertical layout ( ) and effect value is as follows. A = Edge of the paper ~ left edge of the printable area B = Setting value of paper layout ( C = Effective value (A-B) of paper layout ( •...
Page 626
C O N F I D E N T I A L Customize commands GS ( M ETTING COMMAND [Name] Customize printer control value(s) [Printers not featuring this command] TM-T88III, TM-L60II, TM-U230, TM-U220, TM-U210, TM-U300A/B [Description] Customizes the printer control value(s). •...
Page 627
C O N F I D E N T I A L The combination of Functions 2 and 3 can change the default value of each command. Function 1 or Function 3 processes writing in a non-volatile memory. Take the following into account when using the function.
C O N F I D E N T I A L Program Example 2 Print Sample 2 AAAAAAAAAA PRINT #1, CHR$(&H1D);"L";CHR$(24);CHR$(0);← Set left margin AAAAAAAAAA PRINT #1, CHR$(&H1D);"W";CHR$(104);CHR$(1);← Print area width (30 columns) BBBBBBBBBBBBBBBBBBBB PRINT #1, CHR$(&H1D);"(M";CHR$(2);CHR$(0);CHR$(1);CHR$(1);← <Function 1> PRINT #1, CHR$(&H1D);"(M";CHR$(2);CHR$(0);CHR$(3);CHR$(1);←...
Page 629
C O N F I D E N T I A L TM-T90 GS ( M affects the following commands: Category of function Command Line spacing ESC 2, ESC 3 Print character ESC SP, ESC !, ESC –, ESC E, ESC G, ESC M, ESC R, ESC V, ESC t, ESC {, GS !,GS ( N, GS B, GS b Panel switch ESC c 5...
Page 630
C O N F I D E N T I A L Setting value Command Bar code GS H, GS f, GS h, GS w Two dimensions code GS ( k Function 065 to 070, 165, 167, 169, 265 Macro function GS : Kanji control FS !, FS &, FS ( A, FS -, FS ., FS 2, FS C, FS S, FS W...
Page 631
C O N F I D E N T I A L GS ( M <Function 1> fn m [Name] Save the setting values from the work area into the storage area [Format] ASCII GS ( fn m 02 00 fn m 1D 28 fn m Decimal...
Page 632
C O N F I D E N T I A L GS ( M <Function 2> fn m [Name] Load the setting values stored in the storage area to the work area [Format] ASCII GS ( fn m 02 00 fn m 1D 28 fn m Decimal...
Page 633
C O N F I D E N T I A L GS ( M p fn m <Function 3> [Name] Select the setting values loaded to the work area after the initialization process [Format] ASCII GS ( fn m 02 00 fn m 1D 28 fn m...
Page 634
C O N F I D E N T I A L Counter printing commands COUNTER PRINTING COMMANDS Command Name GS C 0 Select counter print mode GS C 1 Select count mode (A) GS C 2 Set counter GS C ; Select counter mode (B) GS c Print counter...
Page 635
obsolete command obsolete command C O N F I D E N T I A L GS C 0 ETTING COMMAND [Name] Select counter print mode [Format] ASCII GS C 1D 43 Decimal 0 ≤ ≤ 5 [Range] 0 ≤ ≤...
Page 636
C O N F I D E N T I A L [Notes] The serial number counter is stored in the print buffer by GS c. Settings of this command are effective until ESC @ is executed, the printer is reset, or the power is turned off.
Page 637
obsolete command obsolete command C O N F I D E N T I A L Counter printing commands GS C 1 ETTING COMMAND [Name] Select count mode (A) [Format] ASCII GS C 1D 43 Decimal 0 ≤ ( × 256) ≤ 65535 (0 ≤ ≤...
Page 638
C O N F I D E N T I A L In a count-down setting, when GS c is executed, the counter value is below minimum value × 256), restart counting from the maximum value ( × 256). In a count-stop setting, when executing GS c, the counter value is not changed. When this command is executed, the internal counter which counts the repetition number of printing is 0.
Page 639
obsolete command obsolete command C O N F I D E N T I A L Counter printing commands GS C 2 ETTING COMMAND [Name] Set counter [Format] ASCII GS C 1D 43 Decimal 0 ≤ ( × 256) ≤ 65535 (0 ≤ ≤...
Page 640
obsolete command obsolete command C O N F I D E N T I A L Counter printing commands GS C ; ETTING COMMAND [Name] Select counter mode (B) [Format] ASCII GS C 1D 43 Decimal 0 ≤ ≤ 65535 [Range] 0 ≤...
Page 641
C O N F I D E N T I A L [Recommended Functions] This command is supported by some printer models and will not be supported by future models. Future models will not support counter value. [Notes] In count-up mode, the counter value exceeds the maximum counter value ( ), the printer restart counting from the minimum counter value ( In count-down mode, the counter value is below the minimum counter value (...
Page 642
C O N F I D E N T I A L The settings for GS C 1 and GS C 2 are disabled by processing this command. Program Example Print Sample PRINT #1, CHR$(&H1D);"C;";"300;1;1;2;100;"; PRINT #1, CHR$(&H1D);"C0";CHR$(4);CHR$(1); No. 0100 PRINT #1, "No.";CHR$(&H1D);"c";CHR$(&HA);...
Page 643
obsolete command obsolete command C O N F I D E N T I A L Counter printing commands GS c XECUTING COMMAND [Name] Print counter [Format] ASCII GS c 1D 63 Decimal [Range] None [Default] None [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-P60, TM-U230, TM-U220, TM-U210, TM-U300A/B [Description] Stores the serial number counter value in the print buffer and counts up or down the serial number counter...
Page 644
C O N F I D E N T I A L The counter print mode is set by GS C 0. The counter mode (count-up, count-down, count-stop) and details of counter (maximum value, minimum value, stepping amount of incrementing or decrementing of a counter value, the repetition number of printing) are set by GS C 1 or GS C ;.
C O N F I D E N T I A L Printing paper commands PRINTING PAPER COMMANDS Command Name FS ( L Select label and black mark control function(s) Transmit the positioning information Feed paper to the label peeling position Feed paper to the cutting position Feed paper to the print starting position Paper roll...
Page 646
C O N F I D E N T I A L Printing paper commands FS ( L XECUTING COMMAND [Name] Select label and black mark control function(s) [Printers not featuring this command] TM-J2000/J2100, TM-T90, TM-T88III, TM-L60II, TM-P60, TM-U210, TM-U300A/B TM-U220, TM-U230 [Description]...
Page 647
C O N F I D E N T I A L [Notes for transmission process] Data send operations are performed using Function 48. When you use the functions, obey the following rules. • When the host PC transmits the function data, transmit the next data after receiving the corresponding data from the printer •...
Page 648
C O N F I D E N T I A L Program Example 2 (Black mark paper is printed while cutting one piece.) ← Send a sheet of print data. GOSUB *BM.Print PRINT #1, CHR$(&H1C);"(L";CHR$(66);CHR$(49); ← Paper feed to cutting position <Function 66> PRINT #1, CHR$(&H1D);"V";CHR$(49);...
Page 649
C O N F I D E N T I A L FS ( L <Function 48 > [Name] Transmit the positioning information [Format] ASCII fn m Decimal × 256) = 2 ( [Range] = 2, = 0) = 48 = 80 [Description] Transmits the positioning information for the label or black mark paper.
Page 650
C O N F I D E N T I A L [Position information A] is shown in the following. Function Binary Decimal Relation to the label peeling position; Not at label peeling position. Relation to the label peeling position: Standby at the label peeling position.
Page 651
C O N F I D E N T I A L [Position information B] is shown in the following. Function Binary Hex Decimal The print start of the current label can operate. The print start operation of the current label is impossible. 1 The print start of the next label can operate.
Page 652
C O N F I D E N T I A L TM-L90 When it meets either of the following requirements, bit 0 of [Position Information B] becomes “The print start operation of the label is possible now.” Set the paper layout ( ) using Function 49 of GS ( E.
Page 653
C O N F I D E N T I A L FS ( L <Function 65 > [Name] Feed paper to the label peeling position [Format] ASCII fn m Decimal × 256) = 2 ( [Range] = 2, = 0) = 48, 49 = 65 [Description]...
Page 654
C O N F I D E N T I A L TM-L90 The following operation is executed according to a set value of the paper layout. Set value of paper layout Operation Paper layout ( – ) is less than 24 mm {0.94 inch} or Execute the paper feed to the manual cutter Paper layout ( –...
Page 655
C O N F I D E N T I A L FS ( L <Function 66 > [Name] Feed paper to the cutting position [Format] ASCII fn m Decimal × 256) = 2 ( [Range] = 2, = 0) = 48, 49 = 66 [Description]...
Page 656
C O N F I D E N T I A L FS ( L <Function 67 > [Name] Feed paper to the print starting position [Format] ASCII fn m Decimal × 256) = 2 ( [Range] = 2, = 0) = 48, 49, 50 = 67 [Description]...
C O N F I D E N T I A L 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.) Paper roll Character code tables Ver.
Page 658
C O N F I D E N T I A L Page 1 (Katakana) Paper roll Character code tables Ver. 10.01 p. 658...
Page 659
C O N F I D E N T I A L Page 2 (PC850: Multilingual) Paper roll Character code tables Ver. 10.01 p. 659...
Page 660
C O N F I D E N T I A L Page 3 (PC860: Portuguese) Paper roll Character code tables Ver. 10.01 p. 660...
Page 661
C O N F I D E N T I A L Page 4 (PC863: Canadian-French) Paper roll Character code tables Ver. 10.01 p. 661...
Page 662
C O N F I D E N T I A L Page 5 (PC865: Nordic) Paper roll Character code tables Ver. 10.01 p. 662...
Page 663
C O N F I D E N T I A L Page 6 (Hiragana) Paper roll Character code tables Ver. 10.01 p. 663...
Page 664
C O N F I D E N T I A L Page 7 (One-pass printing Kanji characters) Paper roll Character code tables Ver. 10.01 p. 664...
Page 665
C O N F I D E N T I A L Page 8 (One-pass printing Kanji characters) Paper roll Character code tables Ver. 10.01 p. 665...
Page 666
C O N F I D E N T I A L Page 16 (WPC1252) Paper roll Character code tables Ver. 10.01 p. 666...
Page 667
C O N F I D E N T I A L Page 17 (PC866: Cyrillic #2) Paper roll Character code tables Ver. 10.01 p. 667...
Page 668
C O N F I D E N T I A L Page 18 (PC852: Latin2) Paper roll Character code tables Ver. 10.01 p. 668...
Page 669
C O N F I D E N T I A L Page 19 (PC858: Euro) Paper roll Character code tables Ver. 10.01 p. 669...
Page 670
C O N F I D E N T I A L Page 20 (Thai character code 42) Paper roll Character code tables Ver. 10.01 p. 670...
Page 671
C O N F I D E N T I A L Page 21 (Thai character code 11) Paper roll Character code tables Ver. 10.01 p. 671...
Page 672
C O N F I D E N T I A L Page 22 (Thai character code 13) Paper roll Character code tables Ver. 10.01 p. 672...
Page 673
C O N F I D E N T I A L Page 23 (Thai character code 14) Paper roll Character code tables Ver. 10.01 p. 673...
Page 674
C O N F I D E N T I A L Page 24 (Thai character code 16) Paper roll Character code tables Ver. 10.01 p. 674...
Page 675
C O N F I D E N T I A L Page 25 (Thai character code 17) Paper roll Character code tables Ver. 10.01 p. 675...
Page 676
C O N F I D E N T I A L Page 26 (Thai character code 18) Paper roll Character code tables Ver. 10.01 p. 676...
Page 677
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"...
C O N F I D E N T I A L Using bit value tables USING BIT VALUE TABLES For each command that has a complex method of determining the variable , there is a table showing how to calculate the variable in three numbering systems: binary, hexadecimal, and decimal.
Page 679
C O N F I D E N T I A L Off/On Decimal Function Character Font A selected. Character Font B selected. 1, 2 — — — Undefined. Emphasized mode not selected. Emphasized mode selected. Double-height mode not selected. Double-height mode selected.