CONFIDENTIAL TM-U590/U590P Information Manual Using this online information guide The words on the left side of this screen are bookmarks for all the topics in this guide. Use the scroll bar next to the bookmarks to find any topic you want. Click a bookmark to instantly jump to its topic. (If you wish, you can increase the size of the bookmark area by dragging the dividing bar to the right.) Use the scroll bar on the right side of this screen to move through the text.
CONFIDENTIAL EPSON® ® Guide to TM-U590/U590P SEIKO EPSON CORPORATION 400707100
Confidential CONFIDENTIALITY AGREEMENT BY USING THIS DOCUMENT, YOU AGREE TO ABIDE BY THE TERMS OF THIS AGREEMENT. PLEASE RETURN THIS DOCUMENT IMMEDIATELY IF YOU DO NOT AGREE TO THESE TERMS. 1. This document contains confidential, proprietary information of Seiko Epson Corporation or its affiliates. You must keep such information confidential.
CONFIDENTIAL SEIKO EPSON CORPORATION SYSTEM DEVICE DIVISION 2070 Kotobuki Koaka, Matsumoto-shi, Nagano-ken 399, Japan
CONFIDENTIAL 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 available for personal computers. As more personal computers come to be used as POS terminals, the demand for matching standardized peripheral devices is expected to rise.
CONFIDENTIAL Features The TM-U590/U590P is a high-quality POS printer that can print on slip paper. This specification applies the following models of the TM-U590 series printer. The printer has the following features: ❏ Wide slip paper capability (maximum characters per line: 88 with 7 × 9 font). ❏ Copy printing is possible. ❏ Optional Magnetic Ink Character Recognition (MICR) reader that enables the printer to perform consecutive reading and processing of MICR characters and printing endorsements.
CONFIDENTIAL Specifications ❏ Printing specifications Printing method: Head wire configuration: Head wire diameter: Printing direction: Printing speed: Serial impact dot matrix 9-pin vertical line, wire pitch 1/72 inch 0.29 mm (.
CONFIDENTIAL TM–U590/U590P 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.
CONFIDENTIAL Command Name Function Type Page Number ESC \ Set relative print position Print position 1-22 ESC a Select justification Print position 1-23 ESC c 3 Select paper sensor(s) to output paper-end signals Paper sensor ESC c 4 Select paper sensor(s) to stop printing Paper sensor 1-20 ESC c 5 Enable/disable panel buttons Panel button 1-19 ESC d Print and feed n lines Print 1-6 ESC e Print and reverse feed n lines Print 1-7 ESC f Set cut sheet wait time Printing paper
CONFIDENTIAL TM–U590/U590P 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.
CONFIDENTIAL Print Commands The TM-U590/U590P supports the following commands for printing characters and advancing paper. Command Name LF Print and line feed CR Print and carriage return ESC J Print and feed paper ESC K Print and reverse feed ESC d Print and feed n lines ESC e Print and reverse feed n lines FF Print and eject cut sheet LF [Name] Print and line feed [Format] ASCII LF Hex 0A Decimal 10 LF prints the data in the print buffer and feeds one line.
CONFIDENTIAL TM–U590/U590P Information Manual Program Example Print Sample AAAAA PRINT #1, "AAAAA"; CHR$(&HD); PRINT #1, " BBBBB ←Auto line feed enabled AAAAABBBBB ←Auto line feed disabled BBBBB"; CHR$(&HA); ESC J n [Name] Print and feed paper [Format] ASCII ESC J n Hex 1B 4A n Decimal 27 74 n [Range] 0 ≤ n ≤ 255 ESC J n prints the data in the print buffer and feeds the paper n × vertical motion unit.
CONFIDENTIAL Program Example Print Sample PRINT #1, CHR$(&H1D);"P";CHR$(150);CHR$(144); PRINT #1, "AAAAA"; CHR$(&HA); AAAAACCCCC BBBBB PRINT #1, "BBBBB"; CHR$(&H1B);"K";CHR$(24); PRINT #1, " CCCCC"; CHR$(&HA); ESC K used to print one line and then reverse feed the paper by 24/144 inch ESC d n [Name] Print and feed n lines [Format] ASCII ESC d n Hex 1B 64 n Decimal 27 100 n [Range] 0 ≤ n ≤ 255 ESC d n prints the data in the print buffer and feeds n × line spacing.
CONFIDENTIAL TM–U590/U590P Information Manual ESC e n [Name] Print and reverse feed n lines [Format] ASCII ESC e n Hex 1B 65 n Decimal 27 101 n [Range] 0 ≤ n ≤ 255 ESC e n prints the data in the print buffer and feeds n × line spacing in the reverse direction. The amount of paper fed per line is based on the value set using ESC 2 or ESC 3. The maximum reverse paper feed amount is 40 inches. The default setting of the paper feed amount is 1/6 inch.
CONFIDENTIAL Line Spacing Commands The TM-U590/U590P 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 set using these commands affects the results of LF, or ESC d, or FF is executed and paper feed using the FORWARD or REVERSE button.
CONFIDENTIAL TM–U590/U590P Information Manual ESC C n [Name] Set cut sheet eject length [Format] ASCII ESC C n Hex 1B 43 n Decimal 27 67 n [Range] 0 ≤ n ≤ 255 ESC C n sets the eject length for slip paper to n × line spacing. The maximum eject length is 17.72 inches. The default setting of the eject length is n = 0. No eject length is set if n=0. When n=0, the paper is fed until it can be ejected.
CONFIDENTIAL Character Commands The TM-U590/U590P supports the following commands for setting character font and size: Command Name ESC SP Set right-side character spacing ESC % Select/cancel user-defined character set ESC & Define user-defined characters ESC ? Cancel user-defined characters ESC R Select an international character set ESC t Select character code table ESC ! Select print mode(s) ESC – Turn underline mode on/off ESC E Turn emphasized mode on/off ESC G Turn double-strike m
CONFIDENTIAL TM–U590/U590P Information Manual ESC % n [Name] Select/cancel user-defined character set [Format] ASCII ESC % n Hex 1B 25 n Decimal 27 37 n [Range] 0 ≤ n ≤ 255 ESC & y c1 c2 [x1 d1 ... d(y × x1)] ... [xk d1 ... d(y × xk)] [Name] Define user-defined characters [Format] ASCII ESC & y c1 c2 [x1 d1 ... d(y × x1)] ... [xk d1 ... d(y × xk)] Hex 1B 26 y c1 c2 [x1 d1 ... d(y × x1)] ... [xk d1 ... d(y × xk)] Decimal 27 38 y c1 c2 [x1 d1 ... d(y × x1)] ... [xk d1 ...
CONFIDENTIAL ESC ? n [Name] Cancel user-defined characters [Format] ASCII ESC ? n Hex 1B 3F n Decimal 27 63 n [Range] 32 ≤ n ≤ 126 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. ESC & y c1 c2 [x1 d1 ... d(y × x1)] ... [xk d1 ... d(y × xk)] defines user-defined characters from character code c1 to c2.
CONFIDENTIAL TM–U590/U590P Information Manual 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). ASCII code n Country Hex 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E Dec 35 36 64 91 92 93 94 96 123 124 125 126 0 U.S.A.
CONFIDENTIAL 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 , n = 255 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 extended characters (80H (decimal 128) to FFH (decimal 255)) are different for each page. The default setting is page 0 (n=0). For page 255, font A and font B support different characters.
CONFIDENTIAL TM–U590/U590P Information Manual ESC ! n [Name] Select print mode(s) [Format] ASCII ESC ! n Hex 1B 21 n Decimal 27 33 n [Range] 0 ≤ n ≤ 255 ESC ! n selects or cancels print modes collectively using n as follows. The default setting is n=0. Bit Off/On Hex Decimal Function Off 00 0 Character font A (9 x 9) selected. On 01 1 Character font B (7 x 9) selected. — — — Undefined. Off 00 0 Emphasized mode not selected. On 08 8 Emphasized mode selected.
CONFIDENTIAL 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 mode is turned off. The default setting is n=0.
CONFIDENTIAL TM–U590/U590P Information Manual ESC G n [Name] Turn double-strike mode on/off [Format] ASCII ESC G n Hex 1B 47 n Decimal 27 71 n [Range] 0 ≤ n ≤ 255 ESC G n turns double-strike mode on or off. When the LSB (least significant bit) of n is 1, doublestrike mode is turned on; when it is 0, double-strike mode is turned off. The default setting is n=0.
CONFIDENTIAL ESC { n [Name] Turn upside-down printing mode on/off [Format] ASCII ESC { n Hex 1B 7B n Decimal 27 123 n [Range] 0 ≤ n ≤ 255 ESC { n turns upside-down printing mode on or off. When the LSB (least significant bit) of n is 1, upside-down printing mode is turned on; when it is 0, upside-down printing mode is turned off. The default setting is n=0. This command is enabled only when processed at the beginning of the line.
CONFIDENTIAL TM–U590/U590P Information Manual ESC f t1 t2 sets the time from detection of the slip to the start of printing to t2 × 0.1 seconds. t1 is always set to 0 second. When t1=0, the printer continues waiting for a slip to be inserted. The defaults are t1=0, t2=5. This setting alone, however, does not cause the printer to immediately start waiting for a slip to be inserted.
CONFIDENTIAL ESC c 4 n [Name] Select paper sensor(s) to stop printing [Format] ASCII ESC c 4 n Hex 1B 63 34 n Decimal 27 99 52 n [Range] 0 ≤ n ≤ 255 ESC c 4 n selects whether to stop printing or not when the paper runs out. The default setting is n=0. When the TOF sensor or the BOF sensor is enabled and a paper-end is detected, the printer ejects the paper after printing as much as possible and enters the paper waiting state.
CONFIDENTIAL TM–U590/U590P Information Manual ESC c 3 n selects whether to output paper-end signals or not to a parallel interface. When the TOF sensor or the BOF sensor is enabled and a paper-end is deleted, the paper-end signal is output. The default setting is (n=0). When both of these sensors are selected to output signals and either one detects a paper-end, the paper-end signal is output. If both of these sensors are disabled, the paper-end signal is not output (always paper present status).
CONFIDENTIAL ESC $ nL nH [Name] Set absolute print position [Format] ASCII ESC $ nL nH Hex 1B 24 nL nH Decimal 27 36 nL nH [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 ESC \ nL nH [Name] Set relative print position [Format} ASCII ESC \ nL nH Hex 1B 5C nL nH Decimal 27 92 nL nH [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 ESC $ nL nH sets the print starting position to (nL + nH × 256) × horizontal motion unit from the left margin.
CONFIDENTIAL TM–U590/U590P Information Manual ESC a n [Name] Select justification [Format] ASCII ESC a n Hex 1B 61 n Decimal 27 97 n [Range] 0≤n≤2 48 ≤ n ≤ 50 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 justification (n=0). This command is enabled only when processed at the beginning of a line.
CONFIDENTIAL ESC D n1 ... nk NUL sets a horizontal tab to n × character width to have been set columns from the left margin, with k indicating the total number of horizontal tab positions to be set. A maximum of 32 tab positions can be set. This command cancels any previous horizontal tab settings. The default tab positions are every eight characters for the font A (9x9).
CONFIDENTIAL TM–U590/U590P Information Manual The above commands are enabled only when processed at the beginning of a line. If the above commands set the printing area width to less than the width of a left margin or one character, the printing area width is extended to accommodate one character for the line. The horizontal motion units set by GS P is used. The default setting of the horizontal motion unit is 1/150 inch.
CONFIDENTIAL ESC ✻ m nL nH d1 ... dk selects a bit-image mode using m for the number of dots specified by (nL + nH × 256). d indicates the bit image data. Set a bit to 1 to print a dot, or set a bit to 0 to not print a dot. When 8-dot double-density bit image is selected, setting adjacent dots in horizontal is prohibited. This command is used to print a predefined picture or logo.
CONFIDENTIAL TM–U590/U590P Information Manual GS / m [Name] Print downloaded bit image [Format] ASCII GS / m Hex 1D 2F m Decimal 29 47 m [Range] m=0, 1, 48, 49 GS ✻ x y d1 ... d(x × y × 8) defines a downloaded bit image using x × 8 dots in the horizontal direction and y × 8 dots in the vertical direction. d indicates the bit image data. Set a bit to 1 to print a dot, or set a bit to 0 to not print a dot.
CONFIDENTIAL Program Example Program Example (continued) DATA 80,00,03,80,02,40,00,1C,00,04,80,00,60,00,02 DATA 40,03,80,00,04,80,0C,00,00,02,40,70,00,00,04 x=18: y=5 PRINT #1, CHR$(&H1D);"*";CHR$(x);CHR$(y); FOR i=1 TO x*y*8 Define downloaded bit image DATA 83,80,00,00,02,4C,00,00,00,04,80,00,00,00,02 DATA 40,00,00,00,04,80,00,00,00,02,4A,AA,AA,AA,A4 READ a$: d=VAL("&H"+a$) DATA 85,55,55,55,42,4A,AA,AA,AA,A4,85,55,55,55,42 PRINT #1, CHR$(d); DATA 4A,AA,AA,AA,A4,85,00,05,00,02,4A,08,0A,80,04 DATA 85
CONFIDENTIAL TM–U590/U590P Information Manual Status Commands The TM-U590/U590P 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. MICR status can be confirmed by the DLE EOT BS command (only with MICR reader).
CONFIDENTIAL First byte (printer information) Bit Off/On Hex Decimal Status for ASB 0 Off 00 0 Not used. Fixed to Off. 1 Off 00 0 Not used. Fixed to Off. Off 00 0 Drawer kick-out connector pin 3 is LOW. On 04 4 Drawer kick-out connector pin 3 is HIGH. Off 00 0 On-line. On 08 8 Off-line. On 10 16 Not used. Fixed to On. Off 00 0 Cover closed. On 20 32 Cover open. Off 00 0 Paper is not being fed by the paper feed button.
CONFIDENTIAL TM–U590/U590P Information Manual Fourth byte (paper sensor information) Bit Off/On Hex Decimal Status for ASB Off 00 0 Slip paper selected. On 01 1 Slip paper not selected. Off 00 0 Slip printing possible. On 02 2 Slip printing not possible. 2, 3 — — — Undefined. 4 Off 00 0 Not used. Fixed to Off. 5, 6 — — — Undefined. 7 Off 00 0 Not used. Fixed to Off.
CONFIDENTIAL Drawer kick-out connector status (n=2, 50) Bit Off/On Hex Decimal Status Off 00 0 Drawer kick-out connector pin 3 is LOW. On 01 1 Drawer kick-out connector pin 3 is HIGH. 1-3 — — — Undefined. 4 Off 00 0 Not used. Fixed to Off. 5, 6 — — — Undefined. 7 Off 00 0 Not used. Fixed to Off.
CONFIDENTIAL TM–U590/U590P Information Manual n indicates the status function as follows: n Function 1 Transmit printer status 2 Transmit off-line status 3 Transmit error status 5 Transmit slip status Program Example PRINT #1, CHR$(&H10);CHR$(&H4);CHR$(2); ← Transmits off-line status Printer status (n=1) Bit Off/On Hex Decimal Status 0 Off 00 0 Not used. Fixed to Off. 1 On 02 2 Not used. Fixed to On. Off 00 0 Drawer kick-out connector pin 3 is LOW.
CONFIDENTIAL Error status (n=3) Bit Off/On Hex Decimal Status 0 Off 00 0 Not used. Fixed to Off. 1 On 02 2 Not used. Fixed to On. Off 00 0 No mechanical error. On 04 4 Mechanical error occurred. 3 — — — Undefined. 4 On 10 16 Not used. Fixed to On. Off 00 0 No unrecoverable error. On 20 32 Unrecoverable error occurred. 6 — — — Undefined. 7 Off 00 0 Not used. Fixed to Off. 2 5 Slip status (n=5) Bit Off/On Hex Decimal Status 0 Off 00 0 Not used.
CONFIDENTIAL TM–U590/U590P Information Manual DLE EOT BS n [Name] Real-time MICR status transmission [Format] ASCII DLE EOT BS n Hex 10 04 08 n Decimal 16 4 8 n [Range] n=1 DLE EOT BS n transmits MICR status in real time when n=1. This command supports the TM-U590/U590P with the MICR option. This command is ignored during a process of transmitting the check paper reading result.
CONFIDENTIAL Mechanism Control Commands The TM-U590/U590P supports the following mechanism control commands: Command Name ESC < Return home ESC U Turn unidirectional printing mode on/off ESC F Set/cancel cut sheet reverse eject ESC q Paper release ESC < [Name] Return home [Format] ASCII ESC < Hex 1B 3C Decimal 27 60 ESC < moves the print head to the home position.
CONFIDENTIAL TM–U590/U590P Information Manual ESC F n [Name] Set/cancel cut sheet reverse eject [Format] ASCII ESC F n Hex 1B 46 n Decimal 27 70 n [Range] 0 ≤ n ≤ 255 ESC F n sets or cancels the slip paper reverse eject. When the LSB (least significant bit) of n is 1, the command sets the slip paper reverse eject. When it is 0, the command cancels the slip paper reverse eject. After canceling the slip paper reverse eject, the forward eject is set automatically. The default is n=1.
CONFIDENTIAL MICR Commands The TM-U590/U590P (with the MICR reader) supports the following MICR function commands. MICR status can be confirmed by the DLE EOT BS command. Refer to the Status Commands section for details.
CONFIDENTIAL TM–U590/U590P Information Manual character strings + NULL” to the host computer. In other cases, the printer transmits “header + reading status + NULL” to the host computer. This command is enabled only when processed at the beginning of a line.
CONFIDENTIAL FS b retransmits the previous check paper reading results. The transmitted information is the same as that previously sent by FS a 0. If FS a 0 is not executed before FS b, the printer transmits the reading status as “not normal”. Program Example PRINT #1, CHR$(&H1C);"b"; 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.
CONFIDENTIAL TM–U590/U590P Information Manual Miscellaneous Function Commands The TM-U590/U590P supports the following miscellaneous function commands: Command Name GS P Set horizontal and vertical motion units ESC @ Initialize printer GS I Transmit printer ID ESC p Generate pulse ESC = Select peripheral device DLE ENQ Real-time request to printer GS P x y [Name] Set horizontal and vertical motion units [Format] ASCII GS P x y Hex 1D 50 x y Decimal 29 80 x y [Range] 0 ≤ x ≤
CONFIDENTIAL Program Example Print Sample PRINT #1, CHR$(&H1D);"P";CHR$(150);CHR$(144); PRINT #1, CHR$(&H1B);"3";CHR$(24); ← Set line spacing PRINT #1, "AAAAA"; CHR$(&HA); AAAAA PRINT #1, "BBBBB"; CHR$(&HA); BBBBB PRINT #1, CHR$(&H1D);"P";CHR$(150);CHR$(72); CCCCC PRINT #1, CHR$(&H1B);"3";CHR$(24); ← 24/144-inch line spacing Set line spacing PRINT #1, "CCCCC"; CHR$(&HA); DDDDD 24/72-inch line spacing PRINT #1, "DDDDD"; CHR$(&HA); PRINT #1, "EEEEE"; CHR$(&HA); EEEEE ESC @ [Name] Initialize
CONFIDENTIAL TM–U590/U590P Information Manual GS I n [Name] Transmit printer ID [Format] ASCII GS I n Hex 1D 49 n Decimal 29 73 n 1≤n≤3 [Range] 49 ≤ n ≤ 51 GS I n transmits the printer ID specified by n as follows. Each printer ID consists of 1 byte of data. n Printer ID Specification ID 1, 49 Printer model ID TM-U590/U590P Hexadecimal : 21H Decimal : 33 2, 50 Type ID See table below. 3, 51 ROM version ID Version x.
CONFIDENTIAL 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 × 2 msec / off time= t2 × 2 msec) to the specified connector pin. When m=0 or 48, the pulse is sent to drawer kick-out connector pin 2; when m=1 or 49, the pulse is sent to drawer kick-out connector pin 5.
CONFIDENTIAL TM–U590/U590P Information Manual With a parallel interface model, the default setting is n=1.
CONFIDENTIAL With a parallel interface model, this command is not executed in the following status because the printer is busy and unable to receive data from the host computer: ❏ Receive buffer is full when DIP switch 2-1 is set to On. ❏ Printer is off-line, an error occurs, or receive buffer is full when the DIP switch 2-1 is set to Off. n Request 1 Restarts printing from the beginning of the line where an error occurred, after recovering from the error.
CONFIDENTIAL TM–U590/U590P Information Manual Character Code Tables SP in a table represents space. Refer to page 1-50 for information on how to read these tables. Page 0 (PC437: U.S.A., Standard Europe) (International character set: U.S.A) FS Page 1 (Katakana) Rev.
CONFIDENTIAL Page 2 (PC850: Multilingual) Page 3 (PC860: Portuguese) 1-48 Command Descriptions Rev.
CONFIDENTIAL TM–U590/U590P Information Manual Page 4 (PC863: Canadian-French) Page 5 (PC865: Nordic) Rev.
CONFIDENTIAL Using the Character Code Tables The example below uses Page 0 (PC437) (see page 1-47) 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" is 65. Follow its column straight up to find the digits. Hexadecimal ..... 4 Binary ................. 0100 These numbers are the most significant bits of the ASCII code. Follow its row to the left to find the digits. Hexadecimal ..... 1 Binary .................
CONFIDENTIAL TM–U590/U590P Information Manual Chapter 2 Application This chapter presents an example illustrating ESC/POS command functions and printing results. The example shows a receipt issuing procedure and its programs for a pre-printed form. Receipt Issuing Procedure Procedure Commands Used Description 1. Set the default ESC @, ESC c 4, ESC D Enables the TOF sensor and BOF sensor that stop printing when the paper runs out. Sets horizontal tab positions for printing items B and C. 2.
CONFIDENTIAL Program Example PRINT #1, CHR$(&H1B);"@"; ← Initialize the device PRINT #1, CHR$(&H1B);"c4";CHR$(48); ← Enable a sensor to stop printing PRINT #1, CHR$(&H1B);"D";CHR$(10);CHR$(40);CHR$(55);CHR$(0); ← PRINT #1, CHR$(&H1D);"!";CHR$(17); ← Select PRINT #1, CHR$(&H1B);"U";CHR$(1); ← Select character size (double-height x double-width) unidirectional printing PRINT #1, CHR$(&H1B);"$";CHR$(60);CHR$(0) ←Set print position PRINT #1, "EPSON";CHR$(&H1B);"J";CHR$(68); ← Print and paper feed PR
CONFIDENTIAL TM–U590/U590P 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.
CONFIDENTIAL Function Type Supported Command Function Type Command Name Matrix Category Print commands LF Print and line feed Basic single ● FF 1. Print and eject cut sheet (in standard mode) Mechanical extension ● 2. Print and return to standard mode (in page mode) Mechanical extension 3.
CONFIDENTIAL TM–U590/U590P Information Manual Supported Command Function Type Command Name Matrix Category Character commands (continued) ESC z Turn parallel printing mode on/off for receipt and journal paper Mechanical extension ESC { Turn upside-down printing mode on/off Basic single ● GS ! Select character size Software extension ● GS B Turn white/black reverse printing mode on/ off Software extension GS b Turn smoothing mode on/off Software extension ESC c 3 Select paper sensor(s
CONFIDENTIAL Supported Command Function Type Command Name Matrix Category Mechanism control commands ESC < Return home Mechanical extension ● ESC F Set/cancel cut sheet reverse eject Mechanical extension ● ESC U Turn unidirectional printing mode on/off Mechanical extension ● ESC i Partial cut (one point left uncut) Mechanical extension ESC m Partial cut (three points left uncut) Mechanical extension ESC o Stamp Mechanical extension ESC q Paper release Mechanical extension GS V
CONFIDENTIAL TM–U590/U590P Information Manual Supported Command Function Type Command Name Matrix Category Kanji control commands FS ! Select print mode(s) for Kanji characters Software extension FS & Select Kanji character mode Software extension FS – Turn underline mode on/off for Kanji characters Software extension FS .
Supported Command Command Name HT LF FF Horizontal tab Function Moves the printing position to the next horizontal tab position. Print and line feed Prints the data in the print buffer and feeds one line based on the current line spacing. 1.
l CONFIDENTIAL Supported Command Command Name RS DLE EOT Journal tab Real-time status transmission Function TMT85 TMT88/ T88M TML60II TM-300/300M A B C TM-U200 D B D TMU375/ U375M ESC FF TMU925 Moves the print position to the beginning of the journal paper. Transmits a specified status in real time. Real-time request Responds to a request to printer from the host computer in real time.
Command Name Function TMT88/ T88M TML60II A B C D B ● ● ● O O O O TM-300/300M TM-U200 D TMU375/ U375M TMH5000/ H5000M TMU925 TMU950/ U950M ● ● ● ● ● ● TM295 TMTMU590/ 215S U590M ESC – Turn underline mode on/off ESC 2 Select default line Sets the line spacing to spacing 1/6 inch. ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ESC 3 Set line spacing Sets the line spacing to a specified value.
l CONFIDENTIAL Supported Command Command Name Function TMT85 TMT88/ T88M TML60II A B C D B TM-300/300M TM-U200 D TMU375/ U375M TMH5000/ H5000M TMU925 TMU950/ U950M TM295 TMTMU590/ 215S U590M ESC G Turn double-strike mode on/off Turns double-strike mode on or off. ● ● ● O O O O ● ● ● ● ● ● ESC J Print and feed paper Prints the data in the print buffer and feeds the paper a specified distance.
TMT85 TMT88/ T88M TML60II Sets the print starting position based on the current position. ● ● ● Select justification Aligns all the data in one line to a specified position. ● ● ● Command Name ESC \ ESC a Set relative print position Function ESC c 0 Select paper Selects paper type(s) for type(s) for printing printing.
l CONFIDENTIAL Supported Command Command Name ESC f ESC i Function Executes a partial cut of the paper with one point left uncut. Partial cut (three points left uncut) Executes a partial cut of the paper with three points left uncut. ESC o Stamp Executes stamp printing. ESC p Generate pulse Outputs a specified pulse to a specified connector pin. TML60II TM-300/300M A B Paper release Releases the paper. ESC r Select print color Selects the print color.
Command Name ESC { FS ! Function Turn upside-down Turns upside-down printing mode on/ printing mode on or off. off TMT85 TMT88/ T88M TML60II A B C D B ● ● ● ● ● ● ● ● O O O O TM-300/300M TM-U200 D TMU375/ U375M TMH5000/ H5000M TMU925 TMU950/ U950M TM295 ● ● ● ● ● ● O O O O O TMTMU590/ 215S U590M ● Select print mode(s) for Kanji characters Selects print mode(s) for Kanji characters. FS & Select Kanji character mode Selects Kanji character mode.
l CONFIDENTIAL Supported Command Command Name FS a 1 Function Load check paper to print starting position Loads check paper to the print starting position. FS a 2 Eject check paper Ejects the check paper. FS b Request retransmission of check paper reading result Retransmits the previous check paper reading results.
Command Name Function TMT85 TMT88/ T88M TML60II GS < Initialize printer mechanism Feeds a label to the print starting position. ● GS A Adjust label position to start printing Adjusts the label position relative to the default position. ● Turn white/black reverse printing mode on/off Turns white/black reverse printing mode on or off. GS C 0 Select counter print mode Selects a print mode for the serial counter. ● GS C 1 Select count mode (A) Selects a count mode for the serial counter.
l CONFIDENTIAL Supported Command Command Name Function TMT85 TMT88/ T88M TML60II TM-300/300M A B C TM-U200 D B D TMU375/ U375M TMH5000/ H5000M GS V Select cut mode and cut paper Cuts the specified paper. ● ● ● GS V Select cut mode and cut paper Advances the specified paper to the cut position and performs the cut. ● ● ● GS W Set printing area width Sets the printing area width to a defined area.
Command Name GS k Print bar code TMT85 TMT88/ T88M TML60II Selects a bar code system and prints the bar code. ● ● ● Function GS r Transmit status Transmits a specified status. ● ● ● GS w Set bar code width Sets the horizontal size of the bar code. ● ● ● GS z 0 Set on-line recovery wait time Sets the on-line recovery wait time.