Summary of Contents for Epson U375P - TM B/W Dot-matrix Printer
Page 1
TM-U375/TM-U375 P Using this online information guid e The words on the left side of this screen are bookmark s for all the topics in this guide . Use the scroll ba r next to the bookmarks to find any topic you want.
Page 3
Neither is any liability assumed for damages resulting from the use of the information contained herein. Neither Seiko Epson Corporation nor its affiliates shall be liable to the purchaser of this product or third parties for damages, losses, costs, or expenses incurred by purchaser or third parties as a result of: accident, misuse, or abuse of this product or unauthorized modifications, repairs, or alterations to this product, or (excluding the U.S.) failure to strictly comply with Seiko Epson Corporation’s...
There is a need for a new command set designed to provide the expandability and universal applicability demanded by the market. To meet this need, Seiko Epson Corporation proposes the adoption of a newly developed command set to standardize POS terminal peripheral devices: ESC/POS (Epson Standard Code for Point of Sale).
EPSON intelligent module connection (TM-U375 only). EPSON customer display series connection (TM-U375 only). Options and Accessories EPSON power supply unit, PS-150 (not required when the TM-U375 (only) is connected to an intelligent module). Direct connection display modules, DM-D102 and DM-D203 (for use with TM-U375 only).
TM–U375/U375P Information Manual Chapter 1 Command Descriptions Following this table are all the commands organized by function and described with program examples and print samples. The print samples are images of the printing results of the program examples; they do not represent actual printing. Supported Commands Page Command...
Page 9
Page Command Name Function Type Number ESC T Select print direction in page mode Print position 1-29 ESC U Turn unidirectional printing mode on/off Mechanism control 1-41 ESC V Turn 90 ° clockwise rotation mode on/off Character 1-17 ESC W Set printing area in page mode Print position 1-28...
TM–U375/U375P 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 table, first find the value of each component of the variable. Then add the values of the components together to determine the value of the variable n.
Print Commands The TM-U375/U375P supports the following commands for printing characters and advancing paper: Command Name Print and line feed Print and carriage return Print and eject cut sheet (in standard mode) Print and return to standard mode (in page mode) ESC J Print and feed paper ESC d...
Page 12
TM–U375/U375P Information Manual [Name] Print and eject cut sheet (in standard mode) Print and return to standard mode (in page mode) [Format] ASCII Decimal In standard mode, FF prints the data in the print buffer and ejects the cut sheet (slip or validation paper).
ESC J n [Name] Print and feed paper [Format] ASCII Decimal [Range] ESC J n prints the data in the print buffer and feeds the paper [n (vertical or horizontal motion unit)] inches. This command is used to temporarily feed a specific length without changing the line spacing set by other commands.
TM–U375/U375P Information Manual Line Spacing Commands The TM-U375/U375P supports the following commands for setting line spacing. These commands only set the line spacing; they do not actually advance the paper. The line spacing can be set independently in standard mode and in page mode. The line spacing set using these commands effects the results of the LF and ESC d commands.
ESC C n [Name] Set cut sheet eject length [Format] ASCII Decimal [Range] ESC C n sets the eject length for cut sheet (slip or validation paper) to n lines. The maximum eject length is 40 inches. The default setting for the eject length is n=0. This length is calculated by [n line spacing setting].
Page 16
TM–U375/U375P Information Manual ESC SP n [Name] Set right-side character spacing [Format] ASCII Decimal [Range] ESC SP n sets the right-side character spacing to [n (horizontal or vertical motion unit)] inches. It is used to change the spacing between characters. The default setting is n=0. When standard mode is selected, the horizontal motion unit set by GS P is used.
TM–U375/U375P Information Manual ESC ? n cancels the user-defined characters defined for the character code n. After the user-defined characters are canceled, the internal character set is printed. Program Example Program Example (continued) DATA &H30,&H00,&H78,&H00,&HFC,&H00,&H78,&H00 PRINT #1, CHR$(&H1B);"&";CHR$(y);"AC"; DATA &H30,&H00,&H00,&H00,&H00,&H00 x=7: PRINT #1, CHR$(x);...
ESC R n selects an international character set n as follows. The default value is U.S.A. (n=0). Country U.S.A. France Germany U.K. Denmark I Sweden Italy Spain Japan Norway Denmark lI Program Example Print Sample FOR n=0 TO 10 $ @ [ \ ] ^ ` { ¦ } n =0 (Default setting) PRINT #1, CHR$(&H1B);"R";CHR$(n);...
Page 20
TM–U375/U375P Information Manual ESC t n selects a page n from the character code table as follows. The alphanumeric characters (20H (decimal 32) to 7FH (decimal 127)) are the same for each page. The graphic characters (80H (decimal 128) to FFH (decimal 255)) are different for each page. The default setting is page 0. Character Code Table Page 0 [PC437 (U.S.A.
Page 21
ESC ! n selects print modes using n as follows. The default setting is n=1. This command cannot be used with the 7 9 font or for emphasized printing in page mode. If the 7 9 font or emphasized printing is selected or canceled in page mode, an internal flag is activated and this command is enabled when the printer returns to standard mode.
Page 22
TM–U375/U375P Information Manual 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 mode is turned off. When underline mode is on, 90° clockwise rotated characters cannot be underlined.
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. This command is enabled only in standard mode.
TM–U375/U375P Information Manual ESC V n [Name] Turn 90 clockwise rotation mode on/off [Format] ASCII Decimal [Range] 48 n ESC V n turns 90 clockwise rotation mode on or off. When n=1 or 49, 90 clockwise rotation mode (1-dot character spacing) is turned on; when n=2 or 50, 90 clockwise rotation mode (1.5-dot character spacing) is turned on;...
CAN deletes all the print data for the current print job in page mode. This command is enabled only in page mode. Program Example Print Sample PRINT #1, CHR$(&H1B);"L"; AAAAAAAAAAAAAAAAAAAA Select page mode PRINT #1, CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0); AAAAAAAAAAAAAAAAAAAA CHR$(0);CHR$(120);CHR$(0);CHR$(100);CHR$(0); AAAAAAAAAAAAAAAAAAAA PRINT #1, CHR$(&H1B);"T";CHR$(0); AAAAA AAAAAAAAAA FOR i=1 TO 200...
TM–U375/U375P Information Manual Paper Sensor Commands The TM-U375/U375P supports the following commands for controlling the paper sensor(s) that stop printing and output paper-end signals: Command Name Select paper sensor(s) to stop printing ESC c 4 ESC c 3 Select paper sensor(s) to output paper-end signals ESC c 4 n [Name] Select paper sensor(s) to stop printing...
Off/On Decimal Function Undefined. Validation ejection sensor disabled. Validation ejection sensor enabled. Program Example PRINT #1, CHR$(&H1B);"c4";CHR$(1); Paper roll near-end sensor enabled ESC c 3 n [Name] Select paper sensor(s) to output paper-end signals [Format] ASCII Decimal [Range] ESC c 3 n selects paper sensor(s) to output paper-end signals to a parallel interface. The default value is to enable the paper roll near-end sensor (n=3).
TM–U375/U375P Information Manual Off/On Decimal Function Cut-sheet (slip or validation) sensor disabled. Cut-sheet (slip or validation) sensor enabled. Cut-sheet (slip or validation) sensor disabled. Cut-sheet (slip or validation) sensor enabled. Program Example PRINT #1, CHR$(&H1B);"c3";CHR$(17); Both sensors enabled Printing Paper Commands The TM-U375/U375P supports the following commands for controlling printing paper: Command Name...
Page 29
The paper type(s) are selected for printing by using n as follows: Off/On Decimal Function Paper roll disabled. Paper roll enabled. Paper roll disabled. Paper roll enabled. Slip paper disabled. Slip paper enabled. Validation paper disabled. Validation paper enabled. 4 - 7 —...
Page 30
TM–U375/U375P Information Manual Off/On Decimal Function Validation paper disabled. Validation paper enabled. — — — Undefined. Program Example PRINT #1, CHR$(&H1B);"c1";CHR$(1); Select paper roll PRINT #1, CHR$(&H1B);"3";CHR$(12); Set line spacing for paper roll PRINT #1, CHR$(&H1B);"c1";CHR$(4); Select slip paper PRINT #1, CHR$(&H1B);"3";CHR$(24); Set line spacing for slip paper ESC f t1 t2 [Name]...
Print Position Commands The TM-U375/U375P supports the following commands for setting the print position: Command Name ESC $ Set absolute print position ESC \ Set relative print position ESC a Select justification Set left margin GS L GS W Set printing area width Horizontal tab ESC D Set horizontal tab positions...
Page 32
TM–U375/U375P Information Manual ESC $ sets the print starting position to [( 256) (horizontal or vertical motion unit)] inches from the left margin. ESC \ moves the print starting position to [( 256) (horizontal or vertical motion unit)] inches from the current position. Use the complement of N for setting N pitch movement to the left: –...
Page 33
GS L [Name] Set left margin [Format] ASCII Decimal [Range] GS W [Name] Set printing area width [Format] ASCII Decimal [Range] sets the left margin to [( 256) (horizontal motion unit)] inches from the GS L beginning of a line. The default setting is =0.
Page 34
TM–U375/U375P Information Manual [Name] Horizontal tab [Format] ASCII Decimal ESC D n1 ... nk NUL [Name] Set horizontal tab positions [Format] ASCII n1 ... nk n1 ... nk Decimal n1 ... nk [Range] HT moves the print start position to the next horizontal tab. This command is ignored unless the next horizontal tab position has been set.
Page 35
ESC W [Name] Set printing area in page mode [Format] ASCII Decimal [Range] (except for = 0 or = 0) ESC W sets the size and position of the printing area in page mode as follows: Horizontal starting position = [( 256) (horizontal motion unit)] inches Vertical starting position = [( 256)
Page 36
TM–U375/U375P Information Manual ESC T n [Name] Select print direction in page mode [Format] ASCII Decimal [Range] 48 n ESC T n selects the print direction and starting position in page mode specified by n as shown below. The default setting is n=0. This command is enabled only in page mode. If this command is entered in standard mode, an internal flag is activated and the command is enabled when the printer selects page mode.
TM–U375/U375P Information Manual x y d1 ... d(x y 8) [Name] Define downloaded bit image [Format] ASCII d1 ... d(x y 8) d1 ... d(x y 8) Decimal d1 ... d(x y 8) [Range] GS / m [Name] Print downloaded bit image [Format] ASCII Decimal...
Program Example Program Example (continued) x=16: y=5 DATA FF,FF,FF,F3,CF,FF,FF,FF,F3,CF,FF,FF,FF,F3,CF,FF Define PRINT #1, CHR$(&H1D);"*";CHR$(x);CHR$(y); DATA FF,FF,F3,CF,FF,FF,FF,F3,CF,FF,FF,FF,F3,CF,C0,0F downloaded FOR i=1 TO x*y*8 DATA C0,03,CF,C0,0F,C0,03,CF,C0,0F,C0,03,CF,C0,0F,C0 bit image READ a$: d=VAL("&H"+a$) DATA 03,CF,C0,0F,C0,03,CF,E0,1F,C0,03,CF,FF,FF,C0,03 PRINT #1, CHR$(d); DATA CF,FF,FF,CO,03,C7,FF,FF,80,03,C7,FF,FF,80,03,C1 NEXT i DATA FF,FE,00,03,C0,3F,F0,00,03,C0,00,00,00,03,C0,0F DATA FF,F0,03,C0,FF,FF,FF,03,C3,FF,FF,FF,C3,C7,FF,FF FOR m=0 TO 1 DATA FF,E3,C7,FF,FF,FF,E3,CF,FF,FF,FF,F3,CF,F0,00,0F PRINT #1, CHR$(&H1D);"/";CHR$(m)
TM–U375/U375P Information Manual GS a n [Name] Enable/disable Automatic Status Back (ASB) [Format] ASCII Decimal [Range] GS a n selects a status for ASB transmission. ASB is enabled if any status item is selected. The printer automatically transmits a 4-byte status message whenever the status changes. Multiple status items can be selected.
Page 41
Off/On Hex Decimal Status for ASB On-line. Off-line. Not used. Fixed to On. Cover closed. Cover open. Paper is not being fed by the paper feed button. Paper is being fed by the paper feed button. Not used. Fixed to Off. Second byte (printer information) Off/On Hex Decimal Status for ASB...
TM–U375/U375P Information Manual Fourth byte (paper sensor information) Off/On Decimal Status for ASB Slip paper selected. Slip paper not selected. Slip paper status: possible to print. Slip paper status: not possible to print. Validation paper selected. Validation paper not selected. Validation paper status: possible to print.
Page 43
Drawer kick-out connector status (n=2, 50) Off/On Decimal Status Drawer kick-out connector pin 3 is LOW. Drawer kick-out connector pin 3 is HIGH. — — — Undefined. Not used. Fixed to Off. 5, 6 — — — Undefined. Not used. Fixed to Off. Cut-sheet (slip or validation paper) status (n=3, 51) Transmits the values 00H - 0FH, indicating the remaining printable area as follows: Cut- Sheet Status...
Page 44
TM–U375/U375P Information Manual Function Transmit slip paper status Transmit validation paper status Program Example PRINT #1, CHR$(&H10);CHR$(&H4);CHR$(2); Transmits off-line status Printer status (n=1) Off/On 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 45
Error status (n=3) Off/On Hex Decimal Status Not used. Fixed to Off. Not used. Fixed to On. No mechanical error. Mechanical error occurred. — — — Undefined. Not used. Fixed to On. No unrecoverable error. Unrecoverable error occurred. No automatically recoverable error. Automatically recoverable error occurred.
TM–U375/U375P Information Manual Validation paper status (n=6) Off/On Hex Decimal Status Not used. Fixed to Off. Not used. Fixed to On. Validation paper selected. Validation paper not selected. Does not wait for validation paper insertion. Waits for validation paper insertion. Not used.
ESC v [Name] Transmit paper sensor status [Format] ASCII Decimal ESC v transmits the status of a paper sensor as 1 byte of data. GS r is preferred for checking the status because ESC v is not a recommended command. The status to be transmitted is shown in the table below.
Page 48
TM–U375/U375P Information Manual ESC < moves the print head to the home position. The print head first moves to the left-most position, then to the right-most position, and then to approximately the center of the line. To prevent paper jams, do not use this command while slip paper is inserted. Program Example PRINT #1, CHR$(&H1B);"<";...
Miscellaneous Function Commands The TM-U375/U375P supports the following miscellaneous function commands: Command Name GS P Set horizontal and vertical motion units ESC @ Initialize printer GS E Select head control method Transmit printer ID GS I ESC p Generate pulse ESC = Select peripheral device ESC L...
Page 50
TM–U375/U375P Information Manual Commands used with the horizontal and vertical motion units (1/x and 1/y) in page mode (either x or y can be used, depending on the print direction set with ESC T): ESC SP, ESC $, ESC 3, ESC J, ESC W, and ESC \.
Page 51
GS E n selects the head energizing time corresponding to the paper type selected by ESC c 0. The default settings are Standard (n=1) when the paper roll is selected and Copy (n=0) when a cut sheet (slip or validation paper) is selected. Independent settings can be used for each paper type. In standard mode, this command is enabled only when input at the beginning of a line.
Page 52
TM–U375/U375P Information Manual Program Example PRINT #1, CHR$(&H1D);"I";CHR$(1); Transmits printer ID ESC p m t1 t2 [Name] Generate pulse [Format] ASCII Decimal [Range] m = 0, 1, 48, 49 t1 255 t2 255 ESC p m t1 t2 sends a pulse (on time= t1 2 msec / off time= t2 2 msec) to the specified connector pin.
Program Example Display Sample AAAAA_ PRINT #1, CHR$(&H1B);"=";CHR$(2); Customer display selected PRINT #1, "AAAAA"; Selects only the printer PRINT #1, CHR$(&H1B);"=";CHR$(1); Printer selected AAAAA_ PRINT #1, " BBBBB"; PRINT #1, CHR$(&H1B);"=";CHR$(3); Both printer and Selects both the printer and customer display PRINT #1, "...
Page 54
TM–U375/U375P Information Manual DLE ENQ n responds to a request in real time from the host computer, specified by n as shown below. This command is executed even when the printer is off-line, the receive buffer is full, or an error occurs.
Character Code Tables SP in a table represents space. Refer to page 1-51 for information on how to read these tables. Page 0 (PC437: U.S.A., Standard Europe) (International character set: U.S.A) Page 1 (Katakana) 1-48 Command Descriptions Rev. A...
Page 56
TM–U375/U375P Information Manual Page 2 (PC850: Multilingual) Page 3 (PC860: Portuguese) Rev. A Command Descriptions 1-49...
Page 58
TM–U375/U375P Information Manual International character set ASCII code Country U.S.A. ¦ France à ° ç § é ù è ¨ Germany § Ä Ö Ü ä ö ü ß U.K. £ ¦ Denmark I Æ Ø Å æ ø å Sweden ¤...
TM–U375/U375P Information Manual Chapter 2 Application This chapter presents an example illustrating ESC/POS command functions and printing results. The example shows procedures and a program for combining system processes with the TM-U375, DM-D202II, and a drawer. System Processing and Procedures Procedure Commands Used Description...
Page 60
Display Sample Define data Scroll the message and display W E L C O M E the counter 1 0 : 30 : 0 0 Display Item A T M — U 3 7 5 9 6. 0 P S — 1 5 0 Display Item A 1 5 .
TM–U375/U375P 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 divided into single sheet commands and multiple sheet commands. The grade classification is separated into basic commands and extension commands.
Page 64
Function Classification Supported Function Type Command Name Matrix Category Command Print commands Print and line feed Basic single 1. Print and eject cut sheet (in Mechanical extension standard mode) 2. Print and return to standard Mechanical extension mode (in page mode) 3.
Page 65
TM–U375/U375P Information Manual Supported Function Type Command Name Matrix Category Command Character commands ESC z Turn parallel printing mode on/ Mechanical extension (continued) off for receipt and journal ESC { Turn upside-down printing mode Basic single on/off GS ! Select character size Software extension GS B Turn white/black reverse printing...
Supported Function Type Command Name Matrix Category Command Status commands DLE EOT Real-time status transmission Hardware extension DLE EOT BS Real-time MICR status Hardware extension transmission ESC u Transmit peripheral device status Hardware extension ESC v Transmit paper sensor status Hardware extension GS ENQ Transmit real-time printer status...
Page 67
TM–U375/U375P Information Manual Supported Function Type Command Name Matrix Category Command MICR commands FS a 0 Read check paper Mechanical extension FS a 1 Load check paper to print Mechanical extension starting position FS a 2 Eject check paper Mechanical extension FS b Request retransmission of check Mechanical extension...
Reference Table Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80 T80M T85 L60II Horizontal tab Moves the printing position to the next horizontal tab position. Print and line Prints the data in the feed print buffer and...
Page 69
Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80M T85 L60II Print and When auto line feed carriage is enabled, this return command functions in the same way as LF.
Page 70
Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80 T80M T85 L60II ESC ! Select print Selects a print mode(s) mode(s). ESC $ Set absolute Sets the print starting print position position from the beginning of the line.
Page 71
Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80M T85 L60II ESC @ Initialize Clears the data in the printer print buffer and resets the printer mode to the mode that was in effect when the power was turned on.
Page 72
Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80 T80M T85 L60II ESC R Select an Selects a country’s international character set. character set ESC S Select Switches from page standard mode to standard mode...
Page 73
Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80M T85 L60II ESC c 3 Select paper Selects paper sensor(s) to sensor(s) to output O O O O output paper- paper-end signals.
Page 74
Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80 T80M T85 L60II ESC o Stamp Executes stamp printing. ESC p Generate Outputs a specified pulse pulse to a specified connector pin.
Page 75
Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80M T85 L60II FS – Turn underline Turns underline mode mode on/off on or off for Kanji O O O O for Kanji characters.
Page 76
Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80 T80M T85 L60II FS a 2 Eject check Ejects the check paper paper. FS b Request Retransmits the retransmission previous check of check paper reading paper...
Page 77
Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80M T85 L60II GS < Initialize Feeds a label to the printer print starting position. mechanism GS A Adjust label Adjusts the label print starting position relative to position...
Page 78
Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80 T80M T85 L60II GS L Set left margin Sets the left margin using specified values. GS P Set horizontal Sets the horizontal and vertical and vertical motion motion units...
Page 79
Supported Command Command Name Function TM-T Series TM-L Series TM-U200 TM-300/300M TM- TM-U375 TM-U950 267II TM-U375M U925 TM-U950M 215S T80M T85 L60II GS c Print counter Stores a serial counter value in the print buffer and increments or decrements the counter value.