User Guide
Page 3
... herein. ESC/POS is assumed with respect to strictly comply with Seiko Epson Corporation's operating and maintenance instructions. Seiko Epson Corporation makes no responsibility for errors or omissions. The programming examples in this manual are subject to TM-U375/U375P 9603-01 SEIKO EPSON CORPORATION SYSTEM DEVICE DIVISION 2070 Kotobuki Koaka, Matsumoto-shi, Nagano-ken 399...
... herein. ESC/POS is assumed with respect to strictly comply with Seiko Epson Corporation's operating and maintenance instructions. Seiko Epson Corporation makes no responsibility for errors or omissions. The programming examples in this manual are subject to TM-U375/U375P 9603-01 SEIKO EPSON CORPORATION SYSTEM DEVICE DIVISION 2070 Kotobuki Koaka, Matsumoto-shi, Nagano-ken 399...
User Guide
Page 4
... new models in the TM/DM series offering ESC/POS support and to continue to work for the standardization of the entire POS environment to a POS terminal. About This Manual t Chapter 1 contains a table of supported commands, descriptions of all the commands arranged by various EPSON printers. t Chapter 2 contains...adoption of a newly developed command set to standardize POS terminal peripheral devices: ESC/POS (Epson Standard Code for Point of Sale). These new codes are now appearing even in use. TM/DM series models already support ESC/POS, and they have been evaluated highly in the range...
... new models in the TM/DM series offering ESC/POS support and to continue to work for the standardization of the entire POS environment to a POS terminal. About This Manual t Chapter 1 contains a table of supported commands, descriptions of all the commands arranged by various EPSON printers. t Chapter 2 contains...adoption of a newly developed command set to standardize POS terminal peripheral devices: ESC/POS (Epson Standard Code for Point of Sale). These new codes are now appearing even in use. TM/DM series models already support ESC/POS, and they have been evaluated highly in the range...
User Guide
Page 8
... spacing Line spacing Return home Mechanism control Select peripheral device Miscellaneous function Cancel user-defined characters Character Initialize printer Miscellaneous function Set cut sheet eject length Line spacing Set horizontal tab positions Print position Turn emphasized mode ...1-46 1-9 1-13 1-24 1-10 1-10 1-30 1-14 1-7 1-7 1-40 1-45 1-10 1-43 1-8 1-27 1-15 1-15 1-6 1-46 1-11 Rev. TM-U375/U375P Information Manual Chapter 1 Command Descriptions Following this table are images of the printing results of the program examples; ESC $ ESC % ESC & ESC T ESC - ESC 2 ESC ...
... spacing Line spacing Return home Mechanism control Select peripheral device Miscellaneous function Cancel user-defined characters Character Initialize printer Miscellaneous function Set cut sheet eject length Line spacing Set horizontal tab positions Print position Turn emphasized mode ...1-46 1-9 1-13 1-24 1-10 1-10 1-30 1-14 1-7 1-7 1-40 1-45 1-10 1-43 1-8 1-27 1-15 1-15 1-6 1-46 1-11 Rev. TM-U375/U375P Information Manual Chapter 1 Command Descriptions Following this table are images of the printing results of the program examples; ESC $ ESC % ESC & ESC T ESC - ESC 2 ESC ...
User Guide
Page 10
... Descriptions 1-3 To combine all have the same printing results. Character font 7 x 9 selected. 1, 2 - -- Off 00 0 Underline mode not selected. 7 On 80 128 Underline mode selected. TM-U375/U375P Information Manual Using Bit Value Tables For each component of the variable n. When you can add the hex values 10, 20, and 80 for the decimal...
... Descriptions 1-3 To combine all have the same printing results. Character font 7 x 9 selected. 1, 2 - -- Off 00 0 Underline mode not selected. 7 On 80 128 Underline mode selected. TM-U375/U375P Information Manual Using Bit Value Tables For each component of the variable n. When you can add the hex values 10, 20, and 80 for the decimal...
User Guide
Page 12
...or validation paper). Print Sample AAAAA BBBBB The paper is not ejected. When the eject length has been set by ESC C, the printer ejects the cut sheet based on the current eject length regardless of the cut -sheet ejection, the paper roll is selected for printing... CHR$(&HA);←Store characters for printing PRINT #1, "CCCCC"; Program Example PRINT #1, CHR$(&H1B);"c0";CHR$(4);← Select slip PRINT #1, "AAAAA"; TM-U375/U375P Information Manual FF [Name] [Format] 1 Print and eject cut sheet (in standard mode) 2 Print and return to standard mode (in page mode) ASCII...
...or validation paper). Print Sample AAAAA BBBBB The paper is not ejected. When the eject length has been set by ESC C, the printer ejects the cut sheet based on the current eject length regardless of the cut -sheet ejection, the paper roll is selected for printing... CHR$(&HA);←Store characters for printing PRINT #1, "CCCCC"; Program Example PRINT #1, CHR$(&H1B);"c0";CHR$(4);← Select slip PRINT #1, "AAAAA"; TM-U375/U375P Information Manual FF [Name] [Format] 1 Print and eject cut sheet (in standard mode) 2 Print and return to standard mode (in page mode) ASCII...
User Guide
Page 14
...spacing to [n × (vertical or horizontal motion unit)] inches. This is 40 inches. The maximum line spacing amount is equivalent to 12 dots. PRINT #1, "AAAAA"; CHR$(&HA); When standard mode is 1/6 inch (n=24). AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA BBBBB CCCCC Print Sample 10/144-inch... advance the paper. The line spacing set the line spacing; PRINT #1, "CCCCC"; The default setting of the LF and ESC d commands. TM-U375/U375P Information Manual Line Spacing Commands The TM-U375/U375P supports the following commands for the print direction set by ESC T.
...spacing to [n × (vertical or horizontal motion unit)] inches. This is 40 inches. The maximum line spacing amount is equivalent to 12 dots. PRINT #1, "AAAAA"; CHR$(&HA); When standard mode is 1/6 inch (n=24). AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA BBBBB CCCCC Print Sample 10/144-inch... advance the paper. The line spacing set the line spacing; PRINT #1, "CCCCC"; The default setting of the LF and ESC d commands. TM-U375/U375P Information Manual Line Spacing Commands The TM-U375/U375P supports the following commands for the print direction set by ESC T.
User Guide
Page 16
... is selected, the vertical or horizontal motion unit set by GS P is used for the print direction set by ESC T. When standard mode is n=0. TM-U375/U375P Information Manual ESC SP n [Name] [Format] [Range] Set right-side character spacing ASCII ESC SP n Hex 1B 20 n Decimal 27 32 n 0 ≤ n ≤ 255 ESC SP...
... is selected, the vertical or horizontal motion unit set by GS P is used for the print direction set by ESC T. When standard mode is n=0. TM-U375/U375P Information Manual ESC SP n [Name] [Format] [Range] Set right-side character spacing ASCII ESC SP n Hex 1B 20 n Decimal 27 32 n 0 ≤ n ≤ 255 ESC SP...
User Guide
Page 18
... character set (cancel one character) ESC R n [Name] [Format] [Range] Select an international character set PRINT #1, CHR$(&H1B);"?";"A"; ← Cancel the user-defined character PRINT #1, "A B C D E"; TM-U375/U375P Information Manual ESC ? NEXT i x=9: PRINT #1, CHR$(x); CHR$(&HA): character set ASCII ESC R n Hex 1B 52 n Decimal 27 82 n 0 ≤ n ≤ 10 Rev. NEXT i x=9: PRINT #1, CHR$(x); Program...
... character set (cancel one character) ESC R n [Name] [Format] [Range] Select an international character set PRINT #1, CHR$(&H1B);"?";"A"; ← Cancel the user-defined character PRINT #1, "A B C D E"; TM-U375/U375P Information Manual ESC ? NEXT i x=9: PRINT #1, CHR$(x); CHR$(&HA): character set ASCII ESC R n Hex 1B 52 n Decimal 27 82 n 0 ≤ n ≤ 10 Rev. NEXT i x=9: PRINT #1, CHR$(x); Program...
User Guide
Page 20
... n [Range] 0 ≤ n ≤ 255 Print Sample Page 0 Page 1 Rev. NEXT i PRINT #1, CHR$(&HA); NEXT i PRINT #1, CHR$(&HA); n [Name] Select print mode(s) [Format] ASCII ESC ! 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 FFH (decimal 255)) are the same for...
... n [Range] 0 ≤ n ≤ 255 Print Sample Page 0 Page 1 Rev. NEXT i PRINT #1, CHR$(&HA); NEXT i PRINT #1, CHR$(&HA); n [Name] Select print mode(s) [Format] ASCII ESC ! 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 FFH (decimal 255)) are the same for...
User Guide
Page 22
... n=0. This command is on or off . If this command is entered in standard mode. CHR$(&HA); The default setting is enabled when the printer returns to standard mode. Program Example PRINT #1, CHR$(&H1B);"-";CHR$(1); ← Select PRINT #1, "AAAAA";CHR$(&HA); When the LSB (least significant... is 0, emphasized mode is turned off ASCII ESC G n Hex 1B 47 n Decimal 27 71 n 0 ≤ n ≤ 255 Rev. TM-U375/U375P Information Manual ESC - When n=1 or 49, underline mode is turned on ; The default setting is turned on , and when n=0 or 48, underline mode is...
... n=0. This command is on or off . If this command is entered in standard mode. CHR$(&HA); The default setting is enabled when the printer returns to standard mode. Program Example PRINT #1, CHR$(&H1B);"-";CHR$(1); ← Select PRINT #1, "AAAAA";CHR$(&HA); When the LSB (least significant... is 0, emphasized mode is turned off ASCII ESC G n Hex 1B 47 n Decimal 27 71 n 0 ≤ n ≤ 255 Rev. TM-U375/U375P Information Manual ESC - When n=1 or 49, underline mode is turned on ; The default setting is turned on , and when n=0 or 48, underline mode is...
User Guide
Page 24
TM-U375/U375P Information Manual ESC V n [Name] Turn 90° clockwise rotation mode on/off [Format] ASCII ESC V n Hex 1B 56 n ... command is enabled only in page mode, an internal flag is activated and the command is enabled when the printer returns to standard mode. PRINT #1, CHR$(&H1B);"3";CHR$(10); "AAA"; "CCC"; and when n=0 or 48...H1B);" ";CHR$(0); "AAA"; PRINT #1, CHR$(&H1B);" ";CHR$(0); When n=1 or 49, 90° clockwise rotation mode (1-dot character spacing) is n=0. The default setting is turned on ; If this mode is entered in standard mode. Program Example...
TM-U375/U375P Information Manual ESC V n [Name] Turn 90° clockwise rotation mode on/off [Format] ASCII ESC V n Hex 1B 56 n ... command is enabled only in page mode, an internal flag is activated and the command is enabled when the printer returns to standard mode. PRINT #1, CHR$(&H1B);"3";CHR$(10); "AAA"; "CCC"; and when n=0 or 48...H1B);" ";CHR$(0); "AAA"; PRINT #1, CHR$(&H1B);" ";CHR$(0); When n=1 or 49, 90° clockwise rotation mode (1-dot character spacing) is n=0. The default setting is turned on ; If this mode is entered in standard mode. Program Example...
User Guide
Page 26
... selected by using n as follows: Bit Off/On Hex Decimal Function Off 00 0 0 On 01 1 Paper roll near -end, the printer goes off-line after printing the current line and feeding the paper. When the slip or validation ejection sensor detects a paper-end, the...stop printing Select paper sensor(s) to output paper-end signals ESC c 4 n [Name] Select paper sensor(s) to stop printing. TM-U375/U375P Information Manual Paper Sensor Commands The TM-U375/U375P supports the following commands for printing. Then if any of the selected sensors detects a paper-end or near -end sensor enabled....
... selected by using n as follows: Bit Off/On Hex Decimal Function Off 00 0 0 On 01 1 Paper roll near -end, the printer goes off-line after printing the current line and feeding the paper. When the slip or validation ejection sensor detects a paper-end, the...stop printing Select paper sensor(s) to output paper-end signals ESC c 4 n [Name] Select paper sensor(s) to stop printing. TM-U375/U375P Information Manual Paper Sensor Commands The TM-U375/U375P supports the following commands for printing. Then if any of the selected sensors detects a paper-end or near -end sensor enabled....
User Guide
Page 28
... selected simultaneously. This command is not valid in standard mode. When previously disabled slip or validation paper is disabled, the printer ejects the paper. The paper roll is selected. Rev. TM-U375/U375P Information Manual Bit Off/On Hex Decimal Function Off 00 0 6 On 40 64 Cut-sheet (slip or validation) sensor disabled. When...
... selected simultaneously. This command is not valid in standard mode. When previously disabled slip or validation paper is disabled, the printer ejects the paper. The paper roll is selected. Rev. TM-U375/U375P Information Manual Bit Off/On Hex Decimal Function Off 00 0 6 On 40 64 Cut-sheet (slip or validation) sensor disabled. When...
User Guide
Page 30
TM-U375/U375P Information Manual Bit Off/On Hex Decimal Function Off 00 0 3 On 08 8 Validation paper disabled. The default for a sheet to be inserted. DLE ENQ is set and the printer continues waiting for the sheet waiting time is not set, and the start operation time is used . ...be inserted. When t1=0, the sheet waiting time is used to t2 × 0.1 seconds. This setting alone, however, does not cause the printer to immediately start of printing to cancel the sheet waiting state. Program Example PRINT #1, CHR$(&H1B);"f";CHR$(15);CHR$(20); A Command Descriptions 1-...
TM-U375/U375P Information Manual Bit Off/On Hex Decimal Function Off 00 0 3 On 08 8 Validation paper disabled. The default for a sheet to be inserted. DLE ENQ is set and the printer continues waiting for the sheet waiting time is not set, and the start operation time is used . ...be inserted. When t1=0, the sheet waiting time is used to t2 × 0.1 seconds. This setting alone, however, does not cause the printer to immediately start of printing to cancel the sheet waiting state. Program Example PRINT #1, CHR$(&H1B);"f";CHR$(15);CHR$(20); A Command Descriptions 1-...
User Guide
Page 32
... n=1 or 49, and right justification is enabled when the printer returns to standard mode. When standard mode is selected, the horizontal motion unit set by GS P is used . PRINT #1, "ABCD"; PRINT #1, "ABC"; PRINT #1, "ABCDE"; N, where N = (nL + nH × 256). PRINT #1, "ABCD"; TM-U375/U375P Information Manual ESC $ nL nH sets the print starting position...
... n=1 or 49, and right justification is enabled when the printer returns to standard mode. When standard mode is selected, the horizontal motion unit set by GS P is used . PRINT #1, "ABCD"; PRINT #1, "ABC"; PRINT #1, "ABCDE"; N, where N = (nL + nH × 256). PRINT #1, "ABCD"; TM-U375/U375P Information Manual ESC $ nL nH sets the print starting position...
User Guide
Page 34
... ht END ht: FOR i=1 TO 4 PRINT #1, CHR$(&H9); NEXT i PRINT #1, CHR$(&HA); nk NUL 00 0 HT moves the print start position to be set. TM-U375/U375P Information Manual HT [Name] [Format] Horizontal tab ASCII HT Hex 09 Decimal 9 ESC D n1 ... This command is ignored unless the next horizontal tab position has been...
... ht END ht: FOR i=1 TO 4 PRINT #1, CHR$(&H9); NEXT i PRINT #1, CHR$(&HA); nk NUL 00 0 HT moves the print start position to be set. TM-U375/U375P Information Manual HT [Name] [Format] Horizontal tab ASCII HT Hex 09 Decimal 9 ESC D n1 ... This command is ignored unless the next horizontal tab position has been...
User Guide
Page 36
... activated and the command is enabled when the printer selects page mode. PRINT #1, CHR$(&H1B);"T";CHR$(0); CHR$(&HA);← Store characters for printing PRINT #1, CHR$(&H1B);"T";CHR$(1); CHR$(&HA);← Store characters for printing PRINT #1, CHR$(&H1B);"T";CHR$(2); A Command Descriptions 1-29 TM-U375/U375P Information Manual ESC T n [Name] [Format] [Range] Select print direction in...
... activated and the command is enabled when the printer selects page mode. PRINT #1, CHR$(&H1B);"T";CHR$(0); CHR$(&HA);← Store characters for printing PRINT #1, CHR$(&H1B);"T";CHR$(1); CHR$(&HA);← Store characters for printing PRINT #1, CHR$(&H1B);"T";CHR$(2); A Command Descriptions 1-29 TM-U375/U375P Information Manual ESC T n [Name] [Format] [Range] Select print direction in...
User Guide
Page 38
... 1-31 the printer is turned off. d(x × y × 8) x y d1 ... or the power is reset; The default setting is made; m 0, 48 1, 49 Mode Normal Double width Horizontal Dot Density Double Single Set Adjacent Dots Prohibited Permitted Rev.... Once a downloaded bit image has been defined, it is available until another definition is no data in the vertical direction. When this command is effective only when there is ignored if a downloaded bit image has not been defined. TM-U375/U375P Information Manual...
... 1-31 the printer is turned off. d(x × y × 8) x y d1 ... or the power is reset; The default setting is made; m 0, 48 1, 49 Mode Normal Double width Horizontal Dot Density Double Single Set Adjacent Dots Prohibited Permitted Rev.... Once a downloaded bit image has been defined, it is available until another definition is no data in the vertical direction. When this command is effective only when there is ignored if a downloaded bit image has not been defined. TM-U375/U375P Information Manual...
User Guide
Page 40
TM-U375/U375P Information Manual GS a n [Name] [Format] [Range] Enable/disable Automatic Status Back (ASB) ASCII GS a n Hex 1D 61 n Decimal 29 97 n 0 ≤ n ≤ 255 GS a n selects a status for ASB 0 Off 00 0 Not used . When n=0, ASB is disabled by the ESC = command, the printer...Error status enabled. Cut-sheet (slip or validation) sensor and status enabled. 6, 7 - -- A Command Descriptions 1-33 The printer automatically transmits a 4-byte status message whenever the status changes. Drawer kick-out connector pin 3 status enabled. On-line/off -...
TM-U375/U375P Information Manual GS a n [Name] [Format] [Range] Enable/disable Automatic Status Back (ASB) ASCII GS a n Hex 1D 61 n Decimal 29 97 n 0 ≤ n ≤ 255 GS a n selects a status for ASB 0 Off 00 0 Not used . When n=0, ASB is disabled by the ESC = command, the printer...Error status enabled. Cut-sheet (slip or validation) sensor and status enabled. 6, 7 - -- A Command Descriptions 1-33 The printer automatically transmits a 4-byte status message whenever the status changes. Drawer kick-out connector pin 3 status enabled. On-line/off -...
User Guide
Page 42
... 1-35 Off 00 0 2 On 04 4 Validation paper selected. Fixed to print. Off 00 0 1 On 02 2 Slip paper status: possible to Off. Fixed to print. TM-U375/U375P Information Manual Fourth byte (paper sensor information) Bit Off/On Hex Decimal Status for ASB Off 00 0 0 On 01 1 Slip paper selected. Slip paper status: not...
... 1-35 Off 00 0 2 On 04 4 Validation paper selected. Fixed to print. Off 00 0 1 On 02 2 Slip paper status: possible to Off. Fixed to print. TM-U375/U375P Information Manual Fourth byte (paper sensor information) Bit Off/On Hex Decimal Status for ASB Off 00 0 0 On 01 1 Slip paper selected. Slip paper status: not...