Page 2 - EPSON; Guide to; SEIKO EPSON CORPORATION
EPSON Guide to TM-U950/U950P SEIKO EPSON CORPORATION ® 400534700
Page 3 - NOTICE; : The contents of this manual are subject to change without notice.; ESC/POSTM Information Manual
The programming examples in this manual are provided for the sole purpose of illustrating the functions of the products. Seiko Epson Corporation makes no warranty, either expressed or implied, as to their reliability and appropriateness for other uses. All rights reserved. No part of this publicatio...
Page 4 - Introduction; About This Manual; Chapter 1; receipt and journal printing.; Chapter 3; which commands are supported by various EPSON printers.
Rev. A i Introduction ESC/POS The market for store automation equipment is changing rapidly with the widespread introduction of POS (point of sale) terminals. These terminals are now appearing even in small retail stores and specialty shops. They occupy a secure position in the range of applications...
Page 5 - ii; Features
ii Rev. A Features The TM-U950 and U950P are high-quality POS printers that can print on slip, journal, and receipt paper. The printers have the following features: ❏ Wide slip paper capability (maximum characters per line: 88 with 7 × 9 font). ❏ Interface connector within the printer’s external dim...
Page 7 - iv; Contents; Command Descriptions; Chapter 2; Application; Command Reference
iv Rev. A Contents Chapter 1 Command Descriptions Using Bit Value Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3Print Commands . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 8 - Command Descriptions 1-1; Supported Commands
Rev. A Command Descriptions 1-1 TM–U950/U950P Information Manual Chapter 1 Command Descriptions Following this table are all the commands organized by function and described with program examples and print samples. Supported Commands Command Name Function type Page number LF Print and line feed Prin...
Page 10 - Command Descriptions 1-3; Using Bit Value Tables; ASCII
Rev. A Command Descriptions 1-3 TM–U950/U950P Information Manual Using Bit Value Tables For each command that has a complex method of determining the variable n, there is a table showing how to calculate the variable in three numbering systems: binary, hexadecimal, and decimal. When you look at the ...
Page 11 - Print Commands; Program Example
1-4 Command Descriptions Rev. A Print Commands The TM-U950/U950P supports the following commands for printing characters and advancing paper: Command Name LF Print and line feed CR Print and carriage return FF Print and eject slip paper ESC J Print and feed paper ESC K Print and reverse feed ESC d P...
Page 12 - Command Descriptions 1-5; FF; n prints the data in the print buffer and feeds the paper [n
Rev. A Command Descriptions 1-5 TM–U950/U950P Information Manual When auto line feed is enabled, CR functions in the same way as LF. When auto line feed is disabled, CR prints the data in the print buffer and does not feed the paper. The DIP switch setting enables or disables auto line feed. FF [Nam...
Page 13 - ESC d
1-6 Command Descriptions Rev. A The vertical motion unit uses the vertical value set by the GS P command. The default value in the vertical direction is 1/144 inch. ESC K n [Name] Print and reverse feed [Format] ASCII ESC K n Hex 1B 4B n Decimal 27 75 n [Range] 0 ≤ n ≤ 255 ESC K n prints the data in...
Page 14 - Command Descriptions 1-7; Line Spacing Commands
Rev. A Command Descriptions 1-7 TM–U950/U950P Information Manual ESC d n prints the data in the print buffer and feeds n lines. The amount of paper fed per line is based on the value set using the line spacing command. The maximum paper feed amount is 40 inches. The default setting of the paper feed...
Page 15 - ESC C
1-8 Command Descriptions Rev. A ESC 2 [Name] Select 1/6-inch line spacing [Format] ASCII ESC 2 Hex 1B 32 Decimal 27 50 ESC 3 n [Name] Set line spacing [Format] ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n [Range] 0 ≤ n ≤ 255 ESC 2 sets the line spacing to 1/6 inch. This is equivalent to 12 dots. ESC 3 ...
Page 16 - Command Descriptions 1-9; Character Commands
Rev. A Command Descriptions 1-9 TM–U950/U950P Information Manual ESC C n sets the eject length for slip paper to n lines. The maximum eject length is 40 inches. The default setting of the eject length is n = 0. This length is calculated by [n × line spacing setting]. No eject length is set if n=0. W...
Page 17 - ESC SP; n sets the right-side character spacing in [n; Hex; dy
1-10 Command Descriptions Rev. A ESC SP n sets the right-side character spacing in [n × (horizontal motion unit)] inches. It is used to change the spacing between characters. The default right-side character spacing is set to 0 (n=0). The horizontal motion unit uses the horizontal value set by the G...
Page 18 - A B C D E
Rev. A Command Descriptions 1-11 TM–U950/U950P Information Manual ESC % n selects or cancels the user-defined character set. When the LSB (least significant bit) of n is 1, the user-defined character set is selected. When it is 0, the internal character set is selected; this is the default setting. ...
Page 19 - Select an international character set; ESC R; Country
1-12 Command Descriptions Rev. A ESC R n [Name] Select an international character set [Format] ASCII ESC R n Hex 1B 52 n Decimal 27 82 n [Range] 0 ≤ n ≤ 10 ESC R n selects an international character set n as follows. The default value is U.S.A. (n=0). n Country 0 U.S.A. 1 France 2 Germany 3 U.K. 4 D...
Page 20 - Command Descriptions 1-13; Select character code table; ESC t; Character code table
Rev. A Command Descriptions 1-13 TM–U950/U950P Information Manual ESC t n [Name] Select character code table [Format] ASCII ESC t n Hex 1B 74 n Decimal 27 116 n [Range] 0 ≤ n ≤ 5 254 ≤ n ≤ 255 ESC t n selects a page n from the character code table as follows. The alphanumeric characters (20H (decima...
Page 22 - Command Descriptions 1-15; ESC –
Rev. A Command Descriptions 1-15 TM–U950/U950P Information Manual ESC – n [Name] Turn underline mode on/off [Format] ASCII ESC — n Hex 1B 2D n Decimal 27 45 n [Range] n = 0, 1, 48, 49 ESC – n turns underline mode on or off. When n=1 or 49, underline mode is turned on, and when n=0 or 48, underline m...
Page 23 - ESC G
1-16 Command Descriptions Rev. A ESC G n turns double-strike mode on or off. When the LSB (least significant bit) of n is 1, double- strike mode is turned on; when it is 0, double-strike mode is turned off. The default setting is n=0. Double-strike and emphasized printing appear the same. ESC { n [N...
Page 24 - Command Descriptions 1-17; ESC z; Panel Button Command; RECEIPT FEED; Command
Rev. A Command Descriptions 1-17 TM–U950/U950P Information Manual ESC z n turns parallel printing mode on or off for receipt and journal paper. When the LSB (least significant bit) of n is 1, parallel printing mode for receipt and journal paper is turned on; when it is 0, this mode is turned off. Th...
Page 25 - Paper Sensor Commands; JOURNAL OUT
1-18 Command Descriptions Rev. A ESC c 5 n enables or disables the RECEIPT FEED and JOURNAL/SLIP FEED buttons. When the LSB (least significant bit) of n is 1, these buttons are disabled; when it is 0, these buttons are enabled. To prevent problems caused by accidentally pressing the PAPER FEED butto...
Page 26 - Command Descriptions 1-19; ESC c 3; Bit
Rev. A Command Descriptions 1-19 TM–U950/U950P Information Manual The paper sensor(s) used to stop printing are selected by using n as follows: ESC c 3 n [Name] Select paper sensor(s) to output paper-end signals [Format] ASCII ESC c 3 n Hex 1B 63 33 n Decimal 27 99 51 n [Range] 1 ≤ n ≤ 25 5 ESC c 3 ...
Page 27 - Printing Paper Commands
1-20 Command Descriptions Rev. A The paper sensor(s) used to output paper-end signals are selected by using n as follows: Printing Paper Commands The TM-U950/U950P supports the following commands for controlling printing paper. Command Name ESC c 0 Select paper type(s) for printing ESC c 1 Select pa...
Page 28 - Command Descriptions 1-21; ESC c 0
Rev. A Command Descriptions 1-21 TM–U950/U950P Information Manual ESC c 0 n selects paper type(s) for printing. Receipt, journal, and slip paper are available. Receipt and journal paper can be selected simultaneously. Slip and another paper type cannot be selected simultaneously. This command is ena...
Page 29 - ESC c 1
1-22 Command Descriptions Rev. A ESC c 1 n selects paper type(s) for use with line spacing command settings. Multiple paper types can be selected. The default is all paper types selected (n=7). ESC 2 and ESC 3 are used to set line spacing. The value of n is used as follows: ESC f t1 t2 [Name] Set sl...
Page 30 - Command Descriptions 1-23; Print Position Commands; CCCCCCCCCCCCCCCCCCCC
Rev. A Command Descriptions 1-23 TM–U950/U950P Information Manual Print Position Commands The TM-U950/U950P supports the following commands for setting the print position. Command Name RS Journal tab ESC $ Set absolute print position ESC \ Set relative print position ESC a Select justification RS [N...
Page 31 - ESC a
1-24 Command Descriptions Rev. A ESC \ n L n H [Name] Set relative print position [Format} ASCII ESC \ n L n H Hex 1B 5C n L n H Decimal 27 92 n L n H [Range] 0 ≤ n L ≤ 255 0 ≤ n H ≤ 255 ESC $ n L n H sets the print starting position to [( n L + n H × 256) × (horizontal motion unit)] inches from the...
Page 32 - Command Descriptions 1-25; m n
Rev. A Command Descriptions 1-25 TM–U950/U950P Information Manual ESC a n aligns all the data in one line to a specified position. Left justification is selected when n=0 or 48, centering is selected when n=1 or 49, and right justification is selected when n=2 or 50. The default setting is left just...
Page 33 - GS; ) defines a user-defined bit image using x
1-26 Command Descriptions Rev. A GS ✻ x y d1...d(x × y × 8) [Name] Define user-defined bit image [Format] ASCII GS ✻ x y d1...d(x × y × 8) Hex 1D 2A x y d1...d(x × y × 8) Decimal 29 42 x y d1...d(x × y × 8) [Range] 1 ≤ x ≤ 255 1 ≤ y ≤ 255 x × y ≤ 155 (when receive buffer is 2K bytes) x × y ≤ 404 (wh...
Page 35 - Status Commands
1-28 Command Descriptions Rev. A Status Commands The TM-U950/U950P supports the following status transmission commands. These commands can be used to determine the status of the printer, paper sensors, and peripheral devices connected to the printer. Command Name GS a Enable/disable automatic status...
Page 36 - Command Descriptions 1-29
Rev. A Command Descriptions 1-29 TM–U950/U950P Information Manual First byte (printer information) Second byte (error information) 5 Off 00 0 Slip paper sensor and status disabled. On 20 32 Slip paper sensor and status enabled. 6,7 — — — Undefined. Program Example PRINT #1, CHR$(&H1D);"a"...
Page 38 - Command Descriptions 1-31; GS r; Transmit status
Rev. A Command Descriptions 1-31 TM–U950/U950P Information Manual GS r n [Name] Transmit status [Format] ASCII GS r n Hex 1D 72 n Decimal 29 114 n [Range] 1 ≤ n ≤ 3 49 ≤ n ≤ 51 GS r n transmits the status specified by n as follows: paper sensor status as 1 byte of data when n=1 or 49, drawer kick-ou...
Page 39 - DLE EOT; Value; Function
1-32 Command Descriptions Rev. A Slip paper status (n=3, 51) . DLE EOT n [Name] Transmit real-time status [Format] ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n [Range] 1 ≤ n ≤ 5 DLE EOT n transmits the specified status in real time. This command is executed if the printer is off- line, the print buffe...
Page 40 - Command Descriptions 1-33
Rev. A Command Descriptions 1-33 TM–U950/U950P Information Manual Printer status (n=1) Off-line status (n=2) Error status (n=3) Bit Off/On Hex Decimal Function 0 Off 00 0 Not used. Fixed to Off. 1 On 02 2 Not used. Fixed to On. 2 Off 00 0 Drawer kick-out connector pin 3 is LOW. On 04 0 Drawer kick-o...
Page 42 - Command Descriptions 1-35; ESC u
Rev. A Command Descriptions 1-35 TM–U950/U950P Information Manual ESC u n [Name] Transmit peripheral device status [Format] ASCII ESC u n Hex 1B 75 n Decimal 27 117 n [Range] n = 0, 48 ESC u n transmits the status of drawer kick-out connector pin 3 as 1 byte of data when n=0 or 48. This command allo...
Page 43 - ESC v
1-36 Command Descriptions Rev. A ESC v transmits the status of a paper sensor as 1 byte of data. This command allows the host to obtain the near-end or paper-out status for each line. GS r 1 can also be used to check the status. GS r is recommended for transmitting the paper sensor status. The statu...
Page 44 - Command Descriptions 1-37; DLE EOT BS
Rev. A Command Descriptions 1-37 TM–U950/U950P Information Manual DLE EOT BS n [Name] Transmit real-time MICR status [Format] ASCII DLE EOT BS n Hex 10 04 08 n Decimal 16 4 8 n [Range] n = 1 DLE EOT BS n transmits the selected MICR status specified by n in real time as follows: The status informatio...
Page 45 - Mechanism Control Commands
1-38 Command Descriptions Rev. A . Mechanism Control Commands The TM-U950/U950P supports the following mechanism control commands. Command Name ESC < Return home ESC U Turn unidirectional printing mode on/off ESC i Partial cut (one point left uncut) ESC m Partial cut (three points left uncut) ESC...
Page 46 - Command Descriptions 1-39
Rev. A Command Descriptions 1-39 TM–U950/U950P Information Manual ESC U n [Name] Turn unidirectional printing mode on/off [Format] ASCII ESC U n Hex 1B 55 n Decimal 27 85 n [Range] 0 ≤ n ≤ 255 ESC U n turns unidirectional printing mode on or off. When the LSB (least significant bit) of n is 1, unidi...
Page 47 - ESC o; MICR Commands; MICR mechanism cleaning; FS b; Request retransmission of check paper reading result; YOUR RECEIPT
1-40 Command Descriptions Rev. A When using the above commands, there is a gap between the auto-cutter, print, and stamp positions. The paper roll is selected for the print sheet. These commands are effective only when input at the beginning of a line. ESC o executes stamp printing on the receipt. T...
Page 48 - Command Descriptions 1-41; FS c
Rev. A Command Descriptions 1-41 TM–U950/U950P Information Manual FS c [Name] MICR mechanism cleaning [Format] ASCII FS c Hex 1C 63 Decimal 28 99 FS c cleans the MICR mechanism. When this command is executed, the printer enters cleaning sheet wait status. Insert the cleaning sheet into the check pap...
Page 50 - Command Descriptions 1-43
Rev. A Command Descriptions 1-43 TM–U950/U950P Information Manual FS a 1 [Name] Load check paper to print starting position [Format] ASCII FS a 1 Hex 1C 61 31 Decimal 28 97 49 FS a 1 loads check paper to the print starting position. After loading the check paper, the printer cancels the MICR functio...
Page 51 - Miscellaneous Function Commands; x y
1-44 Command Descriptions Rev. A Miscellaneous Function Commands The TM-U950/U950P supports the following miscellaneous function commands. Command Name GS P Set horizontal and vertical motion units ESC @ Initialize printer GS E Select print speed and head energizing time GS I Transmit printer ID ESC...
Page 52 - Command Descriptions 1-45; GS E; BBBBB
Rev. A Command Descriptions 1-45 TM–U950/U950P Information Manual ESC @ [Name] Initialize printer [Format] ASCII ESC @ Hex 1B 40 Decimal 27 64 ESC @ initializes the printer. All settings, including character font and line spacing settings, are canceled. GS E n [Name] Select print speed and head ener...
Page 53 - GS I
1-46 Command Descriptions Rev. A High printing speed cannot be set when the head energizing time is Copy. n is used as follows: GS I n [Name] Transmit printer ID [Format] ASCII GS I n Hex 1D 49 n Decimal 29 73 n [Range] 1 ≤ n ≤ 3 49 ≤ n ≤ 51 GS I n transmits the printer ID specified by n below. Each...
Page 54 - Command Descriptions 1-47; ESC p
Rev. A Command Descriptions 1-47 TM–U950/U950P Information Manual ESC p m t1 t2 [Name] Generate pulse [Format] ASCII ESC p m t1 t2 Hex 1B 70 m t1 t2 Decimal 27 112 m t1 t2 [Range] m = 0, 1, 48, 49 0 ≤ t1 ≤ 255 0 ≤ t2 ≤ 255 ESC p m t1 t2 sends a pulse (on time= t1 × 10 ms / off time= t2 × 10 ms) to t...
Page 55 - DLE ENQ
1-48 Command Descriptions Rev. A ESC = n selects the device to which the host computer sends data, based on the value of n as follows: When the printer is disabled, it ignores all received data, with the exception of the DLE ENQ 1 and DLE ENQ 2 commands. The default setting depends on DIP switch 1-6...
Page 56 - Command Descriptions 1-49; Request
Rev. A Command Descriptions 1-49 TM–U950/U950P Information Manual DLE ENQ n responds to a request from the host computer specified by n as shown below. This command is also executed when the printer is off-line, the receive buffer is full, or an error occurs. n can be set to 1 or 2 only when a recov...
Page 57 - Character Code Tables; SP; in a table represents space.
1-50 Command Descriptions Rev. A Character Code Tables SP in a table represents space. Page 0 (PC437: U.S.A., Standard Europe) (International character set: U.S.A) Page 1 (Katakana)
Page 61 - Combining Receipt and Journal Printing
Rev. A Application 2-1 TM–U950/U950P Information Manual Chapter 2 Application This chapter presents an example illustrating ESC/POS command functions and printing results. The example shows how to print the same data on both receipt and journal paper. Combining Receipt and Journal Printing Print Sam...
Page 63 - Command Classification
Rev. A Command Reference 3-1 TM–U950/U950P Information Manual Chapter 3 Command Reference Command Classification ESC/POS printer commands in this chapter are classified by function and by sheet and grade. The sheet and grade classification is called matrix classification. The sheet classification is...
Page 64 - Function Type
3-2 Command Reference Rev. A Function Type Function Type Command Name Matrix Category Supported Command Print commands LF Print and line feed Basic single O FF 1. Print and eject slip paper (in standard mode) Mechanical extension O 2. Print and return to standard mode (in page mode) Mechanical exten...
Page 68 - Reference Table
3-6 Reference Table Command Name Function Supported Command TM- 267II TM-T Series TM-L Series TM-200 TM-300/300M TM- 270 TM-U375 TM-U375M TM- U925 TM-U950 TM-U950M TM- 215S TM- 290II T60 T80 T80M T85 L60 L60II B D A B C D HT Horizontal tab Moves the printing position to the next horizontal tab posit...