Line Thermal Printer STAR Line Mode Command Specifications Rev 0.09 Star Micronics Co., Ltd.
Table of Contents 1. INTERFACE CONFIGURATION.........................................................................................................................1-1 1.1. RS-232 Serial Interface ..............................................................................................................................1-1 1.1.1. Specifications (Conforming to RS-232) ......................................................................................................1-1 1.1.2.
5.2. Appendix 2: Status Specifications ..............................................................................................................5-6 5.2.1. ENQ Command Status ...............................................................................................................................5-6 5.2.2. EOT Command Status ...............................................................................................................................5-6 5.2.3. Automatic Status .....................
This specifications document describes the command specifications for the STAR LINE MODE on line thermal printers. Information contained herein applies to models with the following conditions.
1. INTERFACE CONFIGURATION 1.1. RS-232 Serial Interface 1.1.1. Specifications (Conforming to RS-232) Rating: RS-232C Synch method: Start-Stop synchronization method Handshake: DTR mode Baud rates: 4800, 9600, 19200, 38400 bps (Set by DIP switches) Bit length: 7, 8 bits (Set by DIP switches) Parity: Yes/No (Set by DIP switches) Parity bit: Odd/even (Set by DIP switches) Stop bit: 1 bit (Fixed) Signal polarity: Mark = logic 1 (-3 to -15 V) Space = logic 0 (+3 to +15 V) 1.1.2.
1.1.3. Communication Protocol 1) General description of operations in the DTR mode This mode abides by the DIP switch settings. (Ex-factory settings) This mode performs communication while handshaking with the DTR signals. In the operations to receive printer data, this mode controls the DTR signals by confirming the BUSY signal. A SPACE indicates that the printer is ready to receive data; conversely, a “mark” indicates that the printer cannot receive data.
3) General description of operations in the XON/XOFF mode This mode is set when DIPSW #1 to #3 are turned OFF. This mode notifies the host of the XON (DC1) data when the printer can receive data and the XOFF (DC3) data when the printer cannot receive data, using the TXD signals. This functions so that XON outputs only 1 byte when the printer shifts from OFFLINE (printer busy) to ONLINE (printer ready) and; XOFF outputs 1 byte when the printer shifts from ONLINE (printer ready) to OFFLINE (printer busy) .
1.2. Parallel Interfaces (Amphenol 36 pins) 1.2.1. Specifications (Conforming to IEEE1284) Rating: Conforms to IEEE 1284 Mode: Compatibility Mode/Nibble Mode/Byte Mode Data transfer speed: 1000 to 6000 CPS Synch method: According to externally supplied strobe pulse Handshake: According to ACK and BUSY signals Logic level: Compatible to TTL 1.2.2. Signal array and explanations according to interface connector pin Pin No.
1.2.3. Signal Output Timing 1) Compatibility mode T T T T= Min. 0.5 μs nStrobe Data 0 to 7 Approx. 1 μs nAck Busy 2) Nibble Mode/Byte Mode Conforms to IEEE 1284 standard 1.2.4. Status Specification See Appendix 2 for details.
1.3. USB Interface Specifications: Connector: Conforms to USB 2.0 Full Speed. Supports printer class and vendor class (Refer to each printer specifications manual for selections.) Type B 1.4. Ethernet Interface Specifications: Cable: Connector: Conforms to IEEE 802.3. 10BASE-T/10BASE-TX RJ45 1.5. Wireless LAN Interface Specifications: Conforms to IEEE 802.11b.
2.
Class Commands Name Page control commands FF ESC C ESC C 0 VT ESC B ESC N ESC O ESC l ESC Q HT ESC D ESC GS A ESC GS R ESC GS a ESC & ESC % ESC K ESC L ESC k ESC X ESC FS q ESC FS p ESC RS L ESC b ESC d ESC BEL BEL FS SUB EM ESC GS BEL ESC GS EM DC1 ESC GS EM DC2 ESC RS d ESC RS r ESC RS a ESC ACK SOH ENQ EOT ETB ESC RS E Form feed Set page length to n lines Set page length in 24 mm units Feed paper to vertical tab position Set vertical tab position Set bottom margin to n lines Cancel bottom margin Set
Class Commands Name Chinese ESC p Set to JIS Chinese character mode characters ESC q Cancel JIS Chinese character mode ESC $ Set/cancel JIS Chinese character mode Others Macro ESC s Set two byte Chinese characters left/right spaces ESC t Set 1 byte Chinese characters left/right spaces ESC r CAN ESC @ ESC GS # ESC ? ESC GS r Register Chinese download characters Cancel print data and initialize commands Command initialization Set memory switch Reset printer Get CRC code Register macro ESC G
• Black mark related commands Class Commands Name Black mark Related Commands ESC d FF ESC C ESC C 0 VT ESC B ESC N ESC O Paper cut instruction Form feed Set page length to n lines Set page length in 24 mm units Feed paper to vertical tab position Set vertical tab position Set n line bottom margin Cancel bottom margin • 2 color printing related commands Class Commands Name 2 color printing Related Commands ESC RS c ESC RS C ESC 4 ESC 5 ESC RS d ESC RS r ESC FS q ESC FS p Specify printing color in
•Auto Logo commands Class Commands Name Auto Logo commands ESC GS / W ESC GS / C ESC GS / 1 ESC GS / 2 ESC GS / 3 ESC GS / 4 ESC GS / 5 ESC GS / 6 Register Auto Logo setting in non-volatile memory Initialize Auto Logo setting in non-volatile memory ON/OFF setting of Auto Logo function Command character setting User macro 1 setting User macro 2 setting Command character rewriting method setting Setting of partial cut just prior to Auto Logo printing •PDF417 commands Class Commands Name PDF417 comman
•Print Starting Trigger Control commands Class Commands Name Print starting trigger ESC GS g0 ESC GS g1 Print starting trigger Print starting timer setting •QR Code commands Class Commands Name QR code ESC GS y S0 ESC GS y S1 ESC GS y S2 ESC GS y D1 ESC GS y D2 ESC GS y P ESC GS y I Set QR code model Set QR code mistake correction level Set QR code cell size Set QR code data Set QR code data (Manual) Print QR code Get QR code expansion information •Print Function commands Class Commands Name
3. COMMAND DETAILS 3.1. Explanation of Terms • Reception buffer The buffer for storing data (reception data) received from the host, as it is called the reception buffer. Reception data is temporarily stored in the reception buffer, then processed sequentially. • Line buffer The buffer for storing image data for printing is called the line buffer. • Line buffer full The state in which the buffer has no more space available is called line buffer full.
3.2. Exception Processing 1) Undefined codes Codes from <00>H to <1F>H are targeted. When codes not defined as commands in this region are received, they are discarded. (Ex.) If processing the data string of <30>H<31>H<03>H<32>H<0A>H<33>H, the printer will discard <03>H as an undefined code. 2) Undefined commands When data continuing the codes of ESC, FS, GS, DLE are codes not defined as commands, ESC, FS,GS and subsequent codes are discarded. (Ex.
3.3. Standard Command Details 3.3.1. Font style and Character Set ESC RS F n [Name] [Code] Select font ASCII ESC Hex. 1B Decimal 27 [Defined Region] [Initial Value] [Function] n 0 1 16 RS 1E 30 F 46 70 n n n 0≤n≤1, n = 16 n=0 Selects a font Font Font-A (12 x 24 dots) Font-B (9 x 24 dots) OCR-B (16 x 24 dots) The following functions are disabled when OCR-B font is selected.
ESC GS t n [Name] [Code] Select code page ASCII ESC GS t Hex. 1B 1D 74 Decimal 27 29 116 [Defined Region] [Initial Value] [Function] n n n 0≤n≤21 32≤n≤34 64≤n≤79 Memory switch setting When installed with Japanese language characters and DBCS setting: Fixed at n=2 Specifies code page When installed with Japanese and Chinese language characters and DBCS setting, this command is ignored. n 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Code Page Normal* CodePage437 (USA, Std.
ESC GS = n1 n2 da1 da2...dak db1 db2...dbk [Name] [Code] Write blank code page data ASCII ESC GS = Hex. 1B 1D 3D Decimal 27 29 61 [Defined Area] [Initial Value] [Function] n1 n1 n1 n2 da1 da2 n2 da1 da2 n2 da1 da2 ... dak db1 db2 ... dak db1 db2 ... dak db1 db2 … dbk … dbk … dbk n1= 0 n2 = 48 1≤(n1 + n2 x 256) (Font-A data) 0≤da≤255 db = 0 (STAR mode is not installed with Font-B.
ESC R n [Name] [Code] Specify international character set ESC ASCII R n Hex.
ESC / n [Name] [Code] Specify/cancel slash zero ASCII ESC / n Hex. 1B 2F n Decimal 27 47 n [Defined Area] n = 0, 1, 48, 49 [Initial Value] Memory switch setting [Function] Specifies and cancels slash zeros.
ESC SP n [Name] [Code] Set ANK right space ASCII ESC SP Hex. 1B 20 Decimal 27 32 [Defined Area] [Initial Value] [Function] n n n 0≤n≤15 48≤n≤57 (”0”≤n≤”9”) 65≤n≤70 (”A”≤n≤”F”) Memory switch setting Specifies the right space for ANK 12 x 24 dot fonts in n dots. Character spacing can be specified also with the following commands.
ESC M [Name] [Code] Specify 12 dot pitch ASCII ESC M Hex. 1B 4D Decimal 27 77 [Defined Area] [Initial Value] [Function] --Memory switch setting Specifies rights space for the ANK 12 x 24 dot fonts to 0 dots. ESC P [Name] [Code] Specify 15 dot pitch ASCII ESC P Hex. 1B 50 Decimal 27 80 [Defined Area] [Initial Value] [Function] --Memory switch setting Specifies rights space for the ANK 12 x 24 dot fonts to 3 dots. ESC : [Name] [Code] Specify 16 dot pitch ASCII ESC : Hex.
ESC g [Name] [Code] Specify 14 dot pitch ASCII ESC g Hex. 1B 67 Decimal 27 103 [Defined Area] [Initial Value] [Function] --Memory switch setting Specifies rights space for the ANK 12 x 24 dot fonts to 2 dots. Specification A This command is enabled only when the memory switch setting is set for DBCS (2 byte countries). It is ignored when the memory switch setting is set for SBCS (1 byte countries).
3.3.2. Character Expansion Settings ESC i n1 n2 [Name] [Code] Set/cancel the double wide/high ASCII ESC i n1 n2 Hex. 1B 69 n1 n2 Decimal 27 105 n1 n2 [Defined Area] [Initial Value] [Function] 0≤n1≤5 48≤n1≤53 (”0”≤n1≤”5”) 0≤n2≤5 48≤n2≤53 (”0”≤n2≤”5”) n1 = 0 (Double high cancelled) n2 = 0 (Double wide cancelled) Specifies/cancels double high/wide for ANK characters and Chinese characters. This command is ignored if either n1 or n2 is outside of the defined area.
ESC W n [Name] [Code] Specify/cancel expanded wide ASCII ESC W n Hex. 1B 57 n Decimal 27 87 n [Defined Area] [Initial Value] [Function] n 0, 48 1, 49 2, 50 3, 51 4, 52 5, 53 0≤n≤5 48≤n≤53 (”0”≤n≤”5”) n = 0 (Double wide cancelled) Specifies/cancels double wide for ANK characters and Chinese characters.
SO [Name] [Code] Set double wide ASCII SO Hex. 0E Decimal 14 [Defined Area] [Initial Value] [Function] --Cancels 2x wide expansion Specifies double wide for ANK characters and Chinese characters. This command is equivalent to ESC W n (n = 1). DC4 [Name] [Code] Cancel expanded wide ASCII DC4 Hex. 14 Decimal 20 [Defined Area] [Initial Value] [Function] ----Cancels expanded wide if the following commands specify expanded wide.
ESC SO [Name] [Code] Set double high ASCII ESC SO Hex. 1B 0E Decimal 27 14 [Defined Area] [Initial Value] [Function] --Double high expansion cancelled. Specifies double high for ANK characters and Chinese characters. This command is equivalent to ESC h n (n = 1). ESC DC4 [Name] [Code] Cancel expanded high ESC DC4 ASCII Hex. 1B 14 Decimal 27 20 [Defined Area] [Initial Value] [Function] ----Cancels expanded high if the following commands specify expanded high.
3.3.3. Print Mode ESC E [Name] [Code] Select emphasized printing ASCII ESC E Hex. 1B 45 Decimal 27 69 [Defined Area] [Initial Value] [Function] --Emphasized printing selected Specifies emphasized printing for ANK characters. IBM block ignores emphasized printing. ESC F [Name] [Code] Cancel emphasized printing ASCII ESC F Hex. 1B 46 Decimal 27 70 [Defined Area] [Initial Value] [Function] --Emphasized printing cancelled. Cancels emphasized printing for ANK characters.
ESC – n [Name] [Code] Select/cancels underling mode ASCII ESC n Hex. 1B 2D n Decimal 27 45 n [Defined Area] [Initial Value] [Function] n 0, 48 1, 49 n = 0, 1, 48, 49 n = 0 (Underline cancelled) Specifies underlining (2 dots). Underlines are composed of 2 dot lines. Underlines are not applied to horizontal tabs and to specified horizontal direction positions. Underlines are expanded if the character expansion is specified. (When double high expansion is used, underlines are composed of 4 dots.
ESC 4 [Name] [Code] Select white/black inverted printing ASCII ESC 4 Hex. 1B 34 Decimal 27 52 [Defined Area] [Initial Value] [Function] --White/black inversion cancelled Specifies white/black inversion for ANK characters and Chinese characters. IBM block ignores white/black inversion. ESC 5 [Name] [Code] Cancel white/black inversion ASCII ESC 5 Hex.
SI [Name] [Code] Select upside-down printing ASCII SI Hex. 0F Decimal 15 [Defined Area] [Initial Value] [Function] --Upside-down cancelled Specifies upside-down printing This command is enabled only when at the top of the line. Upside down and right-side up characters cannot both exist in the same line. This command is enabled for following. • ANK characters • Chinese characters • Bit images • Logos • Bar codes DC2 [Name] [Code] Cancel upside-down printing DC2 ASCII Hex.
3.3.4. Line Spacing LF [Name] [Code] Line feed ASCII Hex. Decimal [Defined Area] [Initial Value] [Function] LF 0A 10 ----Feeds the currently specified amount of paper. If print data exists in the line buffer, it prints that data. The initial value for the amount of paper is set according to the memory switch settings. CR [Name] [Code] Carriage return (line feed) ASCII CR Hex.
ESC z n [Name] [Code] Select line feed amount ASCII ESC z Hex. 1B 7A Decimal 27 122 [Defined Area] [Initial Value] [Function] n 1, 49 n n n n = 1, 49 Memory switch setting Specifies the line feed amount. Line feed amount Specifies 4 mm line feed amount ESC 0 [Name] [Code] Specify line spacing to 3 mm ASCII ESC 0 Hex. 1B 30 Decimal 27 48 [Defined Area] [Initial Value] [Function] --Memory switch setting Specifies the line feed amount to 3 mm.
ESC J n [Name] [Code] n/4 mm line feed ASCII ESC Hex. 1B Decimal 27 [Defined Area] [Initial Value] [Function] J 4A 74 n n n 1≤n≤255 --Executes a n/4mm paper feed. If print data exists in the line buffer, it prints that data. Using this command will intermittently feed paper, therefore, it is normally recommended that this command not be used. ESC I n [Name] [Code] n/8mm line feed ASCII ESC Hex.
3.3.5. Page Control Commands FF [Name] [Code] Form feed ASCII Hex. Decimal [Defined Area] [Initial Value] [Function] FF 0C 12 ----Executes a form feed. If the current position is at the top of the page, it form feeds to the top of the next page. If there is data existing in the line buffer when executing a form feed, it prints that data, then executes the form feed.
ESC C 0 n [Name] [Code] Set page length to n x 24 mm units ASCII ESC C 0 n Hex. 1B 43 00 n Decimal 27 67 0 n [Defined Area] [Initial Value] [Function] 1≤n≤22 (Form feed amount initial value x 42) The position whereat this command is processed is considered the top of the page and sets the page length to (n x 24 mm). This command cancels the bottom margin setting when setting page length. The page length set using this command is unaffected by changing the form feed amount later.
VT [Name] [Code] Feed paper to vertical tab position ASCII VT Hex. 0B Decimal 11 [Defined Area] [Initial Value] [Function] ----Feeds paper to the next vertical tab position. This command is ignored if there are no tabs set. If a vertical tab is set, and the current position is the same as the vertical tab position, or if it is below that position, it feeds paper to the top of the next page.
ESC B n1 n2…nk NUL [Name] [Code] Set vertical tab position ASCII ESC B n1 Hex. 1B 42 n1 Decimal 27 66 n1 [Defined Area] [Initial Value] [Function] n2 n2 n2 ... ... ... nk NUL nk 00 nk 0 1≤n≤255 0≤k≤16 --Sets the vertical tab to the (current form feed amount x n) position. All other vertical tabs set before setting the vertical tab using this command are cancelled A maximum of 16 vertical tabs can be set. However, the tab position must satisfy the condition of 1≤n1≤n2...≤nk.
3.3.6. Horizontal Direction Printing Position ESC l n [Name] [Code] Set left margin ASCII ESC l Hex. 1B 6C Decimal 27 108 [Defined Area] [Initial Value] [Function] n n n 0≤n≤255 n=0 Uses the left edge as a standard to set the left margin as (current ANK character pitch x n). Character pitch includes the space between characters and expansion settings are enabled. The left margin set using this command is unaffected by changing the character pitch.
ESC Q n [Name] [Code] Set right margin ASCII ESC Hex. 1B Decimal 27 [Defined Area] [Initial Value] [Function] Q 51 81 n n n 0≤n≤255 --Uses the left edge as a standard to set the print region as (current ANK character pitch x n). Character pitch includes the space between characters and expansion settings are enabled. The right margin set using this command is unaffected by changing the character pitch. This command is ignored if settings are for a printing region less than 36 mm.
ESC D n1 n2…nk NUL [Name] [Code] Set horizontal tab ASCII ESC D Hex. 1B 44 Decimal 27 68 [Defined Area] [Initial Value] [Function] n1 n1 n1 n2 n2 n2 ... ... ... nk NUL nk 00 nk 0 1≤n≤255 0≤k≤16 --Uses the left edge as a standard to set the horizontal tab to the position of (current ANK character pitch x n). The horizontal tab reference point is the right edge of the paper, regardless of the left margin. ANK character pitch includes the right space and expansion settings are enabled.
ESC GS A n1 n2 [Name] [Code] Move absolute position ASCII ESC GS A Hex. 1B 1D 41 Decimal 27 29 65 [Defined Area] [Initial Value] [Function] n1 n1 n1 n2 n2 n2 0≤n1≤255 0≤n2≤255 --Moves the printing position from the left margin to the (n1 + n2 x 256) position. This command is ignored if the print region is exceeded. ESC GS R n1 n2 [Name] [Code] Move relative position ASCII ESC GS Hex.
ESC GS a n [Name] [Code] Specify position alignment ASCII ESC GS a Hex. 1B 1D 61 Decimal 27 29 97 [Defined Area] [Initial Value] [Function] n 0, 48 1, 49 2, 50 n n n 0≤n≤2 48≤n≤50 (”0”≤n≤”2”) n=0 Specifies the alignment position in the printing region that has been set.
3.3.7. Download ESC & c1 c2 n d1…d48 [Name] [Code] Register 12 x 24 dot font download characters ASCII ESC & c1 c2 n d1 ... d48 Hex. 1B 26 c1 c2 n d1 ... d48 Decimal 27 38 c1 c2 n d1 ... d48 [Defined Area] [Initial Value] [Function] Vertical 24 Dots d1 d3 d5 d7 d9 d11 d13 d15 d17 d19 d21 d23 d25 d27 d29 d31 d33 d35 d37 d39 d41 d43 d45 d47 c1 = 1, 49 c2 = 1, 49 32≤n≤127 0≤d≤255 --Registers 12 x 24 dot font download characters to the nth address.
ESC & c1 c2 n [Name] [Code] Delete 12 x 24 dot font download characters ASCII ESC & c1 c2 n Hex. 1B 26 c1 c2 n Decimal 27 38 c1 c2 n [Defined Area] [Initial Value] [Function] c1 = 1, 49 c2 = 0, 48 32≤n≤127 --Deletes 12 x 24 dot font download characters registered to the nth address. ESC % n [Name] [Code] Specifies/cancels ANK download characters ASCII ESC % n Hex.
3.3.8. Bit Image Graphics ESC K n1 n2 d1...dk [Name] [Code] Standard density bit image ASCII ESC K n1 Hex. 1B 4B n1 Decimal 27 75 n1 [Defined Area] [Initial Value] [Function] n2 n2 n2 d1 d1 d1 ... ... ... dk dk dk 1 ≤ {(n1 + n2 x 256) x 3} ≤ printable region k = (n1 + n2 x 256) 0≤d≤255 --Prints bit images using 3 dots wide and 3 dots high per 1 dot of input data. The following shows the data processing in this command.
ESC L n1 n2 d1...dk [Name] [Code] Standard density bit image ASCII ESC L n1 Hex. 1B 4C n1 Decimal 27 76 n1 [Defined Area] [Initial Value] [Function] n2 n2 n2 d1 d1 d1 ... ... ... dk dk dk 1 ≤ (n1 + n2 x 256) ≤ printable region k = (n1 + n2 x 256) 0≤d≤255 --Prints bit images using 1 dot wide and 3 dots high per 1 dot of input data. The following shows the data processing in this command. • When (n1 + n2 x 256) exceeds the printable region, data after d1 is handled as normal data.
ESC k n1 n2 d1...dk [Name] [Code] Fine density bit image ASCII ESC k Hex. 1B 6B Decimal 27 107 [Defined Area] [Initial Value] [Function] n1 n1 n1 n2 n2 n2 d1 d1 d1 ... ... ... dk dk dk n2 = 0 1 ≤ {(n1 + n2 x 256) x 8} ≤ printable region k = {(n1 + n2 x 256) x 24} 0≤d≤255 --Prints bit images using 1 dot wide and 1 dots high per 1 dot of input data. The following shows the data processing in this command.
ESC X n1 n2 d1...dk [Name] [Code] Fine density bit image (Compatible with 24 bit wire dots) ASCII ESC X n1 n2 d1 ... dk Hex. 1B 58 n1 n2 d1 ... dk Decimal 27 88 n1 n2 d1 ... dk 1 ≤ (n1 + n2 x 256) ≤ printable region k = {(n1 + n2 x 256) x 3} 0≤d≤255 [Initial Value] --[Function] Prints input bit images with 8 dots/mm resolution for both horizontal and vertical. The following shows the data processing in this command.
3.3.9. Logo ESC FS q n [Name] [Code] [x11 x12 y11 Register logo ASCII ESC FS q n Hex. 1B 1C 71 n Decimal 27 28 113 n [Defined Area] [Initial Value] [Function] y12 d1...dk]1...[xn1 xn2 yn1 yn2 d1...dk]n [x11 x12 y11 y12 [x11 x12 y11 y12 [x11 x12 y11 y12 d1 d1 d1 ... dk]1 ... dk]1 ... dk]1 ... [xn1 xn2 yn1 yn2 ... [xn1 xn2 yn1 yn2 ... [xn1 xn2 yn1 yn2 d1 d1 d1 ... dk]n ... dk]n ...
Relationships of logo and registered data xn = xn1 + xn2 x 256, yn = yn1 + yn2 x 256 {(xn1 + xn2 x 256) x 8} dots Data MSB (yn1 + yn2 x 256) bytes (yn1 + yn2 x 256) x 8 dots d[11] d[21] d[n1] d[12] d[22] d[n2] LSB d[x1] d[x2] d[xn] ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― STAR Line Mode Command Specifications 3-38
ESC FS p n m [Name] [Code] Print logo ASCII Hex. Decimal [Defined Area] [Initial Value] [Function] m 0, 48 1, 49 2, 50 3, 51 ESC 1B 27 FS p 1C 70 28 112 n n n m m m 1≤n≤255 0≤m≤3 48≤m≤51 (”0”≤m≤”3”) --Prints the logo of registration number n registered using the logo registration command (ESC FS q) according to the print mode m.
Spec.
3.3.10. Bar Code ESC b n1 n2 n3 n4 d1...dk RS [Name] [Code] ASCII Hex. Decimal [Defined Area] [Initial Value] [Function] ESC 1B 27 b 62 98 n1 n1 n1 n2 n2 n2 n3 n3 n3 n4 n4 n4 d1 d1 d1 ... ... ... dk dk dk RS 1E 30 0≤n1≤8, 48≤n1≤56 (”0≤n1≤”8”) 1≤n2≤4, 49≤n2≤52 (”1”≤n2≤”4”) 1≤n4≤255 n3 (bar code mode), d (bar code data), k (bar code data count) definitions differ according to the type of bar code. --Bar code printing is executed according to the following parameters.
• n4 bar code height (dot count) Specification A When the height of the bar code is more than the form feed amount, the form feed amount is automatically doubled. Specification B Form feed at (Bar code height + underbar characters) • k (Bar code data count), d (Bar code data) Bar code type Defined area of k UPC-E 11≤k≤12 UPC-A 11≤k≤12 JAN/EAN8 7≤k≤8 JAN/EAN13 12≤k≤13 Code39 1≤k ITF Code128 Code93 NW-7 1≤k When an odd number: 0 is automatically applied to the top.
3.3.11. Cutter Control ESC d n [Name] [Code] Auto-cutter ASCII ESC d Hex. 1B 64 Decimal 27 100 n n n [Defined Area] 0≤d≤3 48≤d≤51 (”0”≤d≤”3”) [Initial Value] [Function] --Executes the auto-cutter. After auto-cutter is executed, the printer considers that to be the top of the page. n 0, 48 1, 49 2, 50 3, 51 Auto cutter Full cut at the current position. Print data in line buffer is printed before a full cut. This command is ignored if the printer is not equipped with an auto-cutter.
3.3.12. External Device Drive ESC BEL n1 n2 [Name] [Code] Set external drive device 1 pulse width ASCII ESC BEL n1 n2 Hex. 1B 07 n1 n2 Decimal 27 7 n1 n2 [Defined Area] [Initial Value] [Function] 1≤n1≤127 1≤n2≤127 n1 = 20 (Energizing time: 200 msec) n2 = 20 (Delay time: 200 msec) Sets the energizing and delay times for drive of the external device.
BEL [Name] [Code] External device 1 drive instruction ASCII BEL Hex. 07 Decimal 7 [Defined Area] [Initial Value] [Function] ----Executes the external device drive conditions set according to the command to set the external drive device pulse width (ESC BEL n1 n2). As with other commands, it temporarily stores data in the data buffer, then executes in the order received. External device 1 and external device 2 cannot be executed simultaneously.
SUB [Name] [Code] External device 2 drive instruction ASCII SUB Hex. 1A Decimal 26 [Defined Area] [Initial Value] ----- [Function] Drives external device 2. The energizing time and delay time for the external device 2 are fixed at 200 ms each. As with other commands, it temporarily stores data in the data buffer, then executes in the order received. External device 1 and external device 2 cannot be executed simultaneously. EM [Name] [Code] External device 2 drive instruction ASCII EM Hex.
ESC GS BEL m t1 t2 [Name] [Code] Ring buzzer ASCII ESC Hex. 1B Decimal 27 [Defined Area] [Initial Value] [Function] m 1, 49 2, 50 GS BEL 1D 07 29 7 m m m t1 t1 t1 t2 t2 t2 1≤m≤2 1≤t1≤255 1≤t2≤255 --Rings the buzzer. m specifies the drive terminal of the buzzer. Buzzer Drive Terminal Buzzer Drive Terminal 1 Buzzer Drive Terminal 2 t1 specifies energizing time; t2 specifies the delay time. • Energizing time = 20 msec x t1 • Delay time = 20 msec x t2 The buzzer will not ring while printing.
ESC GS EM DC1 m n1 n2 [Name] [Code] External buzzer drive pulse condition settings ASCII ESC GS EM DC1 m n1 n2 Hex. 1B 1D 19 11 m n1 n2 Decimal 27 29 25 17 m n1 n2 [Defined Area] [Initial Value] [Function] m 1, 49 2, 50 49 ≤ m ≤ 50 1≤m≤2 0 ≤ n1 ≤ 255 0 ≤ n2 ≤ 255 n1=0 n2=0 Sets external buzzer derive pulse condition. m specifies the buzzer drive terminal to perform the condition settings.
ESC GS EM DC2 m n1 n2 [Name] [Code] External buzzer drive execution ASCII ESC GS EM DC2 Hex. 1B 1D 19 12 Decimal 27 29 25 18 [Defined Area] [Initial Value] [Function] m 1, 49 2, 50 m m m n1 n1 n1 n2 n2 n2 49 ≤ m ≤ 50 1≤m≤2 1 ≤ n1 ≤ 20 n2=0 --Repeatedly drives the buzzer according to the ON/OFF conditions set by the external buzzer drive pulse conditions command m t1 t2. m specifies the buzzer drive terminal to drive.
3.3.13. Print Settings ESC RS d n [Name] [Code] Set print density ASCII ESC Hex. 1B Decimal 27 [Defined Area] [Initial Value] [Function] n 0, 48 1, 49 2, 50 3, 51 4, 52 5, 53 6, 54 7, 55 8, 56 9, 57 10, 65 11, 66 12, 67 13, 68 14, 69 15, 70 RS d 1E 64 30 100 n n n 0≤n≤15 48≤n≤57 (”0”≤n≤”9”) 65≤n≤70 (”A”≤n≤”F”) Memory switch setting Sets print density. This command stops printing to be executed. Print density Print density 1.3 Print density 1.2 Print density 1.1 Print density 1.0 Print density 0.
ESC RS r n [Name] [Code] Set print speed ASCII ESC Hex. 1B Decimal 27 [Defined Area] [Initial Value] [Function] n 0, 48 1, 49 2, 50 RS r 1E 72 30 114 n n n 0≤n≤3 48≤n≤51 (”0”≤n≤”3”) Memory switch setting Sets print speed. This command stops printing to be executed.
3.3.14. Status ESC RS a n [Name] [Code] Set status transmission conditions ASCII ESC RS a n Hex. 1B 1E 61 n Decimal 27 30 97 n [Defined Area] [Initial Value] [Function] 0≤n≤3 48≤n≤51(”0”≤n≤”51”) Set by DIP switches and memory switches. Sets the status transmission conditions. See Appendix 2 for details regarding ASB status. Settings of this command are unaffected by the ESC @ command.
ESC ACK SOH [Name] [Code] Real-time printer status (ASB status) ASCII ESC ACK SOH Hex. 1B 06 01 Decimal 27 6 1 [Defined Area] [Initial Value] [Function] ----Sends ASB status information to the host. This command is not used when ASB is valid. See Appendix 2, Automatic Status for details regarding ASB status. ENQ [Name] [Code] Real-time printer status (1) ASCII ENQ Hex.
ETB [Name] [Code] Update ASB ETB status ASCII ETB Hex. 17 Decimal 23 [Defined Area] [Initial Value] [Function] ----(1) Specifications Sets the ASB ETB status when reading this command from the reception buffer, then sends ASB. See Appendix 2, ASB Status for details. (2) Specifications Sets the ASB ETB status when reading this command from the reception buffer. Then, after updating the ASB ETB counter, sends the ASB status. See Appendix 2, ASB Status for details.
3.3.15. Chinese Characters ESC p [Name] [Code] Specify JIS Chinese character mode ASCII ESC p Hex. 1B 70 Decimal 27 112 [Defined Area] [Initial Value] [Function] --JIS Chinese character mode cancelled Specifies JIS Chinese character mode When in JIS Chinese character mode, character codes are all handled as 2 byte Chinese characters (First byte: upper code; second byte: lower code).
ESC $ n [Name] [Code] Specify/cancel Shift JIS Chinese character mode ASCII ESC $ n Hex. 1B 24 n Decimal 27 36 n [Defined Area] [Initial Value] [Function] n 0, 48 1, 49 --Memory switch setting Specifies and cancels the shift JIS Chinese character mode. When in shift JIS Chinese character mode, character codes are all handled as 2 byte Chinese characters (First byte: upper code; second byte: lower code).
ESC s n1 n2 [Name] [Code] Set 2 byte Chinese character left/right spaces ASCII ESC s n1 n2 Hex. 1B 73 n1 n2 Decimal 27 115 n1 n2 [Defined Area] [Initial Value] [Function] 0≤n1≤7 48≤n1≤55 (”0”≤n1≤”7”) 0≤n2≤15 48≤n2≤57 (”0”≤n2≤”9”) 65≤n2≤70 (”A”≤n2≤”F”) Memory switch setting Adds n1 dot left space and n2 dot right space to Chinese characters.
ESC r c1 c2 d1...dk [Name] [Code] Register Chinese download characters ASCII ESC r c1 c2 d1 Hex. 1B 72 c1 c2 d1 Decimal 27 114 c1 c2 d1 ... ... ... dk dk dk [Defined Area] 0≤d≤255 k=72 c1 and c2 differ according to specifications and code type (see table below). [Initial Value] All spaces [Function] Registers Chinese download characters to c1 and c2 addresses. Those already registered to these addresses are overwritten.
3.3.16. Others CAN [Name] [Code] Cancel print data and initialize commands ASCII CAN Hex. 18 Decimal 24 [Defined Area] [Initial Value] [Function] ----When the reception buffer and line buffer are cleared, the set commands are initialized. Immediately executed not when taking out from the reception buffer, but when received from the host. DIPSW re-reading is not performed. The following shows the specifications that are not initialized by this command.
ESC @ [Name] [Code] Command initialization ASCII ESC @ Hex. 1B 40 Decimal 27 64 [Defined Area] [Initial Value] [Function] ----Initializes each command after printing data in the line buffer. However, printers with memory switch settings are initialized to the memory switch settings. DIPSW re-reading is not performed.
ESC GS # m N n1 n2 n3 n4 LF NUL [Name] [Code] Set memory switch ASCII ESC GS Hex.
ESC ? LF NUL [Name] [Code] Reset printer (execute self print) ASCII ESC ? LF NUL Hex. 1B 3F 0A 00 Decimal 27 63 10 0 [Defined Area] [Initial Value] [Function] ----Hardware resets the printer and executes on self print. After sending this command, the next data is not sent until the printer is online (in a state wherein it can receive data). When resetting the printer, the following processes are performed.
ESC GS + m [t1 nL1 nH1 d11 d12 … d1k] 1 [t2 nL2 nH2 d21 d22 … d2k] 2 [tm nLm nHm dm1 dm2 … dmk] m [Name] Register macro [Code] ASCII Hex. Decimal ESC 1B 27 [Code] ASCII Hex. Decimal t2 t2 t2 [Defined Area] [Initial Value] [Function] GS 1D 29 + 2B 43 nL2 nH2 nL2 nH2 nL2 nH2 m m m t1 t1 t1 d21 d22 d21 d22 d21 d22 nL1 nH1 nL1 nH1 nL1 nH1 .. .. .. d2k d2k d2k d11 d11 d11 .. .. .. d12 d12 d12 .. .. .. d1k d1k d1k tm nLm nHm dm1 dm2 tm nLm nHm dm1 dm2 tm nLm nHm dm1 dm2 .. dmk .. dmk ..
3.4. Raster Graphics Command Details Raster graphics are command types and incidental specifications that enable high speed and high quality printing of graphics. The following shows the characteristics and specifications for raster graphics. • Defines the raster mode command as the STAR line mode extension set. Basically no restrictions set in use of conventional STAR line mode. STAR Page Mode cannot be used.
ESC * r R [Name] [Code] Initialize raster mode ASCII ESC * r Hex. 1B 2A 72 Decimal 27 42 114 [Defined Area] [Initial Value] [Function] R 52 82 ----Initializes raster mode. This command is also effective when not in the raster mode. However, initialization of the raster mode with this command is executed when entering the raster mode. The following settings are initialized using this command.
ESC * r A [Name] [Code] Enter raster mode ASCII ESC * r Hex. 1B 2A 72 Decimal 27 42 114 [Defined Area] [Initial Value] [Function] A 41 65 ----Enters raster mode. This command is ignored when in the raster mode. The following shows the details regard processing of this command. (1) Reception of this command. (2) When using parallel I/F, IEEE 1284 reverse mode is prohibited. (3) All data remaining in the reception buffer and image buffer is printed equivalent to the FF command.
ESC * r B [Name] [Code] Quit raster mode ASCII ESC Hex. 1B Decimal 27 [Defined Area] [Initial Value] [Function] * r 2A 72 42 114 B 42 66 ----Quits raster mode. When quitting the raster mode, if there is raster data remaining in the image buffer of the raster mode, it quits the raster mode after executing the raster EOT mode. Note that with this command, IEEE 1284 reverse mode is allowed in parallel I/F and it sets the top of page with the line mode.
ESC * r D n NUL [Name] [Code] Drawer drive ASCII ESC Hex. 1B Decimal 27 [Defined Area] [Initial Value] [Function] n 0 1 2 3 * r 2A 72 42 114 D 44 68 n NUL n 00 n 0 0≤n≤3 n=0 Drives the drawer in the raster mode. Drawer drive conditions conform to setting command ( n1 n2) of the line mode. n is a decimal description (max. 255 digits) using ASCII characters.
ESC * r E n NUL [Name] [Code] Set raster EOT mode ASCII ESC * r Hex. 1B 2A 72 Decimal 27 42 114 [Defined Area] [Initial Value] [Function] E 45 69 n NUL n 00 n 0 n = 0, 1, 2, 3, 8, 9, 12, 13, 36, 37 Models handling full cut: n = 9 Models connected with a presenter: n = 37 Sets the raster EOT mode. The EOT mode operates to execute using the raster document quit command (ESC FF EOT). n is a decimal description (max. 255 digits) using ASCII characters.
ESC * r F n NUL [Name] [Code] Set raster FF mode ASCII ESC * r Hex. 1B 2A 72 Decimal 27 42 114 [Defined Area] [Initial Value] [Function] F 46 70 n NUL n 00 n 0 n = 0, 1, 2, 3, 8, 9, 12, 13, 36, 37 Models handling full cut: n = 9 Models connected with a presenter: n = 37 Sets raster FF mode. The FF mode operates to execute using the raster document quit command (ESC FF NUL). n is a decimal description (max. 255 digits) using ASCII characters.
ESC * r P n NUL [Name] [Code] Set raster page length ASCII ESC * r Hex. 1B 2A 72 Decimal 27 42 114 [Defined Area] [Initial Value] [Function] n 0 1≤n P 50 80 n NUL n 00 n 0 --Raster image buffer length Sets raster page length. n is a decimal description (max. 255 digits) using ASCII characters. Continuous print mode (no page length setting) Specify page length ESC * r Q n NUL [Name] [Code] Set raster print quality ASCII ESC * r Hex.
ESC * r m l n NUL [Name] [Code] Set raster left margin ASCII ESC * r m l Hex. 1B 2A 72 6D 6C Decimal 27 42 114 109 108 [Defined Area] [Initial Value] [Function] n n n NUL 00 0 --n=0 Sets raster left margin. This command sets the left margin to (n x 8). When the left margin exceeds the printable area, or if the left margin specification eliminates the print area (printable region to right margin) to the left margin specified value, this command is ignored. n is a decimal description (max.
ESC * r T n NUL [Name] [Code] Set raster top margin ASCII ESC * r Hex. 1B 2A 72 Decimal 27 42 114 [Defined Area] [Initial Value] [Function] T 54 84 n NUL n 00 n 0 0≤n≤2 --Sets the raster top margin. n is a decimal description (max. 255 digits) using ASCII characters. n Top margin 0 Set To Default 1 Set top margin using reverse paper feed. 2 Set standard top margin. (*) This differs according to the model handling this command. The line mode top margin setting continues after entering the raster mode.
b n1 n2 data [Name] [Code] Send raster data (auto line feed) ASCII b n1 n2 d1 Hex. 62 n1 n2 d1 Decimal 98 n1 n2 d1 [Defined Area] [Initial Value] [Function] d2 d2 d2 ... ... ... dk dk dk 0≤n1≤255 0≤n2≤255 0≤d≤255 k= n1+n2 x 256 1≤k --Sends raster data (auto line feed). Raster data is sent in (n1 + n2 x 256) byte counts as binary data. Raster data exceeding the print area currently set is discarded.
k n1 n2 data [Name] [Code] Transfer raster data ASCII k n1 Hex. 6B n1 Decimal 107 n1 [Defined Area] [Initial Value] [Function] n2 n2 n2 d1 d1 d1 d2 d2 d2 ... ... ... dk dk dk 0≤n1≤255 0≤n2≤255 0≤d≤255 k≤ n1+n2 x 256 1≤k --Sends raster data. Raster data is sent in (n1 + n2 x 256) byte counts as binary data. Raster data exceeding the print area currently set is discarded.
ESC * r Y n NUL [Name] [Code] Move vertical direction position (Line feed for specified dots) ASCII ESC * r Y n NUL Hex. 1B 2A 72 59 n 00 Decimal 27 42 114 89 n 0 [Defined Area] [Initial Value] [Function] ----Moves vertical direction position. Moves position n dots with this command. When the current page length setting is in continuous print mode, and the n dots exceed the remaining dot count of the raster image buffer length, this moves up to the remaining dot count and ignores the overflow.
ESC FF NUL [Name] [Code] Execute FF mode ASCII ESC FF Hex. 1B 0C Decimal 27 12 [Defined Area] [Initial Value] [Function] NUL 00 0 ----Executes FF mode. Executes operation specified by the FF mode setting command (ESC * r F n NUL). ESC FF EOT [Name] [Code] Execute EOT mode ASCII ESC FF Hex. 1B 0C Decimal 27 12 [Defined Area] [Initial Value] [Function] EOT 04 4 ----Executes EOT mode. Executes operation specified by the EOT mode setting command (ESC * r E n NUL).
ESC * r V m n NUL [Name] [Code] Execute external buzzer drive ASCII ESC * r V Hex. 1B 2A 72 56 Decimal 27 42 114 86 [Defined Area] [Initial Value] [Function] 1 31 49 n NUL n 0 n 0 m=49,50 1≤n≤20 --Repeatedly drives the buzzer according to the ON/OFF conditions set by the external buzzer drive pulse conditions command m n1 n2. m 49 50 m specifies the buzzer drive terminal to drive.
3.5. Black Mark Related Command Details The following commands control top of form functions using black mark paper. The following commands are effective only when black mark is set to be effective. ESC d n [Name] [Code] Auto cutter ASCII ESC d Hex. 1B 64 Decimal 27 100 [Defined Area] [Initial Value] [Function] n 0, 48 1, 49 2, 50 3, 51 n n n 0≤d≤3 48≤d≤51 (”0”≤d≤”3”) --Executes the auto-cutter. After auto-cutter is executed, the printer considers that to be the top of the page.
FF [Name] [Code] Execute top of form ASCII FF Hex. 0C Decimal 12 [Defined Area] [Initial Value] [Function] ----Executes top of form. ESC C n [Name] [Code] Set page length to n lines ASCII ESC C n Hex. 1B 43 n Decimal 27 67 n [Defined Area] [Initial Value] [Function] 1≤n≤127 (Form feed amount initial value x 42) When black mark is effective, this command is ignored.
ESC C 0 n [Name] [Code] Set page length to n x 24 mm units ASCII ESC C 0 n Hex. 1B 43 0 n Decimal 27 67 0 n [Defined Area] [Initial Value] [Function] 1≤n≤22 (Form feed amount initial value x 42) When black mark is effective, this command is ignored.
VT [Name] [Code] Feed paper to vertical table position ASCII VT Hex. 0B Decimal 11 [Defined Area] [Initial Value] [Function] ----When black mark is effective, this command is ignored. ESC B n1 n2...nk NUL [Name] [Code] Set vertical tab position ASCII ESC B n1 Hex. 1B 42 n1 Decimal 27 66 n1 [Defined Area] [Initial Value] [Function] n2 n2 n2 ... ... ... nk NUL nk 00 nk 0 1≤n≤255 0≤k≤16 --When black mark is effective, this command is ignored.
3.6. USB Related Command Details The following commands control USB I/F functions. There are no corresponding commands.
3.7. 2 Color Printing Command Details The following commands control 2 color printing functions. The following commands are effective only when using a model handling 2 color printing. ESC RS c n [Name] [Code] Set print color in 2 color print mode ASCII ESC RS c n Hex. 1B 1E 63 n Decimal 27 30 99 n [Defined Area] [Initial Value] [Function] n 0, 48 1, 49 0≤n≤1 48≤n≤49 (”0”≤n≤”1”) n = 0, 48 (When in 2 color print mode) Specifies print color in 2 color print mode.
ESC RS C n [Name] [Code] Select/cancel 2 color print mode ASCII ESC RS C n Hex. 1B 1E 43 n Decimal 27 30 67 n [Defined Area] [Initial Value] [Function] n 0, 48 1, 49 Specification A 0≤n≤2 48≤n≤50 (”0”≤n≤”2”) Specification B 0≤n≤1 48≤n≤49 (”0”≤n≤”1”) Specification C 0≤n≤2 48≤n≤50 (”0”≤n≤”2”) n = 16, n = 32 n = 0, 48 Specification A Select/cancel 2 color print mode Cancels 2 color print mode This command cancels 2 color print mode, when in 2 color print mode.
Specification B n Select/cancel 2 color print mode 0, 48 Cancels 2 color print mode This command cancels 2 color print mode, when in 2 color print mode. This command is ignored when the 2 color print mode is already cancelled. The specification of this command is not cleared by ESC @ CAN. The following processes are executed by canceling the 2 color print mode using this command. • Prints data in line buffer in 2 color print mode, if unprinted data exists in the line buffer.
ESC 4 [Name] [Code] Select white/black inverted printing ASCII ESC 4 Hex. 1B 34 Decimal 27 52 [Defined Area] [Initial Value] [Function] --White/black inversion cancelled Specifies white/black inversion for ANK characters and Chinese characters. IBM block ignores white/black inversion. ESC 5 [Name] [Code] Cancel white/black inversion ASCII ESC 5 Hex.
ESC RS d n [Name] [Code] Set print density ASCII ESC Hex. 1B Decimal 27 [Defined Area] [Initial Value] [Function] RS d 1E 64 30 100 n n n 0≤n≤15 48≤n≤57 (”0”≤n≤”9”) 65≤n≤70 (”0”≤n≤”F”) Memory switch setting Sets print density. This command stops printing to be executed. When in two-color print mode, this can set the print density of red print. n 0, 48 1, 49 2, 50 3, 51 4, 52 5, 53 6, 54 7, 55 8, 56 9, 57 10, 65 11, 66 12, 67 13, 68 14, 69 15, 70 Single Color Printing Mode Print density 1.
ESC RS r n [Name] [Code] Set printing speed ASCII ESC RS r Hex. 1B 1E 72 Decimal 27 30 114 [Defined Area] [Initial Value] [Function] N 0, 48 1, 49 2, 50 3, 51 n n n 0≤n≤3 48≤n≤51 (”0”≤n≤”3”) Memory switch setting Sets print speed. This command stops printing to be executed. Because two-color print mode prints in one speed, the speed settings with this command are invalid. This command setting becomes valid when returned from the two-color print mode to the single color print mode.
ESC FS q n [Name] [Code] [x11 x12 y11 y12 d1...dk]1...[xn1 xn2 yn1 Register logo ASCII ESC FS n [x11 x12 y11 y12 d1 … dk]1 q Hex. 1B 1C 71 n [x11 x12 y11 y12 d1 … dk]1 Decimal 27 28 113 n [x11 x12 y11 y12 d1 … dk]1 [Defined Area] [Initial Value] [Function] yn2 d1...dk]n … [xn1 xn2 yn1 yn2 … [xn1 xn2 yn1 yn2 … [xn1 xn2 yn1 yn2 d1 d1 d1 ... dk]n ... dk]n ...
Relationships of logo and registered data xn = xn1 + xn2 x 256 yn = yn1 + yn2 x 256 {(xn1 + xn2 x 256) x 8} dots Data MSB (yn1 + yn2 x 256) bytes (yn1 + yn2 x 256) x 8 dots d[11] d[21] d[n1] d[12] d[22] d[n2] LSB d[x1] d[x2] d[xn] ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― STAR Line Mode Command Specifications 3-91
ESC FS p n m [Name] [Code] Print logo ASCII Hex. Decimal [Defined Area] [Initial Value] [Function] m 0, 48 1, 49 2, 50 3, 51 ESC 1B 27 FS p 1C 70 28 112 n n n m m m 1≤n≤255 0≤m≤3 48≤m≤51 (”0”≤m≤”3”) --Prints the logo of registration number n registered using the logo registration command (ESC FS q) according to the print mode m.
3.8. Presenter Related Command Details The following commands control the presenter functions. The following commands are effective only on models equipped with a presenter. ESC SYN 0 n [Name] [Code] Execute presenter paper recovery ASCII ESC SYN 0 n Hex. 1B 16 30 n Decimal 27 22 48 n [Defined Area] [Initial Value] [Function] n=0 --Executes presenter paper recovery. This command is ignored when a presenter is not connected.
ESC SYN 3 n [Name] [Code] Acquire presenter paper counter ASCII ESC SYN 3 n Hex. 1B 16 33 n Decimal 27 22 51 n [Defined Area] [Initial Value] [Function] n = 0, 1 n = 48, 49 (”0”, “1”) --Acquires presenter paper counter. This command is ignored when a presenter is not connected. Counter can count to 0xFFFFFFFF sheets. Counter is cleared to zero when the following conditions are met.
ESC SYN 4 n [Name] [Code] Initialize presenter paper counter ASCII ESC SYN 4 n Hex. 1B 16 34 n Decimal 27 22 52 n [Defined Area] [Initial Value] [Function] n=0 --Initializes the presenter paper counter (paper reel counter/paper recovery counter). Initialization of the paper counter using this command is executed when this command is processed.
3.9. Mark Command Details This command is specialized for printing mark sheets for lotteries. This command can print lines. LOTTERY 10 01 05 32 85 86 50 70 77 08 50 21 42 46 40 12 02 06 78 Printed Marks 2003/04/08 STAR micronics.co,ltd No.
4.
ESC GS * 0 n m1 m2 m3 … mk [Name] [Code] Print mark ASCII ESC GS Hex. 1B 1D Decimal 27 29 [Defined Area] [Initial Value] [Function] * 2A 42 0 30 48 n n n m1 m1 m1 m2 m2 m2 m3 m3 m3 … … … mk mk mk “001” ≤ n ≤ ”255” “0” ≤ m ≤ ”9” k=n --Prints the mark number specified by m, based on the mark format (mark height, mark line feed amount, each mark color, and each mark horizontal width) that is preset. n indicates the number of marks to print; If the number of marks is 10 (m1 to m10), n = “010.
ESC GS * 1 h v [Name] [Code] Specify mark height and line feed ASCII ESC GS * 1 Hex. 1B 1D 2A 31 Decimal 27 29 42 49 h h h v v v “001” ≤ h ≤ ”255” “001” ≤ v ≤ ”255” h≤v Non-volatile memory Specifies mark height and line feed amount h is the mark height (number of dots); v is the line feed amount for the mark (number of dots) h and v are ASCII character strings that are represented by decimals; They are composed of character codes “0” to “9.
ESC GS * W [Name] [Code] Register mark format to non-volatile memory ASCII ESC GS * W Hex. 1B 1D 2A 57 Decimal 27 29 42 87 [Defined Area] [Initial Value] [Function] ----Registers the mark format (mark height, mark line feed amount, each mark color, and each mark horizontal width) to the non-volatile memory. After registering to the non-volatile memory, the printer is reset. ESC GS * C [Name] [Code] Initialize mark format in the non-volatile memory ASCII ESC GS * C Hex.
3.10. AUTO LOGO Function Command Details This command functions to print logos, like the one below, by only changing the product name, when only product names can be changed in systems that are already in use. Also, this function has two operating modes. 1) Standard Auto Logo Function The Auto Logo function is preset and executes the following operations using the print cut command under the current system as a trigger. 1.
2) Simple Auto Logo Function The simple Auto Logo function is preset and executes the following operations using the print cut command under the current system as a trigger. 1. Start up the simple Auto Logo function using the current system cut command as a trigger 2. Center alignment command process 3. Print Logo 2 4. Feed paper to cutting position and execute a partial cut 5. Print Logo 1 6.
1) Set the Auto Logo function in advance and register it to the non-volatile memory. ESC GS / 1 n (n=0x01) Auto Logo Function ON ESC GS / 2 n ( n=“/” ) Specify Auto Logo Command Character (“/”) ESC GS / 3 nL nH d1 d2... dk User Macro 1 Definition nL=4 nH=0 Registered Macro Count = 4 Bytes d1=0x1b d2=0x1d d2=0x61 d3=0x01 Registered Macro ESC GS / 4 nL nH d1 d2...
ESC GS / W [Name] [Code] Register Auto Logo setting to non-volatile memory ASCII ESC GS / W Hex. 1b 1d 2f 57 Decimal 27 29 47 87 [Defined Area] [Initial Value] [Function] ----Registers Auto Logo setting to non-volatile memory After registration, the printer is reset. This command is ignored when Auto Logo is being executed. ESC GS / C [Name] [Code] Initialize Auto Logo setting to non-volatile memory ASCII ESC GS / C Hex.
ESC GS / 1 n [Name] [Code] Auto Logo Function On/Off Setting ASCII ESC GS / 1 Hex. 1b 1d 2f 31 Decimal 27 29 47 49 [Defined Area] [Initial Value] [Function] n n n 0≤n≤2 n=0 Turns the Auto Logo function on and off. This command is registered to the non-volatile memory by the / W command. When in raster mode, the Auto Logo function is invalid. This command is ignored when Auto Logo is being executed.
ESC GS / 2 n [Name] [Code] Set command character ASCII ESC GS / Hex. 1b 1d 2f Decimal 27 29 47 [Defined Area] [Initial Value] [Function] 3 32 50 n n n 32 ≤ n ≤ 127, n = 0 n=0 Sets the Auto Logo function command character. This command is registered to the non-volatile memory by the “ / W” command. This command is ignored when Auto Logo is being executed.
ESC GS / 3 nL nH d1 d2 … dk [Name] [Code] Set user macro 1 ASCII ESC GS Hex. 1b 1d Decimal 27 29 [Defined Area] [Initial Value] [Function] / 2f 47 3 33 51 nL nL nL nH nH nH d1 d1 d1 d2 d2 d2 ... ... ... dk dk dk 1 ≤ n ≤ 64 nH = 0 1 ≤ (nL + nH x 256) ≤ 64 dk = (nL + nH x 256) 0 ≤ d ≤ 255 No user macro 1 setting Sets the user macro 1 of the Auto Logo function. This command is registered to the non-volatile memory by the “ / W” command.
ESC GS / 5 n [Name] [Code] Set command character switching method ASCII ESC GS / 5 n Hex. 1b 1d 2f 35 n Decimal 27 29 47 53 n [Defined Area] [Initial Value] [Function] 0≤n≤1 n=0 Sets the Auto Logo function command character switching method. This command is registered to the non-volatile memory by the “ / W” command. This command is ignored when Auto Logo is being executed.
ESC GS / 6 n [Name] [Code] Set partial cut before Auto Logo printing ASCII ESC GS / 6 n Hex. 1b 1d 2f 36 n Decimal 27 29 47 54 n [Defined Area] [Initial Value] [Function] 0≤n≤1 n=0 Sets a partial cut before the Auto Logo printing. This command is registered to the non-volatile memory by the “ / W” command. This command is ignored when Auto Logo is being executed. n Setting 0 Does not execute a partial cut before the Auto Logo printing. 1 Executes a partial cut before the Auto Logo printing.
3.11. Two-dimensional Bar Code PDF417 Command Details This command prints two-dimensional bar code PDF417. There are four types of commands, according to functions, for two-dimensional bar code PDF417. (1) Bar code type setting ( “x” “S”) (2) Bar code data setting ( “x” “D”) (3) Bar code printing ( “x” “P”) (4) Bar code expansion information acquisition ( “x” “I”) The following describes the functions in detail.
The settings above are set individually, so the errors described below may be generated even if there is no particular problem in those settings. In such case, if the bar code is generated the (3) print command ( “x” “P”) is ignored. • Error is generated when generating a bar code, due to the combination of the bar code setting commands. • The bar code data that is generated exceeds the printable size of PDF417. • Print data exceeds the currently set print region.
ESC GS x S 0 n p1 p2 Name] [Code] Set PDF417 bar code size ASCII ESC GS x Hex.
ESC GS x S 3 n Name] [Code] Set PDF417 module aspect ratio ASCII ESC GS x S Hex. 1B 1D 78 53 Decimal 27 29 120 83 [Defined Area] [Initial Value] [Function] 3 33 51 n n n 1 ≤ n ≤ 10 n=3 Parameter details • n: Sets the module aspect ratio (asp). The module Y direction size (x-dim x asp) is set using this command. It is recommended that 2 ≤ n when specifying using this command. When using with n = 1, check by actual use.
ESC GS x I [Name] [Code] Get PDF417 bar code expansion information ASCII ESC GS x I Hex. 1B 1D 78 49 Decimal 27 29 120 73 [Defined Area] [Initial Value] [Function] ----When printing a bar code with the current settings and at the print starting position using this command, error information is sent to the printer. Therefore, it is possible to check whether it is possible to print before actually printing, by using this command.
3.12. Details of the Print Starting Trigger Control Command This command is for models equipped with an expansion control function for page control of line unit commands, by controlling the image buffer by page. ESC GS g 0 m n [Name] [Code] Print starting trigger ASCII ESC GS g Hex. 1B 1D 67 Decimal 27 29 103 [Defined Area] [Initial Value] [Function] 0 30 48 m m m n n n m = 0, n = 0 --Starts printing when there is unprinted data in the image buffer.
3.13. Two-Dimensional Bar Code QR Code Command Details * Note that QR code is a registered trademark of DENSO WEB. This command is for printing 2-dimensional bar code QR codes. There are four functions of the commands relating to the 2-dimensional bar code QR codes, shown below.
(2) Set bar code data This command sets the bar code print data. There are four types of data that can be set using QR codes. They are: numbers; English characters; binary; and Kanji. Furthermore, there are two types of data setting methods. One is to specify these along with the bar code data (data manual analysis), and the other is to specify only the bar code data (data automatic analysis). (3) Set page mode This command is not used.
The following is an example showing the sending of the commands. (1) (2) Set bar code type “y” “S” “0” 1 “y” “S” “1” 0 “y” “S” “2” 3 Set bar code data • “y” “D” “1” 0 20 0 • “y” “D” “2” 10 420 110 420 110 420 420 230 420 310 Sets to model 1. Sets mistake correction level to L. Sets cell size to 3 dots.
ESC GS y S 0 n [Name] [Code] Set QR code model ASCII ESC GS y Hex. 1B 1D 79 Decimal 27 29 121 [Defined Area] [Initial Value] [Function] S 53 83 0 30 48 n n n 1≤n≤2 n=2 Sets the model. • Parameter details n 1 2 Set Model Model 1 Model 2 ESC GS y S 1 n [Name] [Code] Set QR code mistake correction level ASCII ESC GS y S 1 Hex. 1B 1D 79 53 31 Decimal 27 29 121 83 49 [Defined Area] [Initial Value] [Function] n n n 0≤n≤3 n=0 Sets the mistake correction level.
ESC GS y D 1 m nL nH d1 d2 … dk [Name] [Code] Set QR code cell size (Auto Setting) ASCII ESC GS y D 1 Hex. 1B 1D 79 44 31 Decimal 27 29 121 68 49 [Defined Area] [Initial Value] [Function] m m m nL nL nL nH nH nH d1 d1 d1 d2 d2 d2 … … … dk dk dk m=0 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 1 ≤ nL + nH x 256 ≤ 7089 (k = nL + nH x 256) 0 ≤ d ≤ 255 --Automatically expands the data type of the bar code and sets the data. • Parameter details • nL + nH x 256: Byte count of bar code data • dk: Bar code data (Max.
ESC GS y D 2 a m1 n1L n1H d11 d12 • • • d1k m2 n2L n2H d21 d22 • • • d2k ml • • • dlk [Name] Set QR code cell size (Manual setting) ESC GS y D 2 a m1 n1L n1H d 11 d12 … d1K [Code] ASCII 1B 1D 79 44 32 a m1 n1L n1H d 11 d12 … d1K Hex. 27 29 121 68 50 a m1 n1L n1H d 11 d12 … d1K Decimal ASCII Hex.
ESC GS y P [Name] [Code] Print QR code ASCII ESC GS y Hex. 1B 1D 79 Decimal 27 29 121 [Defined Area] [Initial Value] [Function] P 50 80 ----Prints bar code data. When receiving this command, if there is unprinted data in the image buffer, the printer will print the bar code after printing the unprinted print data. A margin of more than 4 cells is required around the QR code. The user should ensure that space. Always check printed bar codes in actual use.
3.14. Page Function Command Details ESC GS h 0 k m n [Name] [Code] 180 degree turnover ASCII ESC GS h Hex. 1B 1D 68 Decimal 27 29 104 [Defined Area] [Initial Value] [Function] 0 30 48 k k k m m m n n n 0 ≤ k ≤ 1, m = 0, n = 0 --Sets 180 degree turnover function to be valid/invalid. n 180 Degree Turnover Function 0 Invalid 1 Valid <180 Degree Turnover Function> When set to the 180 degree turnover function, that function is executed at the trigger.
ESC GS h 1 k m n [Name] [Code] Water mark function ASCII ESC GS h Hex. 1B 1D 68 Decimal 27 29 104 [Defined Area] [Initial Value] [Function] 1 31 49 k k k m m m n n N 0 ≤ k ≤ 2, 0 ≤ m ≤ 2, 1 ≤ n ≤ 255 --Sets the water mark function to be valid/invalid. k 0 1 Water Mark Function Invalid Valid Prints one specified logo at a position centered horizontally and vertically. 2 Valid Repeats printing of the specified logo from the top edge to the bottom edge at positions centered horizontally.
4. CHARACTER CODE TABLES Refer to the separate ”Character Code Tables” .
5. APPENDIX 5.1. Appendix 1: Bar Code Specification Details Refer to the dedicated manuals for characteristics and methods of use for each bar code symbol. This section describes precautions and methods for setting when printing with the printer. Bar code widths are set for each bar code according to the mode. The following describes each mode and the dot counts. The user must ensure the specified printing position and quiet zone at the position where the bar code begins. 5.1.1.
5.1.3. JAN/EAN/UPC Used numbers, not only the bar code symbols, are controlled using JAN, EAN and UPC as shared common commercial codes. Mainly, they are used for supermarkets such as shops and grocery stores. 1. Each mode and bar code width Items Mode 1 Module Width 2 dots Bar code width (*) JAN/EAN-8 16.75 mm JAN/EAN-13 23.75 mm UPC-A 23.75 mm UPC-E 12.75 mm (*) Includes the guard bar (left/right/center) but not the white space. Mode 2 3 dots 25.125 mm 35.625 mm 35.625 mm 19.125 mm Mode 3 4 dots 33.
5.1.4. Code 128 These are bar code symbols that can print ASCII 128 characters. For that reason, use thereof is increasing. 1. Each module and module width Items Mode 1 Module Width 2 dots Length of 1 2.75 mm Character (*) (*) Start and stop bars not included. Mode 2 3 dots 4.125 mm Mode 3 4 dots 5.5 mm 2. Regulations When using with the command, control codes are not sent by the host PC, so the control codes are sent as data, as shown below.
• 2 Character set code table Code Format NUL 00H %@ 25H 40H SOH 01H %A 25H 41H STX 02H %B 25H 42H ETX 03H %C 25H 43H EOT 04H %D 25H 44H ENQ 05H %E 25H 45H ACK 06H %F 25H 46H BEL 07H %G 25H 47H BS 08H %H 25H 48H HT 09H %I 25H 49H LF 0AH %J 25H 4AH VT 0BH %K 25H 4BH FF 0CH %L 25H 4CH CR 0DH %M 25H 4DH SO 0EH %N 25H 4EH SI 0FH %O 25H 4FH DLE 10H %P 25H 50H DC1 11H %Q 25H 51H DC2 12H %R 25H 52H DC3 13H %S 25H 53H DC4 14H %T 25H 54H NAK 15H %U 25H 55H SYN 16H %V 25H 56H ETB 17H %W
5.1.5. Code 93 1. Each mode and module width Items Module Width Length of 1 Character (*) (*) Start and stop bars not included. Mode 1 2 dots 2.25 mm Mode 2 3 dots 3.375 mm Mode 3 4 dots 4.5 mm 2. Regulations • Start/stop codes are automatically applied. • Check character (C, K) is automatically applied. • 2 character set expression conforms to Code 128. However, items marked with a star are codes that can only be used with Code 128, and not with Code 93. 5.1.6.
5.2. Appendix 2: Status Specifications 5.2.1. ENQ Command Status This status is the one the printer transmits using the ENQ command.
5.2.3. Automatic Status Automatic status is a group of states that are automatically returned from the printer to the host when the printer’s status has changed. Automatic status is composed of “Header – 1,” “Header – 2” and “plurality of bytes of the printer status and is continuously returned to the host. The host always uses an identifying method to identify the data for every byte received.
2. Header -2 Header -2 is the 1 byte length information transmitted from the second byte of the automatic status. The table below shows the composition of the Header -2. Header -2 represents the automatic status version (called automatic status version below) using bit 1 to bit 3 and bit 5. For reference, the table below shows the relationship of actual version bytes and the Header -2.
3. Printer Status Printer status is the status of the printer sent from the third byte of the automatic status. Printer status is returned for (transmitted byte count – 2 in Header – 1). Printer status is always updated for new information. (No log exists.) The following shows the composition of the status.
TSP828L Operation Mode Tear Bar Mode Sensor Used Transmissive Type Cause of BM Errors Detected label paper over 400 mm Detected base paper over 400 mm Detected page error (When MSW is valid) When length error detected (When MSW is valid) Detected label paper over 400 mm Detected page error (When MSW is valid) When length error detected (When MSW is valid) Detected label paper over 400 mm Detected base paper over 400 mm Detected page error When length error detected (When MSW is valid) Detected label paper
Bit Contents Status “0” “1” Model Compatability TSP800 TSP700 TSP600 V. 4.0 or later V. 3.0 or V. 3.0 or later later TUP900 TSP1000 TSP828L 7 Fixed at 0 6 ETB Counter Bit-4 OK OK OK OK OK OK 5 ETB Counter Bit-3 OK OK OK OK OK OK 4 Fixed at 0 3 ETB Counter Bit-2 OK OK OK OK OK OK 2 ETB Counter Bit-1 OK OK OK OK OK OK 1 ETB Counter Bit-0 OK OK OK OK OK OK 0 Fixed at 0 (*) ETB Counter This counter is the 5 bit ETB counter. (It counts from 0 to 31.
Bit Contents Status By model TSP800 “0” 7 6 5 4 Fixed at “0” Not Used (Fixed at “0”) Not Used (Fixed at “0”) Fixed at “0” 3 Presenter Paper Position 2 Presenter Paper Position 1 Presenter Paper Position “1” - (See table below) (See table below) (See table below) TSP700 TSP600 TUP900 TSP1000 TSP828L TSP700II TSP650 Ver. 4.3 or Ver. 3.2 or Ver. 3.2 or Ver. 1.
3) Status identification method Command/Functions Status bit7 bit6 bit5 bit4 bit3 bit2 XON 0 0 0 1 0 0 XOFF 0 0 0 1 0 0 ENQ * * * 0 * * EOT * * * 1 * * ASB (Header – 1) 0 * * 0 * * ASB (Other than Header – 1) 0 * * 0 * * Indicates “0” bit is fixed at 0/Indicates 1 is fixed at 1/Inidcates * variable bit.
5.2.4 Printer status transmission specification when using Ethernet I/F and Wireless LAN I/F The following describes printer status transmission specifications when using an Ethernet I/F and wireless LAN I/F.
2. Separator character 1 (1 Byte) Sends “:” 3. Data Type (1byte) Indicate printer status data; sends “B” (binary type). 4. Status Length (2 bytes) 2 byte value indicating printer status byte count. 5. Printer Status (Variable length) Status sent by printer. Status differs according to the cause. See the command causes and automatic status for details on the content of statuses. 6.
5.3. Appendix 3: Blank Code Page Configuration Blank code pages are character code tables that are empty from character code 80H to FFH. They can be specified using the command below. • ESC GS t n (n=255) Also, it is possible to write data to the blank code page area using the command below. • ESC GS = ... ... 1. Example configuration of Font A data.
2. Example configuration of Font B data. (9 x 24 font) The STAR mode is not loaded with Font B. However, when registering data, Font A and Font B must be registered as a set. When doing so, Font B data can be zero data.
• TSP700II CounterType Permanent Counter User Counter Maintenance Counter EstimatedLife CountUp Predetermined Times For each 4,000 dot lines (500 mm) Head Energizing Count 800 Million dot lines LF Motor Traveling Distance 100 km; 800 Million dot lines For 4,000 lines mm) Cutter Drive Count Counter MaximumValue 0xF4240 Million) (1 each dot (500 0xF4240 Million) (1 200,000 cuts Every 10 cuts 0xF4240 Million) (1 Head Energizing Count 800 Million dot lines For 4,000 lines mm) each dot (50
5.4.
2) Model 2 Version and Maximum Number of Input Characters Version Cell Count on Mistake Number of English One Side Correction Characters Characters Level 1 21 L 41 25 M 34 20 Q 27 16 H 17 10 2 25 L 77 47 M 63 38 Q 48 29 H 34 20 3 29 L 127 77 M 101 61 Q 77 47 H 58 35 4 33 L 187 114 M 149 90 Q 111 67 H 82 50 5 37 L 255 154 M 202 122 Q 144 87 H 106 64 6 41 L 322 195 M 255 154 Q 178 108 H 139 84 7 45 L 370 224 M 293 178 Q 207 125 H 154 93 8 49 L 461 279 M 365 221 Q 259 157 H 202 122 9 53 L 552 335 M 432 262 Q
Version Cell Count on One Side 16 81 17 85 18 89 19 93 20 97 21 101 22 105 23 109 24 113 25 117 26 121 27 125 28 129 29 133 30 137 Mistake Correction Level L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H Number of Characters English Characters Binary Kanji 1408 1082 775 602 1548 1212 876 674 1725 1346 948 746 1903 1500 1063 813 2061 1600 1159 919 2232 1708 1224 969 2409 1872 1358 1056 2620 2059 1468
Version Cell Count on One Side 31 141 32 145 33 149 34 153 35 157 36 161 37 165 38 169 39 173 40 177 Mistake Correction Level L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H L M Q H Number of Characters English Characters Binary Kanji 4417 3486 2473 1897 4686 3693 2670 2022 4965 3909 2805 2157 5253 4134 2949 2301 5529 4343 3081 2361 5836 4588 3244 2524 6153 4775 3417 2625 6479 5039 3599 2735 6743 5313 3791 2927 7089 5596 3993 3057 2677 2113 1499 1150 2840
5.5.
6. SPECIAL APPENDIX COMMAND LIST FOR EACH MODEL IN EACH I/F 6.1. RS-232C I/F • Standard Commands Class Commands TSP800 Font Style ESC RS F NO and ESC GS = Ver. 3.0 or Character Set later ESC R OK ESC / OK ESC SP OK ESC M OK ESC P OK ESC : OK ESC p (Not OK recommended) ESC g Spec.
Class External device drive Print Setting Status Chinese Character Others Macro Commands ESC BEL BEL FS SUB EM ESC GS BEL TSP800 OK TSP600 OK TUP900 NO Model Name TSP1000 TSP828L NO NO ESC GS EM DC1 ESC GS EM DC2 ESC RS d ESC RS r ESC RS a NO NO OK OK Spec. A OK OK OK OK Ver. 5.0 or later NO NO OK OK Spec. A ESC ACK SOH ENQ EOT ETB ESC RS E ESC p OK OK OK Spec. A OK OK OK OK OK Spec. A OK OK OK OK OK Spec. A OK OK NO NO OK OK Spec. A Ver. 1.2 or earlier Spec. B Ver. 1.
• Black Mark Related Commands Class Black Mark Related Commands Commands TSP700 OK OK OK OK OK OK TSP600 OK OK OK OK OK OK TSP700 Ver. 2.0 or later Spec. A Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later TSP600 Ver. 2.0 or later Spec. A Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.
• PDF417 Commands Class PDF417 Commands Commands ESC GS x S 0 TSP800 NO TSP700 NO TSP600 NO ESC GS x S 1 NO NO NO ESC GS x S 2 NO NO NO ESC GS x S 3 NO NO NO ESC GS x D NO NO NO ESC GS x P NO NO NO ESC GS x I NO NO NO TSP700 NO TSP600 NO Model Name TUP900 TSP1000 Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.
6.2. Parallel I/F • USB I/F (Ver2.0) • Standard Commands Class Commands TSP800 Font Style ESC RS F NO and ESC GS t OK Character Set ESC GS = VER. 3.0 OR LATER ESC R OK ESC / OK ESC SP OK ESC M OK ESC P OK ESC : OK ESC p (Not OK recommended) ESC g Spec.
Class External device drive Print Setting Status Chinese Character Others Macro Commands ESC BEL BEL FS SUB EM ESC GS BEL Model Name TUP900 TSP1000 NO NO TSP800 OK TSP700 OK TSP600 OK OK OK OK OK NO OK OK OK OK NO NO NO NO NO NO NO NO OK OK Spec. A TSP828L NO TSP700II OK TSP650 OK NO NO NO NO OK NO NO NO NO NO OK OK OK OK OK OK OK OK OK OK NO NO OK OK Spec. B NO NO OK OK Spec. B NO NO OK OK Spec. B OK OK OK OK Spec. B OK OK OK Spec. B OK OK OK OK OK Spec. B OK OK OK OK OK Spec.
• Black Mark Related Commands Class Black Mark Related Commands Commands ESC d FF ESC C ESC C 0 VT ESC B TSP800 OK OK OK OK OK OK TSP700 OK OK OK OK OK OK TSP600 OK OK OK OK OK OK TSP700 Ver. 2.0 or later Spec. A Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later TSP600 Ver. 2.0 or later Spec. A Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.
• PDF417 Commands Class PDF417 Commands ESC GS x S 0 TSP800 NO TSP700 NO TSP600 NO Command ESC GS x S 1 s ESC GS x S 2 NO NO NO NO NO NO ESC GS x S 3 NO NO NO ESC GS x D NO NO NO ESC GS x P NO NO NO ESC GS x I NO NO NO TSP700 NO TSP600 NO Model Name TUP900 TSP1000 Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.
6.3. USB I/F (Ver1.0) • Ethernet I/F (Silex Ver1.0) • Standard Commands Class Commands TSP800 Font Style ESC RS F NO and ESC GS t OK Character ESC GS = Ver. 3.0 or Set later (*) ESC R OK ESC / OK ESC SP OK ESC M OK ESC P OK ESC : OK ESC p (Not OK recommended) ESC g Spec.
Class External Device Drive Print Setting Status Chinese Character Others Macro Commands ESC BEL TSP800 OK BEL FS SUB EM ESC GS BEL OK OK OK OK NO ESC GS EM DC1 ESC GS EM DC2 EM ESC ? ESC GS + TSP600 OK Model Name TUP900 TSP1000 TSP828L NO NO NO TSP700II NO TSP650 NO OK OK OK OK NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO OK OK OK OK OK Ver. 5.0 or later NO NO OK NO NO OK NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO OK NO NO NO NO Spec.
• Black Mark Related Commands Class Commands Black Mark ESC d Related FF Commands ESC C ESC C 0 VT ESC B TSP800 OK OK OK OK OK OK TSP700 OK OK OK OK OK OK TSP600 OK OK OK OK OK OK Model Name TUP900 TSP1000 OK NO OK NO OK NO OK NO OK NO OK NO TSP828L NO NO NO NO NO NO TSP700II NO NO NO NO NO NO TSP650 NO NO NO NO NO NO Model Name TUP900 TSP1000 OK NO TSP828L NO TSP700II NO TSP650 NO • 2-Color Printing Related Commands Class Commands 2-Color ESC RS c Printing Related ESC RS C Commands ESC 4 ES
• PDF417 Commands Class PDF417 Commands ESC GS x S 0 TSP800 NO TSP700 NO TSP600 NO Model Name TUP900 TSP1000 Ver. 3.1 or NO later Ver. 3.1 or NO later Ver. 3.1 or NO later Ver. 3.1 or NO later Ver. 3.1 or NO later Ver. 3.1 or NO later Ver. 3.
6.4. Ethernet I/F / Wireless LAN I/F • Standard Commands Class Commands TSP800 Font Style ESC RS F NO and ESC GS t OK Character ESC GS = Ver. 3.0 or Set later ESC R OK ESC / OK ESC SP OK ESC M OK ESC P OK ESC : OK ESC p (Not OK recommended) ESC g Spec.
Class External device drive Print Setting Status Chinese Character Others Macro Commands Model Name TUP900 TSP1000 NO NO NO NO TSP800 OK OK TSP700 OK OK TSP600 OK OK FS SUB EM ESC GS BEL OK OK OK NO OK OK OK NO NO NO NO NO ESC GS EM DC1 ESC GS EM DC2 ESC RS d NO NO OK OK OK OK Ver. 5.0 or later NO NO OK NO NO OK ESC RS r ESC RS a ESC ACK SOH ENQ EOT ETB ESC RS E ESC p OK NO OK OK OK Spec. A OK OK OK NO OK OK OK Spec.
• Black Mark Related Commands Class Commands Black Mark ESC d Related FF Commands ESC C ESC C 0 VT ESC B TSP800 OK OK OK OK OK OK TSP700 OK OK OK OK OK OK TSP600 OK OK OK OK OK OK TSP700 Ver. 2.0 or later Spec. A Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later TSP600 Ver. 2.0 or later Spec. A Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.0 or later Ver. 2.
• PDF417 Commands Class PDF417 Comman ds Commands ESC GS x S 0 TSP800 NO TSP700 NO TSP600 NO ESC GS x S 1 NO NO NO ESC GS x S 2 NO NO NO ESC GS x S 3 NO NO NO ESC GS x D NO NO NO ESC GS x P NO NO NO ESC GS x I NO NO NO TSP700 NO TSP600 NO Model Name TUP900 TSP1000 Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.1 or OK later Ver. 3.
OVERSEAS SUBSIDIARY COMPANIES STAR MICRONICS AMERICA, INC. 1150 King Georges Post Road, Edison, NJ 08837-3729 U.S.A. Tel: (int+1)-732-623-5555, Fax: (int+1)-732-623-5590 ELECTRONIC PRODUCTS DIVISION STAR MICRONICS CO., LTD. 536 Nanatsushinya, Shimizu-ku, Shizuoka, 424-0066 Japan Tel: (int+81)-54-347-0112, Fax: (int+81)-54-347-0709 Please access the following URL http://www.star-m.jp/eng/dl/dl02.htm for the latest revision of the manual. STAR MICRONICS EUROPE LTD.