TMP58A/P58A Printer Command set

产品部件说明

1 4 13 5 2 3

12 P58B

8

75. 19 48. 05 6 9 7 10

97. 45 11 15. 25

25 40. 4 1 纸仓盖 6 电源开机按键 11安卓USB接口 2 上盖 7 走纸按键 12 DC充电接口 3 主体 8 电源指示灯 13 手起盖 4 撕纸刀 9 缺纸或错误指示灯 5 电池 10 蓝牙指示灯

装纸方式

2. 按箭头方 1. 翻起手起盖 向装入纸卷

Contents 1 command list ...... 1 2 command detail ...... 3 ①print and feed command ...... 3 Print and line feed ...... 3 Print and carriage return ...... 3 Print and feed paper ...... 3 Print and feed lines ...... 4

②character command ...... 4

Set line spacing ...... 4 Select default line spacing ...... 5 Set absolute print position ...... 5 Set left space ...... 6 Set horizontal and vertical movement unit ...... 6 Select font type ...... 7 Select print mode() ...... 8 Select character size ...... 9 Turn white/black reverse printing mode ...... 11 Turn underline mode on/off ...... 11 Turn 90 clockwise rotation mode on/off ...... 12

Select justification(Left justification、centering、Right justification) ... 13

Select Chinese character mode ...... 13 Cancel Chinese character mode ...... 14 Select/cancel user-defined character set ...... 14 Define user-defined characters ...... 15 Cancel user-defined characters ...... 17 Define user-defined Chinese ...... 17 Select an international character set ...... 19 Select character code table ...... 22

③bit image command ...... 24

Print MSB BITMAP ...... 24 Print LSB bitmap ...... 24 Select bit-image mode ...... 25 Define downloaded bit image ...... 27 Print downloaded bit image ...... 29 Define NV bit image ...... 30 Print NV bit image ...... 33 Print line section on a horizontal ...... 34

④Tab command ...... 40

Horizontal tab ...... 40 Set horizontal tab positions ...... 40 ⑤bar code command ...... 41 Select printing position for HRI characters ...... 41 Select bar code height ...... 42 Set bar code width ...... 42 Print bar code ...... 43

⑥QR CODE COMMAND ...... 48

Set the model type ...... 48 Set the QR code error correction level error (ECC) ...... 48 Set the QR code graphic data ...... 49 Print store QR codes graphics...... 49

⑦STATUS COMMAND ...... 50

Transmit status ...... 50 Real-time transmission status...... 51 Enable/Disable Automatic Status Back (ASB)...... 53

⑧Other command ...... 54

Initialize printer ...... 54 Printing test paper ...... 54 Set the print concentration ...... 55 Character set ...... 46 Appendix ...... 49 1. table ...... 49 Page0 PC437 ...... 49 Page1 Katakana ...... 50 Page2 PC850[Multilingual] ...... 51 Page3 PC860[Portuguese] ...... 52 Page4 PC863[Canadian-French] ...... 53 Page5 pc865[Nordic] ...... 54 Page6 pc1251 [Cyrillic] ...... 55 Page7 pc866 Cyrilliec #2 ...... 56 Page8 MIK[Cyrillic /Bulgarian]...... 57 Page9 CP755 ...... 58 Page10 Iran ...... 59 Page15 CP862 [Hebrew] ...... 60 Page16 PC1252 Latin 1 ...... 61 Page17 WCP1253 [Greek] ...... 62 Page18 PC852 ...... 63

Page19 PC858 (Multilingual Latin Ⅰ+Euro) ...... 64

Page20 Iran II ...... 65

Page21 Latvian ...... 66 Page22 CP864 [] ...... 67 Page23 ISO-8859-1 [West Europe] ...... 68 Page24 CP737 [Greek] ...... 69 Page25 WCP1257 [Baltic] ...... 70 Page26 Thai ...... 71 Page27 CP720[Arabic] ...... 72 Page28 CP855 ...... 73 Page29 PC857[Turkish] ...... 74 Page30 WCP1250[Central Eurpoe]...... 75 Page31 CP775 ...... 76 Page32 WCP1254[Turkish] ...... 77 Page33 WCP1255[Hebrew] ...... 78 Page34 WCP1256[Arabic] ...... 79 Page35 WCP1258[Vietnam] ...... 80 Page36 ISO-8859-2[Latin 2] ...... 81 Page37 ISO-8859-3[Latin 3] ...... 82 Page38 ISO-8859-4[Baltic] ...... 83 Page39 ISO-8859-5[Cyrillic] ...... 84 Page40 ISO-8859-6[Arabic] ...... 85 Page41 ISO-8859-7[Greek] ...... 86 Page42 ISO-8859-8[Hebrew] ...... 87 Page43 ISO-8859-9[Turkish] ...... 88 Page44 ISO-8859-15 [Latin 3] ...... 89 Page45 Thai2 ...... 90 Page46 CP856() ...... 91 Page47 Cp874 ...... 92 Page48 TCVN3 ...... 93 Page49 VISCII ...... 94 2 National character set ...... 95

TMP58A/P58A COMMAND SET

1 command list

LF Print and line feed CR Print and carriage return Print and feed command ESC Print and feed n points ESC Print and feed n lines ESC 3 Set n points line spacing ESC 2 Select default line spacing ESC $ nL nH Set absolute print position GS nL nH Set left space GS P Set horizontal and vertical movement unit ESC ! n Select print mode(s) ESC n Select font type GS ! n Select character size GS B n Turn white/black reverse printing mode ESC - n Turn underline mode on/off ESC n character command ESC a n Select justification FS & Select Chinese character mode FS . Cancel Chinese character mode ESC % n Select/cancel user-defined character set ESC & Define user-defined characters ESC ? n Cancel user-defined characters FS 2 c1 c2 Define user-defined Chinese d1...dk ESC n Select an international character set ESC n Select character code table ESC * Select bit-image mode GS * Define downloaded bit image GS / m Print downloaded bit image bit image command FS Define NV bit image FS p n m Print NV bit image GS ‘ n x1sL ..... Print line section on a horizontal HT Horizontal tab Tab command ESC D Set horizontal tab positions GS Select printing position for HRI characters GS h Select bar code height Bar code command GS Set bar code width GS Print bar code GS ( k pL pH cn Set the module type QR code command fn n (fn=67)

1 TMP58A/P58A COMMAND SET

GS ( k pL pH cn Set the QR code error correction level fn n (fn=69) error (ECC) GS ( k pL pH cn Set the QR code graphic data fn m d1…dk

(fn=80) GS ( k pL pH cn Print store QR codes graphics fn m (fn=81) GS r n Transmit status DLE EOT n Real-time transmission status GS a n Enable/Disable Automatic Status Back STATUS command (ASB) FF Print and return to standard mode(In page mode) ESC @ Initialize printer DC2 T Printing test paper Other command ESC 7 Set the print concentration

2

TMP58A/P58A COMMAND SET

2 command detail

①print and feed command

Print and line feed

Name Print and line feed ASCII :LF Format Decimal :10 Hex :0A Prints the data in the print buffer and feeds one line, based on the Description current line spacing. Range Default Support model All the printers Note 1B 40 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a 1b 4a 10 For Example 1B 40 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a 1b 4a 30 1B 40 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a

Print and carriage return

Name Print and carriage return ASCII :CR Format Decimal :13 Hex :0D When automatic line feed is enabled, this command functions the same as LF; Description when automatic line feed is disabled, this command is ignored. Range Default Support model All the printers This command line feed is ignored with a serial interface model. Note Sets the print starting position to the beginning of the line. For Example

Print and feed paper

Name Print and feed paper Format ASCII :ESC J n

3

TMP58A/P58A COMMAND SET

Decimal :27 74 n Hex :1B 4A n

Description Prints the data in the print buffer and feeds the paper [n× 0.125 mm (0.0049”)].

Range 0 ≤ n ≤ 255 Default Support modal All the printers After printing is completed, this command sets the print starting position to the beginning of the line. Note The paper feed amount set by this command does not affect the values set by ESC 2 or ESC 3. In standard mode, the printer uses the vertical motion unit (). For example 1b 40 30 31 32 1b 4a 10

Print and feed n lines

Name Print and feed n lines ASCII :ESC d n Format Decimal :27 100 n Hex :1B 64 n Description Prints the data in the print buffer and feeds n lines. Range 0 ≤ n ≤ 255 Default Support modal All the printers This command sets the print starting position to the beginning of the line. This command does not affect the line spacing set by ESC 2 or ESC 3. Note The maximum paper feed amount is 1016 mm (40 inches). If the paper feed amount (n line spacing) of more than 1016 mm (40 inches) is specified, the printer feeds the paper only 1016 mm (40 inches). 1b 40 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 1b 64 01 1b 40 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 1b 64 For example 02 1b 40 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 1b 64 00

②character command

Set line spacing

Name Set line spacing ASCII :ESC 3 n Format Decimal :27 51 n

4

TMP58A/P58A COMMAND SET

Hex :1B 33 n

Description Sets the line spacing to [n×0.125 mm].

Range 0 ≤ n ≤ 255 Default n = 33 Support modal All the printers

Note If set the line spacing is less than the maximum character height in a line, so the bank line spacing is equal to the maximum character level. The line spacing can set default values,when appear ESC 2,ESC @, reset the printer and printer power 1b 40 1b 33 30 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a For example 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a 1b 32 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a

Select default line spacing

Name Select default line spacing ASCII :ESC 2 Format Decimal :27 50 Hex :1B 32

Description Selects 4.125mm (33× 0.125 mm) line spacing.

Range 0 n 255 Default 33 Dots Support modal All the printers With reference to ESC 3 command. Note If set the line spacing is less than the maximum character height in a line, so the bank line spacing is equal to the maximum character level. For example

Set absolute print position

Name Set absolute print position ASCII :ESC $ nL nH Format Decimal :27 36 nL nH Hex :1B 24 nL nH Description The distance from the beginning of the line to the print position is[(nL +

5

TMP58A/P58A COMMAND SET

nH×256)×0.125 mm]. Range 0 ≤ nL ≤ 255,0 ≤ nH ≤ 255 Default Support modal All the printers Settings outside the specified printable area are ignored. Note In standard mode, the horizontal motion unit () is used. 1b 40 1b 24 20 00 For example 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a

Set left space

Name Set left space ASCII :GS L nL nH Format Decimal :29 76 nL nH Hex :1D 4C nL nH Description Set left space(nL + nH × 256) dots. Range 0 ≤ nL ≤ 255,0 ≤ nH ≤ 255 Default Support modal All the printers This command is only effective in a line of the starting position of the treatment. As shown in the figure:

Note

If set outside the printable area, use the maximum printing unit. 1b 40 1d 4c 50 00 For example 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a 1C 26 30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a

Set horizontal and vertical movement unit

Name Set horizontal and vertical movement unit ASCII :GS P x y Format Decimal :29 80 x y HEX :1D 50 x y • Set approximation horizontal movement unit 25.4/ x mm( 1/ x inch); set Description approximation vertical movement unit 25.4/ y mm(1/ y inch). •When x and y is 0,the x and y is set to default.

6

TMP58A/P58A COMMAND SET

Range 0 ≤ x ≤ 255, 0 ≤ y ≤ 255 x = 200, y = 380,a movement unit is the point of a print. The horizontal Default distance is about 1/8mm ; the vertical distance is about 1/15mm. Support modal 80XXX Note 1d 50 c8 c8 1B 4C 1B 57 30 00 00 00 78 00 30 00 1B 33 18 For example 1B 57 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 30 31 32 0C

Select font type

Name Select font type ASCII :ESC M n Format Decimal :27 77 n Hex :1b 4d n

Select font type

n Description

0, 48 Select font type A (12×24) 。

Description 1, 49 Select font type B (9×24) 。

2,50 Select font type (9×17)

3,51 Select font type D (8×16)

4, 52 Select font type (16×18)

Range n = 0, 1,2,3,4, 48, 49,50,51,52

Default n = 0 Support Some

ESC !Also can choose font type ,but in the end receives the command set Note effective.

For example 1b 40

7

TMP58A/P58A COMMAND SET

1b 4d 00

30 31 32 0d 0a

1b 4d 01

30 31 32 0d 0a

1b 4d 02

30 31 32 0d 0a

1b 4d 03

30 31 32 0d 0a

1b 4d 04

30 31 32 0d 0a

Select print mode(s)

Name Select print mode(s) ASCII :ESC ! n Format Decimal :27 33 n Hex :1B 21 n Selects print mode(s) using n as follows:(Font、white/black reverse、Inversion、Bold、double-height、double-width、underline) bit function value 0 1 0 font normal small 1 inverse cancel set Description 2 inversion cancel set 3 bold cancel set 4 double-height cancel set 5 double-width cancel set 6 underline cancel set 7 undefined Range Default n = 0 Supprot modal All the printers The command for Chinese fonts and foreign fonts are effective Note ESC @,dump and restart,Reset the printer,This command setting

8

TMP58A/P58A COMMAND SET

failure 1B 40 1B 21 01 30 31 32 0D 0A 1B 40 1B 21 02 30 31 32 0D 0A 1B 40 1B 21 04 30 31 32 0D 0A 1B 40 1B 21 08 30 31 32 0D 0A For example 1B 40 1B 21 10 30 31 32 0D 0A 1B 40 1B 21 20 30 31 32 0D 0A 1B 40 1B 21 40 30 31 32 0D 0A 1B 40 1B 21 80 30 31 32 0D 0A

Select character size

Name Select character size ASCII :GS ! n Formal Decimal :29 33 n HEX :1d 21 n 1 vertical number of times 8, 1 horizontal number of times 8 Selects the character height using bits 0 to 2 and selects the character width using bits 4 to 7, as follows: Description Table 1 Table 2

Set the width of character Set the height of character

9

TMP58A/P58A COMMAND SET

Decim width width HEX HEX Decima al

l

00 0 1(normal) 00 0 1(normal)

10 16 2(double- 01 1 2(double-h

width) eight)

20 32 3 02 2 3

30 48 4 03 3 4

40 64 5 04 4 5

50 80 6 05 5 6

60 96 7 06 6 7

70 112 8 07 7 8

Range Default n = 0 Suuport modal All the printers This command is effective for all characters (alphanumeric and Chinese), except for HRI characters. Note ESC @,dump and restart,Reset the printer,This command setting failure.

1b 40 1c 26

1d 21 10

30 31 32 B0 AE CE D2 D6 D0 BB AA 0d 0a For example 1B 40 1c 26

1d 21 01

30 31 32 B0 AE CE D2 D6 D0 BB AA 0d 0a

10

TMP58A/P58A COMMAND SET

1B 40 1c 26

1d 21 11

30 31 32 B0 AE CE D2 D6 D0 BB AA 0d 0a

Turn white/black reverse printing mode

Name Turn white/black reverse printing mode ASCII :GS B n Format Decimal :29 66 n HEX :1d 42 n Turns on or off white/black reverse printing mode. Description When the LSB of n is 0, white/black reverse mode is turned off. When the LSB of n is 1, white/black reverse mode is turned on. Range Default n = 0 Support modal All the printers Only the lowest bit of n is valid. This command is available for built-in characters and user-defined characters. When white/black reverse printing mode is on, it also applies to character spacing set by ESC SP. Note This command does not affect bit images, user-defined bit images, bar codes,HRI characters, and spacing skipped by HT, ESC $. This command does not affect the space between lines. White/black reverse mode has a higher priority than underline mode. Even if underline mode is on, it is disabled (but not canceled) when white/black reverse mode is selected.

1b 40 1c 26 1d 42 00

30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a For example 1b 40 1c 26 1d 42 01

30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a

Turn underline mode on/off

Name Turn underline mode on/off ASCII :ESC - n Format Decimal :27 45 n

11

TMP58A/P58A COMMAND SET

HEX :1B 2D n Turns underline mode on or off, based on the following values n:

n Function Description 0, 48 Turns off underline mode 1, 49 Turns on underline mode (1 thick) 2, 50 Turns on underline mode (2 dots thick) Range 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Default n = 0 Support modal All the printers The printer can underline all characters (including right-side character spacing), but cannot underline the space set by HT. The printer cannot underline 90 clockwise rotated characters and white/black inverted characters. Note When underline mode is turned off by setting the value of n to 0 or 48, the following data is not underlined, and the underline thickness set before the mode is turned off does not change. The default underline thickness is 1 dot. Changing the character size does not affect the current underline thickness. Underline mode can also be turned on or off by using ESC !. Note,

1b 40 1c 26 1b 2d 01

30 31 32 41 42 43 B0 AE CE D2 D6 D0 BB AA 0D 0A

1b 40 1c 26 1b 2d 02 For example 30 31 32 41 42 43 B0 AE CE D2 D6 D0 BB AA 0D 0A

1b 40 1c 26 1b 2d 00

30 31 32 41 42 43 B0 AE CE D2 D6 D0 BB AA 0D 0A

Turn 90 clockwise rotation mode on/off

Name Turn 90 clockwise rotation mode on/off ASCII :ESC V n Format Decimal :27 86 n HEX :1B 56 n Turns 90 clockwise rotation mode on/off n is used as follows:

Description n Function 0,48 Turns off 90 clockwise rotation mode 1,49 Turns on 90 clockwise rotation mode Range 0 ≤ n ≤ 1, 48 ≤ n ≤ 49

12

TMP58A/P58A COMMAND SET

Default n = 0 Support modal All the printers This command affects printing in standard mode. However, the setting is always effective. When underline mode is turned on, the printer does not underline Note 90 clockwise-rotated characters. Double-width and double-height commands in 90 rotation mode enlarge characters in the opposite directions from double-height and double- width commands in normal mode.

1b 40 1c 26 1b 56 01

30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a For example 1b 40 1c 26 1b 56 00

30 31 32 41 42 43 CFC3C3C5BFAAB4CFB5E7D7D3 0d 0a

Select justification(Left justification、centering、Right justification)

Name Select justification(left、center、right) ASCII :ESC a n Format Decimal :27 97 n HEX :1B 61 n Aligns all the data in one line to the specified position.n selects the justification as follows: n Justification Description 0,48 Left justification 1, 49 Centering 2, 50 Right justification

Range 0 ≤ n ≤ 2 or 48 ≤ n ≤ 50 Default n = 0 Support modal All the printers ESC @,dump and restart,Reset the printer,This command setting Note failure. 1B 40 1B 61 02 30 31 32 0D 0A 1B 40 1B 61 01 Example 30 31 32 0D 0A 1B 40 1B 61 00 30 31 32 0D 0A

Select Chinese character mode

Name Select Chinese character mode

13

TMP58A/P58A COMMAND SET

ASCII :FS & Format Decimal :28 38 HEX :1C 26 Description Selects Chinese character mode. Range Default Support modal All the printers For Chinese model: When the Chinese character mode is selected, the printer processes all Note Chinese code as two bytes each. Chinese codes are processed in the order of the first byte and second byte. Chinese character mode is not selected when the power is turned on. 1b 40 1C 26 B0 AE C9 CF D7 D4 BC BA 0d 0a For example 1C 2E B0 AE C9 CF D7 D4 BC BA 0d 0a

Cancel Chinese character mode

Name Cancel Chinese character mode ASCII :FS . Format Decimal :28 46 HEX :1C 2E Description Cancel Chinese character mode Range Default Support modal All the printers For Chinese model: When the Chinese character mode is not selected, all character codes are Note processed one byte at a time as ASCII code. Chinese character mode is not selected when the power is turned on.

For example

Select/cancel user-defined character set

Name Select/cancel user-defined character set ASCII :ESC % n Format Decimal :27 37 n HEX :1B 25 n Selects or cancels the user-defined character set. Description When the LSB of n is 0, the user-defined character set is canceled. When the LSB of n is 1, the user-defined character set is selected. Range 0 ≤ n ≤ 255 Default 0 Support modal All the printers

14

TMP58A/P58A COMMAND SET

When the user-defined character set is canceled, the built-in character set is Note automatically selected. 1B 40 1b 26 03 20 20 0C 0F 03 00 30 80 00 40 40 20 80 40 10 80 40 10 80 20 10 80 20 10 40 20 20 30 10 C0 0C 00 00 00 00 00 00 00 00 1b 25 01 For example 20 0D 0A

1b 3f 20

30 20 30 20 0d 0a

Define user-defined characters

Name Define user-defined characters ASCII :ESC & y c1 c2 [x1 d1 ... d (yx1)] ... [xk d1 ... d(y x k)] Format Decimal :27 38 y c1 c2 [x1 d1 ... d(yx1)] ...[xk d1 ... d(yxk)] HEX :1B 26 y c1 c2 [x1 d1...d(y x1)]...[xk d1...d(yxk)] Defines user-defined characters. y specifies the number of bytes in the vertical direction. Description c1 specifies the beginning character code for the definition, and c2 specifies the final code. x specifies the number of dots in the horizontal direction. y = 2

0 x (when Font A (6×12) is selected)

y = 3 Range 32 c1 c2 126

0 x 12 (when Font A (12×24) is selected)

0 d1 ... d(y×xk) 255

Default Support modal All the printers The allowable character code range is from ASCII code <20>H to <7E>H (95 characters). It is possible to define multiple characters for consecutive character codes. If only one character is desired, use c1 = c2. d is the dot data for the characters. The dot pattern is in the horizontal Note direction from the left side. Any remaining dots on the right side are blank.

The data to define user-defined characters is (y×x) bytes.

Set a corresponding bit to 1 to print a dot or 0 not to print a dot. This command can define different user-defined character patterns for each

15

TMP58A/P58A COMMAND SET

font. To select a font, use ESC ! User-defined characters and a downloaded bit image cannot be defined simultaneously. When this command is executed, the downloaded bit image is cleared. The user-defined character definition is cleared when: 1)ESC @ is executed. 2) 3)ESC ? is executed. 4)The power is turned off.

When Font A (12× 24) is selected.

d1= <0F>H d4 = <30>H d7 = <40>H . . . . d2 = <03>H d5 = <80>H d8 = <40>H . . . . d3 = <00>H d6 =<00>H d9 = <20>H . . . .

①y = 2 For example 1B 40

16

TMP58A/P58A COMMAND SET

1b 26 02 20 20 06 FF FF FF FF FF FF FF FF FF FF FF FF 1b 25 01 20 20 0D 0A 1b 3f 20 30 20 30 20 0d 0a ②y = 3 1B 40 1b 26 03 20 20 0C 0F 03 00 30 80 00 40 40 20 80 40 10 80 40 10 80 20 10 80 20 10 40 20 20 30 10 C0 0C 00 00 00 00 00 00 00 00 1b 25 01 20 0D 0A

1b 3f 20

30 20 30 20 0d 0a

Cancel user-defined characters

Name Cancel user-defined characters ASCII :ESC ? n Format Decimal :27 63 n HEX :1B 3F n Description Cancels user-defined characters. Range 32 ≤ n ≤ 126 Default Support modal All the printers This command cancels the patterns defined for the character codes specified by n. After the user-defined characters are canceled, the corresponding patterns for the internal characters are printed. Note This command deletes the pattern defined for the specified code in the font selected by ESC !. If a user-defined characters have not been defined, the printer ignores this command. For example

Define user-defined Chinese

Name Define user-defined Chinese

ASCII :FS 2 c1 c2 d1...dk

Format Decimal :28 50 c1 c2 d1...dk

HEX :1C 32 c1 c2 d1...dk

17

TMP58A/P58A COMMAND SET

Description Defined by c1 and c2 specified characters. c1 ,c2 representative definition of the characters. c1 = FEH

A1H ≤ c2 ≤ FEH Range

0 ≤ d ≤ 255

k = 72 Default Support modal Part of the printer

c1 ,c2 stand for custom Chinese character coding,c1 point to first

byte,c2 point to second byte.

d stand for data。1 stand for a print dot. 0 stand for don’t print dot 。

Most support 32 custom characters.

Note

18

TMP58A/P58A COMMAND SET

1B 40 1c 21 0c 1C 32 FE A1 For example 00 1F C0 00 78 30 00 60 38 00 00 70 1E 01 C0 0C 07 20 06 00 60 02 00 60 00 C0 C0 04 E0 C0 06 71 80 06 3F 00 02 1E 00 0C 7E 00 0F FE 00 0F B3 00 0E 01 C0 04 00 F0 00 00 70 00 00 70 00 00 18 00 00 18 00 00 18 00 00 18 FE A1 0D 0A

Select an international character set

Name Select an international character set ASCII :ESC R n Format Decimal :27 82 n HEX :1B 52 n Selects international character set n from the following table: n Character set 0 .S.A 1 France Description 2 Germany 3 U.K 4 5 Sweden 6 Italy

19

TMP58A/P58A COMMAND SET

7 Spain I 8 Japan 9 Norway 10 Denmark II 11 Spain II 12 Latin America 13 Korea 14 Slovenia/Croatia 15 China

Range 0 ≤ n ≤ 15 Default 0 Support modal All the printers Note

1B 40 1C 26 c3 c0 b9 fa 0d 0a

1B 40 1B 52 00

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 B7 A8 B9 FA 0d 0a

1B 40 1B 52 01

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 B5 C2 B9 FA 0d 0a

For example 1B 40 1B 52 02

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 D3 A2 B9 FA 0d 0a

1B 40 1B 52 03

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 B5 A4 C2 F3 0d 0a

1B 40 1B 52 04

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

20

TMP58A/P58A COMMAND SET

1B 40 1C 26 C8 F0 B5 E4 0d 0a

1B 40 1B 52 05

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 D2 E2 B4 F3 C0 FB 0d 0a

1B 40 1B 52 06

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 CE F7 B0 E0 D1 C0 0d 0a

1B 40 1B 52 07

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 C8 D5 B1 BE 0d 0a

1B 40 1B 52 08

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 C5 B2 CD FE 0d 0a

1B 40 1B 52 09

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 B5 A4 C2 F3 32 0d 0a

1B 40 1B 52 0A

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 CE F7 B0 E0 D1 C0 32 0d 0a

1B 40 1B 52 0B

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 C0 AD B6 A1 C3 C0 D6 0d 0a

21

TMP58A/P58A COMMAND SET

1B 40 1B 52 0C

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 BA AB B9 FA 0d 0a

1B 40 1B 52 0D

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 CB B9 C2 E5 CE C4 C4 E1 D1 C7 0d 0a

1B 40 1B 52 0E

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

1B 40 1C 26 D6 D0 B9 FA 0d 0a

1B 40 1B 52 0F

7b 23 24 40 5b 5c 5c 5d 5e 60 7b 7c 7d 7e 7d 0d 0a

Select character code table

Name Select character code table ASCII :ESC t n Format Decimal :27 116 n HEX :1B 74 n Description n :select code page.

22

TMP58A/P58A COMMAND SET

N Code Page N Code Page 0 CP437 [U.S.A., Standard Europe] 26 Thai 1 KataKana 27 CP720[Arabic] 2 CP850 [Multilingual] 28 CP855 3 CP860 [Portuguese] 29 CP857[Turkish] 4 CP863 [Canadian-French] 30 WCP1250[Central Europe] 5 CP865 [Nordic] 31 CP775 6 WCP1251 [Cyrillic] 32 WCP1254[Turkish] 7 CP866 Cyrilliec #2 33 WCP1255[Hebrew] 8 MIK[Cyrillic /Bulgarian] 34 WCP1256[Arabic] 9 CP755 [East Europe,Latvian 2] 35 WCP1258[Vietnam] 10 Iran 36 ISO-8859-2[Latin 2] 11 reserve 37 ISO-8859-3[Latin 3] 12 reserve 38 ISO-8859-4[Baltic] 13 reserve 39 ISO-8859-5[Cyrillic] 14 reserve 40 ISO-8859-6[Arabic] 15 CP862 [Hebrew] 41 ISO-8859-7[Greek] 16 WCP1252 Latin I 42 ISO-8859-8[Hebrew] 17 WCP1253 [Greek] 43 ISO-8859-9[Turkish] 18 CP852 [Latina 2] 44 ISO-8859-15 [Latin 3] 19 45 Thai2 CP858 Multilingual Latin Ⅰ+Euro)

20 Iran II 46 CP856 21 Latvian 47 Cp874 22 CP864 [Arabic] 255 GBK2312 23 ISO-8859-1 [West Europe] 24 CP737 [Greek] 25 WCP1257 [Baltic]

Range 0 ≤ n ≤ 255 Default 0 Support modal All the printers Note 1B 40 1C 2E 1B 74 00 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 9A 9B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 For example B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF 0D 0A

23

TMP58A/P58A COMMAND SET

③bit image command

Print MSB BITMAP

Name Print MSB Bitmap

ASCII : DC2 V nL nH [d1 … d48]

Format Hex : 12 56 nL nH [d1 … d48]

Decimal : 18 86 nL nH [d1 … d48]

This command use to print MSB format bitmap,

The width of bitmap must the same as the printer mechanism

Bitmap height: nL+nH*256

Bitmap format:

Description

Range Default Support modal All the printers Note 12 56 01 00 For example FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

Print LSB bitmap

Name Print LSB Bitmap

24

TMP58A/P58A COMMAND SET

ASCII : DC2 v nL nH [d1 … d48]

Format Hex : 12 76 nL nH [d1 … d48]

Decimal : 18 118 nL nH [d1 … d48]

This command use to print LSB format bitmap,

The width of bitmap must the same as the printer mechanism

Bitmap height: nL+nH*256

Bitmap format:

Description

Range Default Support modal All the printers Note For example

Select bit-image mode

Name Select bit-image mode ASCII :ESC * m Hl Hh [d]k Format Decimal :27 42 m Hl Hh [d]k HEX :1B 2A m Hl Hh [d]k Selects a bit-image mode using m for the number of dots specified by nL and nH, as follows:

m mode Horizontal Scale Vertical Scale Description 0 8-dot single-density ×2 ×3 1 8-dot double-density ×1 ×3 32 24-dot single-density ×2 ×1 33 24-dot double-density ×1 ×1 Hl、Hh specifies the number of dots in the horizontal direction.

25

TMP58A/P58A COMMAND SET

(Hl+256×Hh) [d]k is bit-image mode datas XX58: m = 0、1、32、33 1 ≤ Hl + Hh × 256 ≤ 384 0 ≤ d ≤ 255 k = Hl + Hh × 256(当 m = 0、1) k = ( Hl + Hh × 256 ) × 3(当 m = 32、33) Range XX80: m = 0、1、32、33 1 ≤ Hl + Hh × 256 ≤ 576 0 ≤ d ≤ 255 k = Hl + Hh × 256(当 m = 0、1) k = ( Hl + Hh × 256 ) × 3(当 m = 32、33) Default Support modal All the printers

following are processed as normal data. in the

-image data input exceeds the number of dots to be printed on a line, the excess data is ignored. -image data. Set a corresponding bit to 1 to print a dot or to 0 not to print a dot. Note

mode.

double-strike, underline, character size, or white/black reverse printing), except upside-down printing mode.

described in Figure 3.11.3. -dot bit image is selected:

26

TMP58A/P58A COMMAND SET

3.11.3 -dot bit image is selected:

3.11.3

1B 40 1b 2a 00 0C 00 FF FF FF FF FF FF FF FF FF FF FF FF For example 1B 33 00 0A

Define downloaded bit image

Name Define downloaded bit image ASCII :GS * x y d1...d(x×y×8) Format Decimal :29 42 x y d1 ...d(x×y×8) HEX :1D 2A x y d1...d(x×y×8)

27

TMP58A/P58A COMMAND SET

Defines a downloaded bit image using the number of dots specified by x and y. Description x specifies the number of dots in the horizontal direction. y specifies the number of dots in the vertical direction. 1 ≤ x ≤ 255 1 ≤ y ≤ 48 Range x*y ≤ 1536 0 ≤ d ≤ 255 Default Support modal All the printers

If x×y is out of the specified range, this command is disabled.

The d indicates bit-image data. Data (d) specifies a bit printed as 1 and not printed as 0. The downloaded bit image definition is cleared when: 1) ESC @ is executed. 2) ESC & is executed. 3) Printer is reset or the power is turned off. The following figure shows the relationship between the downloaded bit image and the printed data.

Note

1B 40 1D 2A 0a 08 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 For example 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00

28

TMP58A/P58A COMMAND SET

00 00 00 ff 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 00 ff 00 00 00 00 00 ff 1D 2F 03

Print downloaded bit image

Name Print downloaded bit image ASCII :GS / m Format Decimal :29 47 m HEX :1D 2F m Prints a downloaded bit image using the mode specified by m. m selects a mode from the table below:

n Mode

Description 0, 48 Normal 1, 49 Double-width 2, 50 Double-height 3, 51 Quadruple 0 ≤ m ≤ 3 Range 48 ≤ m ≤ 51 Default Support modal All the printers This command is ignored if a downloaded bit image has not been defined. Note In standard mode, this command is effective only when there is no data in the

29

TMP58A/P58A COMMAND SET

print buffer. This command has no effect in the print modes (emphasized, double-strike, underline, character size, or white/black reverse printing), except for upsidedown printing mode. If the downloaded bit-image to be printed exceeds the printable area, the excess data is not printed. For example

Define NV bit image

Name Define NV bit image ASCII :FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n Format Decimal :28 113 n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n HEX :1C 71 n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n Define the NV bit image specified by n. n specifies the number of the defined NV bit image. xL, xH specifies (xL xH 256) 8 dots in the horizontal direction for the NV Description bit image you are defining. yL, yH specifies (yL yH 256) 8 dots in the vertical direction for the NV bit image you are defining. 1 ≤ n ≤ 255 0 ≤ xL ≤ 255 0 ≤ xH ≤ 3 (1 ≤ (xL+xH*256) ≤ 1023) 0 ≤ yL ≤ 255) Range 0 ≤ yH ≤ 1 (1 ≤ (yL+yH*256) ≤ 288) 0 ≤ d ≤ 255) k = (xL+xH*256)*(yL+yH*256)*8 Total defined data area = 64K Bytes Default Support modal All the printers

Therefore, it is recommended to write the NV memory 10 times or less a day. s a hardware reset after the procedure to place the image into the NV memory. Therefore, user-defined characters, downloaded bit images should be defined only after completing this Note command. The printer clears the receive and print buffers and resets the mode to the mode that was in effect at power on. (this version is not support hardware reset )

by this command.

30

TMP58A/P58A COMMAND SET

hardware reset, mechanical operations (including initializing the position of the print head when the cover is open, paper feeding using the FEED button, etc.) cannot be performed. data to the user NV memory and stops receiving data. Therefore it is prohibited to transmit the data, including real-time commands, during the execution of this command. -volatile memory by FS q and printed by FS p. thebeginning of the line. areprocessed normally. by xL, xH, yL, yH, the printer processes xL, xH, yL, yH out of the defined range. yL, yH is out of the definition range, this command is disabled. han the first one, when the printer encounters xL, xH, yL, yH out of the defined range, it stops processing this command and starts writing into the NV images. At this time, NV bit images that haven’t been defined are disabled (undefined), but any NV bit images before that are enabled. printed and a 0 bit specifies a dot not to be printed. in order from NV bit image 01H. Therefore, the first data group [xL xH yL yH d1...dk] is NV bit image 01H, and the last data group [xL xH yL yH d1...dk] is NV bit image n. The total agrees with the number of NV bit images specified by the command FS p. for an NV bit image consists of [xL xH yL yH d1...dk]. Therefore, when only one NV bit image is defined n=1, the printer processes a data group [xL xH yL yH d1...dk] once. The printer uses ([data: V memory. command can define several NV bit images, but cannot define bit image

SB status or perform status detection during processing of this command even when ASB is specified. reset, and power off. d does not perform printing. Printing of the NV bit image is performed by the FS pcommand.

31

TMP58A/P58A COMMAND SET

For example : xL = 64, xH = 0, yL = 96, yH = 0

1B 40 1C 71 01 10 00 08 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 For example ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00

32

TMP58A/P58A COMMAND SET

00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 1C 70 01 00

Print NV bit image

Name Print NV bit image ASCII :FS p n m Format Decimal :28 112 n m HEX :1C 70 n m Prints NV bit image n using the mode specified by m. m Mode 0,48 Normal Description 1,49 Double-width 2,50 Double-height 3,51 Quadruple

0 ≤ m ≤ 3 Range 48 ≤ m ≤ 51 1 ≤ n ≤ 255 Default Support modal All the printers NV bit image is a bit image defined in non-volatile memory by FS q and printed by FS p. Note This command is not effective when the specified NV bit image has not been defined. In standard mode, this command is effective only when there is no data in the

33

TMP58A/P58A COMMAND SET

print buffer. This command is not affected by print modes (emphasized, underline, character size, white/black reverse printing, or 90 rotated characters, etc.), except upside-down printing mode. If the downloaded bit-image to be printed exceeds one line, the excess data is not printed. This command feeds dots (for the height n of the NV bit image) in normal and double-width modes, and (for the height n 2 of the NV bit image) in doubleheight and quadruple modes, regardless of the line spacing specified by ESC 2 or ESC 3. After printing the bit image, this command sets the print position to the beginning of the line and processes the data that follows as normal data. For example

Print line section on a horizontal

Name Print line section on a horizontal ASCII :GS ‘ n x1sL x1eH x1eL x1eH ...xnsL xnsH xneL xneH Format Decimal :1D 27 n x1sL x1eH x1eL x1eH ...xnsL xnsH xneL xneH HEX :29 39 n x1sL x1eH x1eL x1eH ...xnsL xnsH xneL xneH Description: Print amplification figure as shown below:The level of each curve segment by many (points can be regarded as segments of length 1)composition.The instructions for printing a line of n horizontal line segments,continuous use of the command the user can print out the required segments.

Description

xksL : The K line starting point is the low order of horizontal coordinate; xksH : The K line starting point is the low order of horizontal coordinate;

34

TMP58A/P58A COMMAND SET

xkeL :The K line end point is the low order of horizontal coordinate; xkeH : The K line end point is the low order of horizontal coordinate; Coordinates starting from the most left of printing area.The minimum is 0,maximum is 383,that xkeL+xkeH*256 maximum is 383.

The data of line does not need to according to arrange in sequential order; [Note] When printing a point,xkeL=xksL , xkeH=xksH . [Reference] GS ” [Program example] Print sin,cos functions continuous curve,as the chart;

Char SendStr[8]; Char SendStr2[16]; Float i; Short y1,y2,y1s,y2s; //Print the y-axis axis (a line) SendStr[0]=0x1D; SendStr[1]=0x27; SendStr[2]=1; //A line SendStr[3]=30 SendStr[4]=0; //starting point SendStr[5]=104; SendStr[6]=1; //End point PreSendData(SendStr,7);

//Print curve SendStr[0]=0x1D; SendStr[1]=0x27; SendStr[2]=3; //Three lines:X-axis,sin and cos function curve SendStr[3]=180; SendStr[4]=0; //x-axis position SendStr[5]=180; SendStr[6]=0; for(i=1;i<1200;i++){ y1=sin(i/180*3.1416)*(380-30)/2+180; //Calculation of the sin funtion coordinates y2=cos(i/180*3.1416)*(380-30)/2+180; //Calculation of the cos funtion coordinates If(i==1){y1s=y1;y2s=y2;} PreSendData(SendStr,7);

If(y1s

35

TMP58A/P58A COMMAND SET

} Else { PreSendData(&y1,2); //Sin function curve at the starting point of the line PreSendData(&y1s,2); //Sin function curve at the end point of the line } If(y2s

Range Default Support modal TMP58A/P58A//TMP58A/P80A Note Print a point, xkeL=xksL , xkeH=xksH 1d 27 01 00 00 00 00 1d 27 01 01 00 0f 00 1d 27 01 10 00 1f 00 1d 27 01 20 00 2c 00 1d 27 01 2d 00 3a 00 1d 27 01 3b 00 44 00 1d 27 01 45 00 4c 00 1d 27 01 4d 00 54 00 1d 27 01 55 00 5c 00 1d 27 01 5d 00 63 00 1d 27 01 64 00 6a 00 For example 1d 27 01 6b 00 71 00 1d 27 01 72 00 77 00 1d 27 01 78 00 7d 00 1d 27 01 7e 00 84 00 1d 27 01 85 00 8a 00 1d 27 01 8b 00 91 00 1d 27 01 92 00 97 00 1d 27 01 98 00 9d 00 1d 27 01 9e 00 a3 00 1d 27 01 a4 00 a9 00 1d 27 01 aa 00 af 00 1d 27 01 b0 00 b4 00 1d 27 01 b5 00 b9 00 1d 27 01 ba 00 bf 00

36

TMP58A/P58A COMMAND SET

1d 27 01 c0 00 c4 00 1d 27 01 c5 00 c9 00 1d 27 01 ca 00 cf 00 1d 27 01 d0 00 d4 00 1d 27 01 d5 00 d8 00 1d 27 01 d9 00 dc 00 1d 27 01 dd 00 df 00 1d 27 01 e0 00 e3 00 1d 27 01 e4 00 e6 00 1d 27 01 e7 00 e9 00 1d 27 01 ea 00 ec 00 1d 27 01 ed 00 ef 00 1d 27 01 f0 00 f1 00 1d 27 01 f2 00 f3 00 1d 27 01 f4 00 f5 00 1d 27 01 f6 00 f7 00 1d 27 01 f8 00 f8 00 1d 27 01 f9 00 fa 00 1d 27 01 fb 00 fb 00 1d 27 01 fc 00 fd 00 1d 27 01 fe 00 fe 00 1d 27 01 ff 00 ff 00 1d 27 01 00 01 00 01 1d 27 01 01 01 01 01 1d 27 01 02 01 02 01 1d 27 01 03 01 03 01 1d 27 01 04 01 04 01 1d 27 01 05 01 05 01 1d 27 01 06 01 06 01 1d 27 01 06 01 06 01 1d 27 01 07 01 07 01 1d 27 01 07 01 07 01 1d 27 01 07 01 07 01 1d 27 01 07 01 07 01 1d 27 01 07 01 07 01 1d 27 01 06 01 06 01 1d 27 01 06 01 06 01 1d 27 01 05 01 05 01 1d 27 01 04 01 04 01 1d 27 01 04 01 04 01 1d 27 01 03 01 03 01 1d 27 01 02 01 02 01 1d 27 01 00 01 00 01 1d 27 01 ff 00 ff 00 1d 27 01 fe 00 fe 00 1d 27 01 fc 00 fd 00 1d 27 01 f9 00 fa 00 1d 27 01 f8 00 f8 00 1d 27 01 f6 00 f7 00 1d 27 01 f4 00 f5 00 1d 27 01 f2 00 f3 00 1d 27 01 f0 00 f1 00 1d 27 01 ed 00 ef 00 1d 27 01 ea 00 ec 00 1d 27 01 e7 00 e9 00 1d 27 01 e4 00 e6 00 1d 27 01 e0 00 e3 00 1d 27 01 dd 00 df 00 1d 27 01 d9 00 dc 00 1d 27 01 d5 00 d8 00 1d 27 01 d0 00 d4 00 1d 27 01 ca 00 cf 00 1d 27 01 c5 00 c9 00 1d 27 01 c0 00 c4 00 1d 27 01 ba 00 bf 00 1d 27 01 b5 00 b9 00 1d 27 01 b0 00 b4 00 1d 27 01 aa 00 af 00 1d 27 01 a4 00 a9 00 1d 27 01 9e 00 a3 00 1d 27 01 98 00 9d 00 1d 27 01 92 00 97 00 1d 27 01 8b 00 91 00 1d 27 01 85 00 8a 00 1d 27 01 7e 00 84 00 1d 27 01 78 00 7d 00 1d 27 01 72 00 77 00 1d 27 01 6b 00 71 00 1d 27 01 64 00 6a 00 1d 27 01 5d 00 63 00 1d 27 01 55 00 5c 00 1d 27 01 4d 00 54 00 1d 27 01 45 00 4c 00 1d 27 01 3b 00 44 00 1d 27 01 2d 00 3a 00 1d 27 01 20 00 2c 00 1d 27 01 10 00 1f 00 1d 27 01 01 00 0f 00

37

TMP58A/P58A COMMAND SET

1d 27 01 00 00 00 00 1d 27 01 00 00 00 00 1d 27 01 01 00 0f 00 1d 27 01 10 00 1f 00 1d 27 01 20 00 2c 00 1d 27 01 2d 00 3a 00 1d 27 01 3b 00 44 00 1d 27 01 45 00 4c 00 1d 27 01 4d 00 54 00 1d 27 01 55 00 5c 00 1d 27 01 5d 00 63 00 1d 27 01 64 00 6a 00 1d 27 01 6b 00 71 00 1d 27 01 72 00 77 00 1d 27 01 78 00 7d 00 1d 27 01 7e 00 84 00 1d 27 01 85 00 8a 00 1d 27 01 8b 00 91 00 1d 27 01 92 00 97 00 1d 27 01 98 00 9d 00 1d 27 01 9e 00 a3 00 1d 27 01 a4 00 a9 00 1d 27 01 aa 00 af 00 1d 27 01 b0 00 b4 00 1d 27 01 b5 00 b9 00 1d 27 01 ba 00 bf 00 1d 27 01 c0 00 c4 00 1d 27 01 c5 00 c9 00 1d 27 01 ca 00 cf 00 1d 27 01 d0 00 d4 00 1d 27 01 d5 00 d8 00 1d 27 01 d9 00 dc 00 1d 27 01 dd 00 df 00 1d 27 01 e0 00 e3 00 1d 27 01 e4 00 e6 00 1d 27 01 e7 00 e9 00 1d 27 01 ea 00 ec 00 1d 27 01 ed 00 ef 00 1d 27 01 f0 00 f1 00 1d 27 01 f2 00 f3 00 1d 27 01 f4 00 f5 00 1d 27 01 f6 00 f7 00 1d 27 01 f8 00 f8 00 1d 27 01 f9 00 fa 00 1d 27 01 fb 00 fb 00 1d 27 01 fc 00 fd 00 1d 27 01 fe 00 fe 00 1d 27 01 ff 00 ff 00 1d 27 01 00 01 00 01 1d 27 01 01 01 01 01 1d 27 01 02 01 02 01 1d 27 01 03 01 03 01 1d 27 01 04 01 04 01 1d 27 01 05 01 05 01 1d 27 01 06 01 06 01 1d 27 01 06 01 06 01 1d 27 01 07 01 07 01 1d 27 01 07 01 07 01 1d 27 01 07 01 07 01 1d 27 01 07 01 07 01 1d 27 01 07 01 07 01 1d 27 01 06 01 06 01 1d 27 01 06 01 06 01 1d 27 01 05 01 05 01 1d 27 01 04 01 04 01 1d 27 01 04 01 04 01 1d 27 01 03 01 03 01 1d 27 01 02 01 02 01 1d 27 01 00 01 00 01 1d 27 01 ff 00 ff 00 1d 27 01 fe 00 fe 00 1d 27 01 fc 00 fd 00 1d 27 01 f9 00 fa 00 1d 27 01 f8 00 f8 00 1d 27 01 f6 00 f7 00 1d 27 01 f4 00 f5 00 1d 27 01 f2 00 f3 00 1d 27 01 f0 00 f1 00 1d 27 01 ed 00 ef 00 1d 27 01 ea 00 ec 00 1d 27 01 e7 00 e9 00 1d 27 01 e4 00 e6 00 1d 27 01 e0 00 e3 00 1d 27 01 dd 00 df 00 1d 27 01 d9 00 dc 00 1d 27 01 d5 00 d8 00 1d 27 01 d0 00 d4 00 1d 27 01 ca 00 cf 00

38

TMP58A/P58A COMMAND SET

1d 27 01 c5 00 c9 00 1d 27 01 c0 00 c4 00 1d 27 01 ba 00 bf 00 1d 27 01 b5 00 b9 00 1d 27 01 b0 00 b4 00 1d 27 01 aa 00 af 00 1d 27 01 a4 00 a9 00 1d 27 01 9e 00 a3 00 1d 27 01 98 00 9d 00 1d 27 01 92 00 97 00 1d 27 01 8b 00 91 00 1d 27 01 85 00 8a 00 1d 27 01 7e 00 84 00 1d 27 01 78 00 7d 00 1d 27 01 72 00 77 00 1d 27 01 6b 00 71 00 1d 27 01 64 00 6a 00 1d 27 01 5d 00 63 00 1d 27 01 55 00 5c 00 1d 27 01 4d 00 54 00 1d 27 01 45 00 4c 00 1d 27 01 3b 00 44 00 1d 27 01 2d 00 3a 00 1d 27 01 20 00 2c 00 1d 27 01 10 00 1f 00 1d 27 01 01 00 0f 00 1d 27 01 00 00 00 00

39

TMP58A/P58A COMMAND SET

④Tab command

Horizontal tab

Name Horizontal tab ASCII :HT Format Decimal :9 HEX :09 Description Moves the print position to the next horizontal tab position. Range Default Support modal All the printers This command is ignored unless the next horizontal tab position has been set. If the next horizontal tab position exceeds the printing area, the printer sets the printing position to [printing area width + 1]. Note Horizontal tab positions are set with ESC D. If this command is received when the printing position is at [printing area width + 1], the printer executes print buffer-full printing of the current line and horizontal tab processing from the beginning of the next line. For example

Set horizontal tab positions

Name Set horizontal tab positions ASCII :ESC D [d]k NUL Format Decimal :27 68 [d]k 0 HEX :1B 44 [d]k 00 Sets horizontal tab positions. d[k] specifies the column number for setting a horizontal tab position from the Description beginning of the line. k indicates the total number of horizontal tab positions to be set. NULL is end mark. XX58:1 ≤ d ≤ 46(d1

XX80:1 ≤ d ≤ 70(d1 < d2 < …… dk ,1 ≤ k ≤ 16) Default [d]k = 0 Support modal All the printers Note Set the Tab position:

40

TMP58A/P58A COMMAND SET

The horizontal tab position is stored as a value of [character width n] measured from the beginning of the line. The character width includes the right-side character spacing, and double-width characters are set with twice the width of normal characters.

sending HT. 16 tab positions (k = 16) can be set. Data exceeding 16 tab positions is processed as normal data.

When [n]k is less than or equal to the preceding value [n]k-1, tab setting is finished and the following data is processed as normal data. all horizontal tab positions.

the character width changes.

1B 40 1C 26 1B 44 10 18 00 B1 E0 BA C5 09 C3 FB B3 C6 09 BC DB B8 F1 28 D4 AA 29 0D 0A 1B 44 10 18 00 31 09 B0 D7 B2 CB 09 31 2E 35 0D 0A For example 1B 44 10 18 00 32 09 C7 D1 D7 D3 09 32 0D 0A 1B 44 10 18 00 33 09 B6 B9 D1 BF 09 31 0D 0A

⑤bar code command

Select printing position for HRI characters

Name Select printing position for HRI characters ASCII :GS H n Format Decimal :29 72 n

41

TMP58A/P58A COMMAND SET

HEX :1D 48 n Selects the printing position of HRI characters when printing a bar code. n selects the printing position as follows:

n Printing position Description 0, 48 Not printed 1, 49 Above the bar code 2, 50 Below the bar code 3, 51 Both above and below the bar code Range 0 ≤ n ≤ 3 or 48 ≤ n ≤ 51 Default n = 0 Support modal All the printers Note ESC @,dump and restart,Reset the printer,This command setting failure. For example

Select bar code height

Name Select bar code height ASCII :GS h n Format Decimal :29 104 n HEX :1D 68 n Selects the height of the bar code. n specifies the number of dots in the vertical direction.

Description

Range 1 ≤ n ≤ 255 Default n = 64 Support modal All the printers Note ESC @,dump and restart,Reset the printer,This command setting failure. For example

Set bar code width

Name Set bar code width ASCII :GS w n Format Decimal :29 119 n HEX :1D 77 n Description Set bar code width unit to n,Parameters n meaning as follow:

42

TMP58A/P58A COMMAND SET

Range 1 ≤ n ≤ 6 Default n = 2 Support modal All the printers Note ESC @,dump and restart,Reset the printer,This command setting failure. For example

Print bar code

Name Print bar code (A) ASCII :GS k m [d]k NUL Decimal :29 107 m [d]k NUL HEX :1D 6B m [d]k NUL Format (B) ASCII :GS k m n [d]k Decimal :29 107 m n [d]k HEX :1D 6B m n [d]k Selects a bar code system and prints the bar code. Description m selects a bar code system as follows:

43

TMP58A/P58A COMMAND SET

m Bar Code Number of Characters Remarks System ① 0 UPC-A 11 k 12 48 d 57 1 UPC-E 11 k 12 48 d 57 2 JAN13 12 k 13 48 d 57 (EAN13) 3 JAN 8 (EAN8) 7 k 8 48 d 57 4 CODE39 48 d 57, 65 d 1 k′ 90, 32, 36, 37, 43, 45, 46, 47 5 ITF 1 k (even number) 48 d 57 6 CODABAR 48 d 57, 65 d 1 k′ 68 , 36, 43, 45, 46, 47, 58 ② 65 UPC-A 11 n 12 48 d 57 66 UPC-E 11 n 12 48 d 57 67 JAN13 12 n 13 48 d 57 (EAN13) 68 JAN 8 (EAN8) 7 n 8 48 d 57 69 CODE39 1 n 255 48 d 57, 65 d 90, 32, 36, 37, 43, 45, 46, 47 70 ITF 1 n 255 (even 48 d 57 number) 71 CODABAR 1 n 255 48 d 57, 65 d 68 , 36, 43, 45, 46, 47, 58 72 CODE93 1 n 255 0 d 127 73 CODE128 2 n 255 0 d 127 [Notes for ①]

-A or UPC-E, the printer prints the bar code data after receiving 12 bytes of bar code data and processes the following data as normal data. bar code after receiving 13 bytes of bar code data and processes the following data as normal data. e printer prints the bar code after receiving 8 bytes of bar code data and processes the following data as normal data. an odd number of bytes of data is input, the printer ignores the last

44

TMP58A/P58A COMMAND SET

received data. [Notes for ②] n bytes from the next character data as bar code data. and processes the following data as normal data. [Notes in standard mode] processes the following data as normal data. paper. code,regardless of the line spacing specified by ESC 2 or ESC 3. buffer.When data exists in the print buffer, the printer processes the data following m as normal data. beginning of the line. double-strike,underline, character size, white/black reverse printing, or -down printing mode. [Example] Printing GS k 72 7 67 111 100 101 13 57 51

Control character HRI HRI ASCII Hex Decimal characte ASC Hex Decim characte r II al r NUL 00 0 ■U DEL 10 16 ■P SOH 01 1 ■A DC1 11 17 ■Q STX 02 2 ■B DC2 12 18 ■R ETX 03 3 ■C DC3 13 19 ■S EOT 04 4 ■D DC4 14 20 ■T ENQ 05 5 ■E NAK 15 21 ■U ACK 06 6 ■ SYN 16 22 ■V BEL 07 7 ■ ETB 17 23 ■W BS 08 8 ■H CAN 18 24 ■X HT 09 9 ■I 19 25 ■Y LF 0A 10 ■J SUB 1A 26 ■ VT 0B 11 ■K ESC 1B 27 ■A FF 0C 12 ■L FS 1C 28 ■B CR 0D 13 ■M GS 1D 29 ■C SO 0E 14 ■N RS 1E 30 ■D SI 0F 15 ■ US 1F 31 ■E DEL 7F 127 ■T

45

TMP58A/P58A COMMAND SET

When CODE128 (m = 73) is used: account for data transmission: ① The top of the bar code data string must be the code set selection character (CODE A, CODE B, or CODE C), which selects the first code set. ②Special characters are defined by combining two characters "{" and one character. The ASCII character "{" is defined by transmitting "{" twice consecutively.

Transmit data Specific character ASCII Hex Decimal SHIFT {S 7B, 53 123,83 CODE A {A 7B, 41 123,65 CODE B {B 7B,42 123,66 CODE C {C 7B,43 123,67 FNC1 {1 7B,31 123,49 FNC2 {2 7B,32 123,50 FNC3 {3 7B,33 123,51 FNC4 {4 7B,34 123,52 "{" {{ 7B,7B 123,123

[Example] Example data for printing "No. 123456" In this example, the printer first prints "No." using CODE B, then prints the following numbers using CODE C. GS k 73 10 123 66 78 111 46 123 67 12 34 56

printer stops command processing and processes the following data as normal data. r does not apply any special character, the printer stops command processing and processes the following data as normal data.

46

TMP58A/P58A COMMAND SET

set, the printer stops command processing and processes the following data as normal data.

characters or code set selection characters.

>H to <1F>H and <7F>H) are space.

(A) 0 ≤ m ≤ 6 Range (B) 65 ≤ m ≤ 74 Default Support modal All the printers Note 1b 40 1d 48 02 1d 68 64 1d 77 03 30 0D 0A 1d 6b 00 30 31 32 33 34 35 36 37 38 39 31 00 31 0D 0A 1d 6b 01 30 31 32 33 34 35 36 37 38 39 31 00 32 0D0A 1d 6b 02 30 31 32 33 34 35 36 37 38 39 31 32 00 33 0D 0A 1d 6b 03 30 31 32 33 34 35 36 37 00 34 0D 0A 1D 6B 04 30 31 32 41 42 20 24 25 2B 2D 2E 2F 00 35 0D 0A 1d 6b 05 30 31 32 33 34 35 36 37 38 39 31 32 00 36 0D 0A 1d 6b 06 2D 31 32 42 24 2B 2D 2E 00 For example 1d 6b 06 43 31 32 33 34 35 36 34 38 39 00

36 35 0D 0A 1d 6b 41 0c 31 32 33 34 35 36 37 38 39 30 31 32 36 36 0D 0A 1d 6b 42 0c 30 32 33 34 35 36 30 30 30 30 38 39 36 37 0D 0A 1d 6b 43 0c 30 32 33 34 35 36 30 30 30 30 38 39 36 38 0D 0A 1d 6b 44 08 30 32 33 34 35 36 30 30 36 39 20 20 4e 4f 20 24 25 2b 2d 2e 2f 31 32 33 34 35 36 30 30 0D 0A 1d 6b 45 11 4e 4f 20 24 25 2b 2d 2e 2f 31 32 33 34 35 36 30 30 37 30 20 20 20 30 32 33 34 35 36 30 30 C5 BC CA FD 0D 0A 1d 6b 46 09 30 31 32 33 34 35 36 30 30 37 31 0d 0a 1d 6b 47 05 32 33 34 35 36

47

TMP58A/P58A COMMAND SET

37 32 0d 0a 1d 6b 48 0b 32 33 34 35 36 41 42 2e 2f 2b 2c 37 33 0d0a 1d 6b 49 0A 7B 42 4E 6F 2E 7B 43 0C 22 38

⑥QR CODE COMMAND

Set the model type

Name Set the model type ASCII :GS ( k pL pH cn fn n Format Decimal :29 40 107 pL pH cn fn n HEX :1D 28 6b pL pH cn fn n Description Set the model type pL=3, pH=0 cn=49 Range fn=67 0 ≤ n ≤ 16 Default n=3 Support modal All the printers Note Set the QR code size of the smallest unit of graphics module For example

Set the QR code error correction level error (ECC)

Name Set the QR code error correction level error (ECC) ASCII :GS ( k pL pH cn fn n Format Decimal :29 40 107 pL pH cn fn n HEX :1D 28 6b pL pH cn fn n Description Set the QR code error correction level error pL=3, pH=0 cn=49 Range fn=69 48 ≤ n ≤ 51 Default n=48 Support modal All the printers Note Set the QR code error correction level error

48

TMP58A/P58A COMMAND SET

n function The general proportion of

recovery (%)

48 Error correction level L 7

49 Error correction level m 15

50 Error correction level q 25 51 Error correction level h 30

For example

Set the QR code graphic data

Name Set the QR code graphic data ASCII :GS ( k pL pH cn fn m d1…dk Format Decimal :29 40 107 pL pH cn fn m d1…dk HEX :1D 28 6b pL pH cn fn m d1…dk Description Set the QR code graphic data. 4 ≤ (pL + pH×256 ) ≤ 7092 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 28) cn=49 fn=80 Range m=48 0 ≤ d ≤ 255 k = (pL + pH×256 ) - 3 Default Support modal All the printers Set the QR code graphic data(d1...dk)to QR code buffer. Note (d1...dk) ((pL + pH×256 )-3)Byte as a graphic data is processed.

For example

Print store QR codes graphics

Name Print store QR codes graphics ASCII :GS ( k pL pH cn fn m Format Decimal :29 40 107 pL pH cn fn m HEX :1D 28 6b pL pH cn fn m Description Print store QR codes graphics pL=3, pH=0 cn=49 Range fn=81 m=48 Default Support modal All the printers Note Print store QR codes graphics.

49

TMP58A/P58A COMMAND SET

The user must consider QR code graphic space(QR code graphics about

spacing and the spacing of up and down).

1b 40 1d 28 6b 03 00 31 43 03 1d 28 6b 03 00 31 45 30 For example 1d 28 6b 06 00 31 50 30 41 42 43 1b 61 01 1d 28 6b 03 00 31 52 30 1d 28 6b 03 00 31 51 30

⑦STATUS COMMAND

Transmit status

Name Transmit status ASCII :GS r n Format Decimal :29 114 n HEX :1D 72 n Transmits the status specified by n as follows: n Function Description 1.49 Transmits paper sensor status

Range n = 1, 49 Default Support modal All the printers When using a serial interface When DTR/DSR control is selected, the printer transmits only 1 byte after confirming the host is ready to receive data (DSR signal is SPACE). If the host computer is not ready to receive data (DSR signal is MARK), the printer waits until the host is ready. When XON/XOFF control is selected, the printer transmits only 1 byte without confirming the condition of the DSR signal. Note This command is executed when the data in the receive buffer is developed. Therefore, there may be a time lag between receiving this command and transmitting the status, depending on the receive buffer status. When Auto Status Back (ASB) is enabled using GS a, the status transmitted by GS r and the ASB status must be differentiated using. The status types to be transmitted are shown below:

50

TMP58A/P58A COMMAND SET

Bit Off/On Hex Decimal Status for ASB 0,1 - - - Undefined. 2,3 Off 00 0 Paper roll end sensor: paper adequate. On (0C) (12) Paper roll end sensor: paper near end. 4 Off 00 0 Not used. Fixed to Off. 5,6 - - - Undefined. 7 Off 00 0 Not used. Fixed to Off. Paper sensor status (n = 1, 49): Bits 2 and 3: When the paper end sensor detects a paper end, the printer goes offline and does not execute this command. Therefore, bits 2 and 3 do not transmit the status of paper end. For example

Real-time transmission status

Name Real-time transmission status ASCII :DLE EOT n Format Decimal :16 4 n HEX :10 04 n n = 1:printer status n = 2:send offline status Description n = 3:Transmission error status n = 4:Transmission paper sensor status Range 1 ≤ n ≤ 4 Default Support modal All the printers

51

TMP58A/P58A COMMAND SET

n=1:printer status bit 0/1 HEX Decimal Function 0 0 00 0 0 1 1 02 2 1 2 0 00 0 Open one or two cash drawer (No cash drawer is fixed to 0) 1 04 4 Close cash drawer 3 0 00 0 On-line 1 08 8 Off-line 4 1 10 16 1 5, -- -- Undefined 6 7 0 00 00 The paper has been torn away 1 80 96 Paper not to tear away

n=2:send offline status 位 0/1 HEX Decimal function 0 0 00 0 0 1 1 02 2 1 2 0 00 0 Close paper warehouse 1 04 4 Open paper warehouse Note 3 0 00 0 Not push Feed button 1 08 8 Push feed button 4 1 10 16 1 5 0 00 0 Paper normal 1 20 32 Paper out 6 0 00 00 Normal status 1 40 64 Error status 7 0 00 0 0

n=3:Transmission error status bit 0/1 HEX Decimal function 0 0 00 0 0 1 1 02 2 1 2 -- -- Undefined 3 0 00 0 cutter normal 1 08 8 Cutter error 4 1 10 16 1 5 0 00 0 Unrecoverable Error 1 20 32 Unrecoverable Error 6 0 00 00 Print head temperature and voltage are normal

52

TMP58A/P58A COMMAND SET

1 40 64 Print head temperature and voltage are over range. 7 0 00 0 0

n=4:Transmission paper sensor status bit 0/1 HEX Decimal Function 0 0 00 0 0 1 1 02 2 1 2 0 00 0 normal status , 1 0C 12 paper will out 3 4 1 10 16 1 5 0 00 0 normal status , 1 60 96 Paper out 6 7 0 00 0 0

10 04 01 10 04 02 For example 10 04 03 10 04 04

Enable/Disable Automatic Status Back (ASB)

Name Enable/Disable Automatic Status Back (ASB) ASCII :GS a n Format Decimal :29 97 n HEX :1d 61 n When ASB is enabled, the printer will send the changed status to PC automatically. bit off/on HEX Decimal ASB status Description 0 - - - Undefined 1 - - - Undefined 2 off 00 0 error status prohibition

53

TMP58A/P58A COMMAND SET

on 04 4 Error status allows 3 off 00 0 Paper sensor status prohibition on 08 8 Paper sensor status allows 4-7 - - - Undefined

Range 0≤n≤255 Default Support modal All the printers Note For example 1D 61 08

⑧Other command

Initialize printer

Name Initialize printer ASCII :ESC @ Format Decimal :27 64 HEX :1B 40 Clears the data in the print buffer and resets the printer mode to the mode Description that was in effect when the power was turned on. Range Default Support modal All the printers Note For example

Printing test paper

Name Printing test paper ASCII :DC2 T Format Decimal :18 94 HEX :12 54 Description Printing test page Range Default Support modal All the printers Note For example 1B 40 12 54

54

TMP58A/P58A COMMAND SET

Set the print concentration

Name Set the print concentration ASCII :ESC 7 n1 n2 n3 Format Decimal :27 55 n1 n2 n3 HEX :1B 37 n1 n2 n3 Set “max heating dots”,”heating time”, “heating interval” ; • n1 = 0-255 Max printing dots,Unit(8dots),Default:9(80 dots); • n2 = 3-255 Heating time,Unit(10us),Default:80(800us); • n3 = 0-255 Heating interval,Unit(10us),Default:2(20us); Description The more max heating dots, the more peak current will cost when printing, the faster printing speed. The max heating dots is 8*(n1+1); The more heating time, the more density , but the slower printing speed. If heating time is too short, blank page may occur. The more heating interval, the more clear, but the slower printing speed. Range Default Support modal All the printers ‘heating time’ 、 ’heating interval’ PCB will automatically adjust Note according to the input voltage Heating dots:80dots,heating time:800us,heating interval:200us。 1B 40 1B 37 09 50 02 12 54

For example Heating dots:80dot,heating time:1600us,heating interval:200us。 1B 40 1B 37 09 A0 02 12 54

It is observed that the more heating time,the more printing dark.

55

TMP58A/P58A COMMAND SET

Character set

CODE A

46

TMP58A/P58A COMMAND SET

CODE B

47

TMP58A/P58A COMMAND SET

CODE C

48

TMP58A/P58A COMMAND SET

Appendix B.

1.code page table

Page0 PC437

Code page 437 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

ï î ì 8_ Ç ü é â ä à å ç ê ë è Ä Å

9_ É æ Æ ô ö ò û ù ÿ Ö Ü ¢ £ ¥ ₧ ƒ

í ó ú ª º ¿ ⌐ ¬ ¡ « » A_ á ñ Ñ ½ ¼

░ ▒ ▓ │ ┤ ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐ B_ ╡ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧ C_ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀ D_ α ß Γ π Σ σ µ τ Φ Ω δ ∞ φ ε ∩ E_ Θ

F_ ≡ ± ≥ ≤ ⌠ ⌡ ÷ ≈ ° ∙ ∙ √ ⁿ ² ■

49

TMP58A/P58A COMMAND SET

Page1 Katakana

_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

┼ 8 ▁ ▂ ▃ ▄ ▅ ▆ ▇ █ ▏ ▎ ▍ ▌ ▋ ▊ ▉

┴ ┬ ┤ ├ ? ? ┌ ┐ └ ┘ 9_ ─ │ ╭ ╮ ╰ ╯

A_ 。 「 」 、 ・ ヲ ァ ィ ゥ ェ ォ ャ ュ ョ ッ

B_ ー ア イ ウ エ オ カ キ ク ケ コ サ シ ス セ ソ

C_ タ チ ツ テ ト ナ ニ ヌ ネ ノ ハ ヒ フ ヘ ホ マ

D ミ ム メ モ ヤ ユ ヨ ラ リ ル レ ロ ワ ン ゙ ゚

= ⊨ ♠ ♥ ♦ ♣ ⚫ ⚫ ⧧ ⧧ E ⧧ ⧧ ◢ ◣ ◥ ◤

50

TMP58A/P58A COMMAND SET

× 円 年 月 日 時 分 秒 亍 市 区 町 村 人 F ░

Page2 PC850[Multilingual]

Code page 850 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

ï î ì 8_ Ç ü é â ä à å ç ê ë è Ä Å

9_ É æ Æ ô ö ò û ù ÿ Ö Ü ø £ Ø × ƒ

á í ó ú ª º ¿ ® ¬ ½ ¼ ¡ « » A_ ñ Ñ

░ ▒ ▓ │ ┤ © ╣ ║ ╗ ╝ ┐ B_ Á Â À ¢ ¥

└ ┴ ┬ ├ ─ ┼ ╚ ╔ ╩ ╦ ╠ ═ ╬ ¤ C_ ã Ã

Í Î Ï ┘ ┌ █ ▄ ¦ Ì ▀ D_ ð Ð Ê Ë È ı

¯ ´ E_ Ó ß Ô Ò õ Õ µ þ Þ Ú Û Ù ý Ý

F_ ­ ± ‗ ¾ ¶ § ÷ ¸ ° ¨ ∙ ¹ ³ ² ■

51

TMP58A/P58A COMMAND SET

Page3 PC860[Portuguese]

Code page 860

_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

Ç Í ì 8_ ü é â ã à Á ç ê Ê è Ô Ã Â

Ì 9_ É À È ô õ ò Ú ù Õ Ü ¢ £ Ù ₧ Ó

í ª º ¿ Ò ¬ ½ ¼ ¡ « » A_ á ó ú ñ Ñ

B_ ░ ▒ ▓ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐

C_ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧

D_ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀

E_ α ß Γ π Σ σ µ τ Φ Θ Ω δ ∞ φ ε ∩

F_ ≡ ± ≥ ≤ ⌠ ⌡ ÷ ≈ ° ∙ ∙ √ ⁿ ² ■

52

TMP58A/P58A COMMAND SET

Page4 PC863[Canadian-French]

Code page 863

_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ Ç ü é â Â à ¶ ç ê ë è ï î ‗ À §

9_ É È Ê ô Ë Ï û ù ¤ Ô Ü ¢ £ Ù Û ƒ

A_ ¦ ´ ó ú ¨ ¸ ³ ¯ Î ⌐ ¬ ½ ¼ ¾ « »

B_ ░ ▒ ▓ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐

C_ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧

D_ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀ Φ Ω δ ∞ ε ∩ E_ α ß Γ π Σ σ µ τ Θ φ

F_ ≡ ± ≥ ≤ ⌠ ⌡ ÷ ≈ ° ∙ ∙ √ ⁿ ² ■

53

TMP58A/P58A COMMAND SET

Page5 pc865[Nordic]

Code page 865 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ Ç ü é â ä à å ç ê ë è ï î ì Ä Å

9_ É æ Æ ô ö ò û ù ÿ Ö Ü ø £ Ø ₧ ƒ

A_ á í ó ú ñ Ñ ª º ¿ ⌐ ¬ ½ ¼ ¡ « ¤

B_ ░ ▒ ▓ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐

C_ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧

D_ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀

E_ α ß Γ π Σ σ µ τ Φ Θ Ω δ ∞ φ ε ∩

F_ ≡ ± ≥ ≤ ⌠ ⌡ ÷ ≈ ° ∙ ∙ √ ⁿ ² ▌

54

TMP58A/P58A COMMAND SET

Page6 pc1251 [Cyrillic]

Code page 1251

_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ Ђ Ѓ ‚ ѓ „ … † ‡ € ‰ Љ ‹ Њ Ќ Ћ Џ

9_ ђ ‘ ’ “ ” • – — ™ љ › њ ќ ћ џ

A_ Ў ў Ј ¤ Ґ ¦ § Ё © Є « ¬ – ® Ї

B_ ° ± І і ґ µ ¶ ∙ ё № є » ј Ѕ ѕ ї

C_ А Б В Г Д Е Ж З И Й К Л М Н О П

D_ Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я

E_ а б в г д е ж з и й к л м н о п

F_ р с т у ф х ц ч ш щ ъ ы ь э ю я

55

TMP58A/P58A COMMAND SET

Page7 pc866 Cyrilliec #2

Code page 866 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ А Б В Г Д Е Ж З И Й К Л М Н О П

9_ Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю

A_ а б в г д е ж з и й к л м н о п

B_ ░ ▒ ▓ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐

C_ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧

D_ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀

E_ р с т у ф х ц ч ш щ ъ ы ь э ю я

F_ Ё ё Є є Ї ї Ў ў ° ∙ · √ № ¤ ■

56

TMP58A/P58A COMMAND SET

Page8 MIK[Cyrillic /Bulgarian]

Code page MIK _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ А Б В Г Д Е Ж З И Й К Л М Н О П

9_ Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я

A_ а б в г д е ж з и й к л м н о п

B_ р с т у ф х ц ч ш щ ъ ы ь э ю я

C_ └ ┴ ┬ ├ ─ ┼ ╣ ║ ╚ ╔ ╩ ╦ ╠ ═ ╬ ┐

D_ ░ ▒ ▓ │ ┤ № § ╗ ╝ ┘ ┌ █ ▄ ▌ ▐ ▀

E_ α ß Γ π Σ σ µ τ Φ Θ Ω δ ∞ φ ε ∩

F_ ≡ ± ≥ ≤ ⌠ ⌡ ÷ ≈ ° ∙ ∙ √ ⁿ ² ■

57

TMP58A/P58A COMMAND SET

Page9 CP755

Code page 755 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ А Б В Г Д Е Ж З И Й К Л М Н О П

9_ Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я

A_ а б в г д е ж з и й к л м н о п

B_ ░ ▒ ▓ │ ┤ Ā ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐

C_ └ ┴ ┬ ├ ─ ┼ ā ║ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧

D_ Š ╦ č Č ╚ ╔ ģ Ī ī ┘ ┌ █ ▄ ū Ū ▀

E_ р с т у ф х ц ч ш щ ъ ы ь э ю я

F_ Ē ē Ģ К Κ ļ Ļ Ž Ž ∙ · √ Ν Š ■

58

TMP58A/P58A COMMAND SET

Page10 Iran

Code page Iran _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

。 F ء ﺋ ﺁ ؟ ـ ، ۹ ۸ ۷ ۶ ۵ ۴ ۳ ۲ ﺍ _8

* C* ﺣ ﺡ ﭼ ﭼ ﺟ ﺝ ﺛ ﺙ ﺗ ﺕ ﭘ ﭖ ﺑ ﺏ ﺎ ﺍ _9

ط ﺿ ﺽ ﺻ ﺹ ﺷ ﺵ ﺳ ﺱ ژ ز ر ذ د ﺧ ﺥ _A

B_ ░ ▒ ▓ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╜ ╛ ┐

C_ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧

D_ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀

ﮒ ﮐ ﮎ ﻗ ﻕ ﻓ ﻑ ﻏ ﻐ ﻎ ﻍ ﻋ ﻌ ﻊ ﻉ ظ _E

ﯾ ﯼ ﯽ ﻫ ﻬ ﻩ و ﻧ ﻥ ﻣ ﻡ ﻟ ﻻ ﻝ ﮔ _F

59

TMP58A/P58A COMMAND SET

Page15 CP862 [Hebrew]

Code page 862 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F ן מ ם ל כ ך י ט ח ז ו ה ד ג ב א _8

ƒ ₧ ¥ £ ¢ ת ש ר ק צ ץ פ ף ע ס נ _9

A_ á í ó ú ñ Ñ ª º ¿ ⌐ ¬ ½ ¼ ¡ « »

B_ ░ ▒ ▓ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐

C_ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧

D_ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀

E_ α ß Γ π Σ σ µ τ Φ Θ Ω δ ∞ φ ε ∩

F_ ≡ ± ≥ ≤ ⌠ ⌡ ÷ ≈ ° ∙ ∙ √ ⁿ ² ■

60

TMP58A/P58A COMMAND SET

Page16 PC1252 Latin 1

Code page 1252 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ € ‚ ƒ „ … † ‡ ˆ ‰ Š ‹ Œ Ž

9_ ‘ ’ “ ” • – — ˜ ™ š › œ ž Ÿ

A_ ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ – ® ¯

B_ ° ± ² ³ ´ µ ¶ ∙ ¸ ¹ º » ¼ ½ ¾ ¿

C_ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï

D_ Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß

E_ à á â ã ä å æ ç è é ê ë ì í î ï

F_ ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ

61

TMP58A/P58A COMMAND SET

Page17 WCP1253 [Greek]

Code page 1253 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ € ‚ ƒ „ … † ‡ ‰ ‹

9_ ‘ ’ “ ” • – — ™ ›

A_ ΅ Ά £ ¤ ¥ ¦ § ¨ © « ¬ – ® ―

B_ ° ± ² ³ ΄ µ ¶ ∙ Έ Ή Ί » Ό ½ Ύ Ώ

C_ ĭ Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο

D_ Π Ρ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή í

E_ ΰ α β γ δ ε ζ η θ ι κ λ μ ν ξ ο

F_ π ρ ς σ τ υ φ χ ψ ω ï ϋ ό ύ ώ

62

TMP58A/P58A COMMAND SET

Page18 PC852

Code page 852 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F Ç î 8_ ü é â ä ů ć ç ł ë Ő ő Ź Ä Ć

ĺ ľ 9_ É Ĺ ô ö Ľ Ś ś Ö Ü Ť ť Ł × Č

í « A_ á ó ú Ą ą Ž ž Ę ę ź Č ş »

░ ▒ ▓ │ ┤ ╣ ║ ╗ ╝ B_ Á Â ┐

C_ └ ┴ ┬ ├ ─ ┼ ╚ ╔ ╩ ╦ ╠ ═ ╬ ¤ Í Î ┘ ┌ █ ▄ D_ Ë ě ■

E_ Ó ß Ô Ń ń ň Š š Ŕ Ú ŕ Ű ý Ý ţ ´

F_ ­ ˇ § ÷ ¸ ° ¨ ˙ ■

63

TMP58A/P58A COMMAND SET

Page19 PC858 (Multilingual Latin Ⅰ+Euro)

Code page 858 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F ï î ì 8_ Ç ü é â ä à å ç ê ë è Ä Å

9_ É æ Æ ô ö ò û ù ÿ Ö Ü ø £ Ø × ƒ

í ¡ « » A_ á ó ú ñ Ñ ª º ¿ ® ¬ ½ ¼

░ ▒ ▓ │ ┤ ╣ ║ ╗ ╝ ┐ B_ Á Â À © ¢ ¥

└ ┴ ┬ ├ ─ ┼ ╚ ╔ ╩ ╦ ╠ ═ ╬ ¤ C_ ã Ã

Í Î Ï ┘ ┌ █ ▄ ¦ Ì ▀ D_ ð Ð Ê Ë È €

¯ ´ E_ Ó ß Ô Ò õ Õ µ þ Þ Ú Û Ù ý Ý

F_ ­ ± ‗ ¾ ¶ § ÷ ¸ ° ¨ ∙ ¹ ³ ² ■

64

TMP58A/P58A COMMAND SET

Page20 Iran II

Code page Iran II _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F ء ﺋ ﺁ ؟ ـ ، ۹ ۸ ۷ ۶ ۵ ۴ ۳ ۲ ۱ ۰ _8

ﺣ ﺡ ﭼ ﭼ ﺟ ﺝ ﺛ ﺙ ﺗ ﺕ ﭘ ﭖ ﺑ ﺏ ﺎ ﺍ _9

ط ﺿ ﺽ ﺻ ﺹ ﺷ ﺵ ﺳ ﺱ ژ ز ر ذ د ﺧ ﺥ _A

B_ ░ ▒ ▓ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╜ ╛ ┐

C_ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧

D_ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀

ﮒ ﮐ ﮎ ﻗ ﻕ ﻓ ﻑ ﻏ ﻐ ﻎ ﻍ ﻋ ﻌ ﻊ ﻉ ظ _E

ﯾ ﯼ ﯽ ﻫ ﻬ ﻩ و ﻧ ﻥ ﻣ ﻡ ﻟ ﻻ ﻝ ﮔ _F

65

TMP58A/P58A COMMAND SET

Page21 Latvian

Code page Latvian _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ А Б В Г Д Е Ж З И Й К Л М Н О П

9_ Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я

A_ а б в г д е ж з и й к л м н о п

Ō מ B_ А

C_ ā

ī D_ Š č Č Ī ū Ū

E_ р с т у ф х ц ч ш щ ъ ы ь э ю я

F_ Ē ē Ģ К Κ ⌠ ⌡ Ž Ž ō Ν Š

66

TMP58A/P58A COMMAND SET

Page22 CP864 [Arabic]

Code page 864 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ ° ∙ ∙ √ ▒ ─ │ ┼ ┤ ┬ ├ ┴ ┐ ┌ └ ┘

ﻼ ﻻ ﻸ ﻷ « » ≈ ¼ ½ ± β ∞ φ _9

ﺥ ﺡ ﺝ ، ﺙ ﺕ ﺏ ﺎ ﺄ ¤ £ ﺂ _A

؟ ﺹ ﺵ ﺱ ؛ ﻑ ۷ ۸ ۹ ٦ ٥ ٤ B_ ۰ ۱ ۲ ۳

د ﺧ ﺣ ﺟ ﺛ ﺗ ﺓ ﺑ ﺍ ﺋ ﻊ ﺅ ﺃ ﺁ ﺀ ¢ _C

ﻉ × ÷ ¬ ¦ ﻏ ﻋ ظ ط ﺿ ﺻ ﺷ ﺳ ز ر ذ _D

ﻡ ﻍ ﻎ ﻌ ﺽ ﯾ ﻯ و ﻫ ﻧ ﻣ ﻟ ﻛ ﻗ ﻓ ـ _E

■ ﻱ ﻙ ﻝ ﻶ ﻵ ﻕ ﻐ ﻲ ﻰ ﻬ ﻩ ﻥ ﹽ _F

67

TMP58A/P58A COMMAND SET

Page23 ISO-8859-1 [West Europe]

Code page 8859-1 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ € Ⅱ Ⅲ Ⅳ ↑ ↓ ‰ Š < Œ

9_ Ⅴ Ⅵ Š > œ Ÿ

A_ ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ - ® ¯

B_ ° ± ² ³ ” µ ¶ ∙ ¸ ¹ º » ¼ ½ ¾ ¿

C_ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï

D_ Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß

E_ à á â ã ä å æ ç è é ê ë ì í î ï

F_ ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ

68

TMP58A/P58A COMMAND SET

Page24 CP737 [Greek]

Code page 737 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π

9_ Ρ Σ Τ Υ Φ Χ Ψ Ω α β γ δ ε ζ η θ

A_ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ

B_ ░ ▒ ▓ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐

C_ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧

D_ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀

E_ ω ά έ ή ϊ ί ό ύ ϋ ώ Ά Έ Ή Ί Ό Ύ

F_ Ώ ± ≥ ≤ Ϊ Ϋ ÷ ≈ ° ∙ ∙ √ ⁿ ² ■

69

TMP58A/P58A COMMAND SET

Page25 WCP1257 [Baltic]

Code page 1257 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ € ‚ „ … † ‡ ‰ ‹ ¨ ˇ ¸

9_ ‘ ’ “ ” • – — ™ › ¯ ˛

A_ ¢ £ ¤ ¦ § Ø © Ŗ « ¬ – ® Æ

B_ ° ± ² ³ ´ µ ¶ · ø ¹ ŗ » ¼ ½ ¾ æ

C_ Ą Į Ā Ć Ä Å Ę Ē Č É Ź Ė Ģ Ķ Ī Ļ

D_ Š Ń Ņ Ó Ō Õ Ö × Ų Ł Ś Ū Ü Ż Ž ß

E_ ą į ā ć ä å ę ē č é ź ė ģ ķ ī ļ

F_ š ń ņ ó ō õ ö ÷ ų ł ś ū ü ż ž ˙

70

TMP58A/P58A COMMAND SET

Page26 Thai

_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ ┌ ┐ └ ┘ │ ─ ├ ┤ ┴ ┬ ┼ █

9_ ? ? เ

A_ ก ข ฃ ค ฅ ฆ ง จ ฉ ช ซ ฌ ญ ฎ ฏ

B_ ฐ ฑ ฒ ณ ด ต ถ ท ธ น บ ป ผ ฝ พ ฟ

C_ ภ ม ย ร ฤ ล ฦ ว ศ ษ ส ห ฬ อ ฮ ฯ

D_ ะ า ำ ฿

E_ เ แ โ ใ ไ ๅ ๆ ๏

F_ ๐ ๑ ๒ ๓ ๔ ๕ ๖ ๗ ๘ ๙ ๛ ?

71

TMP58A/P58A COMMAND SET

Page27 CP720[Arabic]

Code page 720 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ é â à ç ê ë è ï î

ﺍ ئ إ £ ﺅ ﺃ ﺁ ء û ù ـ ¤ ô ° _9

« » ﺹ ﺵ ﺱ ز ر ذ د ﺥ ﺡ ﺝ ﺙ ﺕ ﺓ ﺏ _A

B_ ░ ▒ ▓ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐

C_ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧

D_ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌ █ ▄ ▌ ▐ ▀

ﻱ ﻯ و ﻩ ﻥ ﻡ ﻝ ﻙ ﻕ µ ﻑ ﻍ ﻉ ظ ط ﺽ _E

F_ ≡ ≈ ° ∙ ∙ √ ⁿ ² ■

72

TMP58A/P58A COMMAND SET

Page28 CP855

Code page 855 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ ђ Ђ ѓ Ѓ ё Ё є Є ѕ Ѕ і І ї Ї ј Ј

9_ љ Љ њ Њ ћ Ћ ќ Ќ ў Ў џ Џ ю Ю ъ Ъ

A_ а А б Б ц Ц д Д е Е ф Ф г Г « »

B_ ░ ▒ ▓ │ ┤ х Х и И ╣ ║ ╗ ╝ й Й ┐

C_ └ ┴ ┬ ├ ─ ┼ к К ╚ ╔ ╩ ╦ ╠ ═ ╬ ¤

D_ л Л м М н Н о О п ┘ ┌ █ ▄ П я ▀

E_ Я Р р с С т Т у У ж Ж в В ь Ь №

F_ – ы Ы з З ш Ш э Э щ Щ ч Ч § ■

73

TMP58A/P58A COMMAND SET

Page29 PC857[Turkish]

Code page 857 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F ï î 8_ Ç ü é â ä à å ç ê ë è I Ä Å

İ 9_ É æ Æ ô ö ò û ù Ö Ü ø £ Ø Ş ş

¿ ® ¬ ½ ¼ ¡ « » A_ á í ó ú ñ Ñ Ğ ğ

░ ▒ ▓ │ ┤ © ╣ ║ ╗ ╝ ¥ ┐ B_ Á Â À ¢

C_ └ ┴ ┬ ├ ─ ┼ ã Ã ╚ ╔ ╩ ╦ ╠ ═ ╬ ¤

D_ º ª Ê Ë È Í Î Ï ┘ ┌ █ ▄ ¦ Ì ▀ × ì ¯ ´ E_ Ó ß Ô Ò õ Õ µ Ú Û Ù ÿ

F_ ­ ± ¾ ¶ § ÷ ¸ ° ¨ ∙ ¹ ³ ² ■

74

TMP58A/P58A COMMAND SET

Page30 WCP1250[Central Eurpoe]

Code page-1250 —0 —1 —2 —3 —4 —5 —6 —7 —8 —9 —A —B —C —D —E —F

8_ € ‚ „ … † ‡ ‰ Š ‹ Ś Ť Ž Ź

9_ ‘ ’ “ ” • – — ™ š › ś ť ž ź

A_ ˇ ˘ Ł ¤ Ą ¦ § ¨ © Ş « ¬ – ® Ż

B_ ° ± ˛ ł ´ µ ¶ ∙ ¸ ą ş » Ľ ˝ ľ ż

C_ Ŕ Á Â Ă Ä Ĺ Ć Ç Č É Ę Ë Ě Í Î Ď

D_ Đ Ń Ň Ó Ô Ő Ö × Ř Ů Ú Ű Ü Ý Ţ ß

E_ ŕ á â ă ä ĺ ć ç č é ę ë ě í î ď

F_ đ ń ň ó ô ő ö ÷ ř ů ú ű ü Ý ţ ˙

75

TMP58A/P58A COMMAND SET

Page31 CP775

Code page 775 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ Ć ü é ā ä ģ å ć ł ē Ŗ ŗ ī Ź Ä Å

9_ É æ Æ ō ö Ģ ¢ Ś ś Ö Ü ø £ Ø × ¤

A_ Ā Ī ó Ż ż ź ” ¦ © ® ¬ ½ ¼ Ł « »

B_ ░ ▒ ▓ │ ┤ Ą Č Ę Ė ╣ ║ ╗ ╝ Į Š ┐

C_ └ ┴ ┬ ├ ─ ┼ Ų Ū ╚ ╔ ╩ ╦ ╠ ═ ╬ Ž

D_ ą č ę ė į š ų ū ž ┘ ┌ █ ▄ ▌ ▐ ▀

E_ Ó ß Ō Ń õ Õ µ ń Ķ ķ Ļ ļ ņ Ē Ņ ’

F_ – ± “ ¾ ¶ § ÷ „ ° ∙ ∙ ¹ ³ ² ■

76

TMP58A/P58A COMMAND SET

Page32 WCP1254[Turkish]

Code page-1254 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ € ‚ ƒ „ … † ‡ ˆ ‰ Š ‹ Œ

9_ ‘ ’ “ ” • – — ˜ ™ š › œ Ÿ

A_ ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ – ® ¯

B_ ° ± ² ³ ´ µ ¶ ∙ ¸ ¹ º » ¼ ½ ¾ ¿

C_ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï

D_ Ğ Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü İ Ş ß

E_ à á â ã ä å æ ç è é ê ë ì í î ï

F_ ğ ñ ò ó ô õ ö ÷ ø ù ú û ü ı ş ÿ

77

TMP58A/P58A COMMAND SET

Page33 WCP1255[Hebrew]

Code page-1255 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ € ‚ ƒ „ … † ‡ ^ ‰ ‹

9_ ‘ ’ “ ” • – — ˜ ™ ›

A_ ¡ ¢ £ ₪ ¥ ¦ § ¨ © × « ¬ – ® ¯

B_ ° ± ² ³ ´ µ ¶ ∙ ¸ ¹ ÷ » ¼ ½ ¾ ¿

־ _C

״ ׳ ײ ױ װ ׃ ׀ _D

ן מ ם ל כ ך י ט ח ז ו ה ד ג ב א _E

ת ש ר ק צ ץ פ ף ע ס נ _F

78

TMP58A/P58A COMMAND SET

Page34 WCP1256[Arabic]

Code page-1256 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

ڈ ژ چ Œ › ٹ ‰ ˆ ‡ † … „ ƒ ‚ ﭖ € _8

ں œ ‹ ڑ ™ ﮎ — – • ” “ ’ ‘ ﮒ _9

¯ ® – ¬ » ھ © ¨ § ¦ ¥ ¤ £ ¢ ، _A

؟ ¾ ½ ¼ « ؛ B_ ° ± ² ³ ´ µ ¶ · ¸ ¹

د ﺥ ﺡ ﺝ ﺙ ﺕ ﺓ ﺏ ﺍ ئ إ ﺅ ﺃ ﺁ ء ہ _C

ﻙ ﻕ ﻑ ـ ﻍ ﻉ ظ ط × ﺽ ﺹ ﺵ ﺱ ز ر ذ _D

î ï ﻱ ﻯ ç è é ê ë و ﻩ ﻥ ﻡ â ﻝ E_ à

ے F_ ô ÷ ù û ü

79

TMP58A/P58A COMMAND SET

Page35 WCP1258[Vietnam]

Code page-1258 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ € ‚ ƒ „ … † ‡ ˆ ‰ ‹ Œ

9_ ‘ ’ “ ” • – — ˜ ™ › œ Ÿ

A_ ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ – ® ¯

B_ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿

C_ À Á Â Ă Ä Å Æ Ç È É Ê Ë Í Î Ï

D_ Đ Ñ Ó Ô Ơ Ö × Ø Ù Ú Û Ü Ư ß

E_ à á â ă ä å æ ç è é ê ë í î ï

F_ đ ñ ó ô ơ ö ÷ ø ù ú û ü ư ₫ ÿ

80

TMP58A/P58A COMMAND SET

Page36 ISO-8859-2[Latin 2]

Code page-8859-2 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_

A_ Ą ˘ Ł ¤ Ľ Ś § ¨ Š Ş Ť Ź – Ž Ż

B_ ° ą ˛ ł ´ ľ ś ˇ ¸ š ş ť ź ˝ ž ż

C_ Ŕ Á Â Ă Ä Ĺ Ć Ç Č É Ę Ë Ě Í Î Ď

D_ Đ Ń Ň Ó Ô Ő Ö × Ř Ů Ú Ű Ü Ý Ţ ß

E_ ŕ á â ă ä ĺ ć ç č é ę ë ě í î ď

F_ đ ń ň ó ô ő ö ÷ ř ů ú ű ü Ý ţ ˙

81

TMP58A/P58A COMMAND SET

Page37 ISO-8859-3[Latin 3]

Code page-8859-3 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_

A_ Ħ ˘ £ ¤ Ĥ § ¨ İ Ş Ğ Ĵ – Ż

B_ ° ħ ² ³ ´ µ ĥ ∙ ¸ ı ş ğ ĵ ½ ż

C_ À Á Â Ä Ċ Ĉ Ç È É Ê Ë Ì Í Î Ï

D_ Ñ Ò Ó Ô Ġ Ö × Ĝ Ù Ú Û Ü Ŭ Ŝ ß

E_ à á â ä ċ ĉ ç è é ê ë ì í î ï

F_ ñ ò ó ô ġ ö ÷ ĝ ù ú û ü ŭ ŝ ˙

82

TMP58A/P58A COMMAND SET

Page38 ISO-8859-4[Baltic]

Code page-8859-4 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_

A_ Ą ĸ Ŗ ¤ Ĩ Ļ § ¨ Š Ē Ģ Ŧ – Ž ¯

B_ ° ą ˛ ŗ ´ ĩ ļ ˇ ¸ š ē ģ ŧ Ŋ ž ŋ

C_ Ā Á Â Ã Ä Å Æ Į Č É Ę Ë Ė Í Î Ī

D_ Đ Ņ Ō Ķ Ô Õ Ö × Ø Ų Ú Û Ü Ũ Ū ß

E_ ā á â ã ä å æ į č é ę ë ė í î ī

F_ đ ņ ō ķ ô õ ö ÷ ø ų ú û ü ũ ū ˙

83

TMP58A/P58A COMMAND SET

Page39 ISO-8859-5[Cyrillic]

Code page-8859-5 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_

A_ Ё Ђ Ѓ Є Ѕ І Ї Ј Љ Њ Ћ Ќ – Ў Џ

B_ А Б В Г Д Е Ж З И Й К Л М Н О П

C_ Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я

D_ а б в г д е ж з и й к л м н о п

E_ р с т у ф х ц ч ш щ ъ ы ь э ю я

F_ № ё ђ ѓ є ѕ і ї ј љ њ ћ ќ § ў џ

84

TMP58A/P58A COMMAND SET

Page40 ISO-8859-6[Arabic]

Code page-8859-6 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_

– ، ¤ _A

؟ ؛ _B

د ﺥ ﺡ ﺝ ﺙ ﺕ ﺓ ﺏ ﺍ ئ إ ﺅ ﺃ ﺁ ء _C

، ﻍ ﻉ ظ ط ﺽ ﺹ ﺵ ﺱ ز ر ذ _D

◌ ﻱ ﻯ و ﻩ ﻥ ﻡ ﻝ ﻙ ﻕ ﻑ ـ _E

F_

85

TMP58A/P58A COMMAND SET

Page41 ISO-8859-7[Greek]

Code page-8859-7 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_

A_ ‘ ’ £ ¦ § ¨ © ͺ « ¬ – ―

B_ ° ± ² ³ ΄ ΅ Ά · Έ Ή Ί » Ό ½ Ύ Ώ

C_ ΐ Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο

D_ Π Ρ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή í

E_ ΰ α β γ δ ε ζ η θ ι κ λ μ ν ξ ο

F_ π ρ ς σ τ υ φ χ ψ ω í ϋ ό ύ ώ

86

TMP58A/P58A COMMAND SET

Page42 ISO-8859-8[Hebrew]

Code page-8859-8 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_

A_ ¢ £ ¤ ¥ ¦ § ¨ © × « ¬ – ® ¯

B_ ° ± ² ³ ´ µ ¶ ∙ ¸ ¹ ÷ » ¼ ½ ¾

C_

D_ ‗

ן מ ם ל כ ך י ט ח ז ו ה ד ג ב א _E

ת ש ר ק צ ץ פ ף ע ס נ _F

87

TMP58A/P58A COMMAND SET

Page43 ISO-8859-9[Turkish]

Code page-8859-9 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_

A_ ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ – ® ¯

B_ ° ± ² ³ ´ µ ¶ ∙ ¸ ¹ º » ¼ ½ ¾ ¿

C_ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï

D_ Ğ Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü İ Ş ß

E_ à á â ã ä å æ ç è é ê ë ì í î ï

F_ ğ ñ ò ó ô õ ö ÷ ø ù ú û ü ı ş ÿ

88

TMP58A/P58A COMMAND SET

Page44 ISO-8859-15 [Latin 3]

Code page-8859-15 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8_ 9_

A_ ¡ ¢ £ € ¥ Š § š © ª « ¬ – ® ¯

B_ ° ± ² ³ Ž µ ¶ ∙ ž ¹ º » Œ œ Ÿ ¿

C_ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï

D_ Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß

E_ à á â ã ä å æ ç è é ê ë ì í î ï

F_ ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ

89

TMP58A/P58A COMMAND SET

Page45 Thai2

_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ ┌ ┐ └ ┘ │ ─ ├ ┤ ┴ ┬ ┼ █ ← ↑ → ↓

9_ โ ใ เ

A_ ก ข ฃ ค ฅ ฆ ง จ ฉ ช ซ ฌ ญ ฎ ฏ

B_ ฐ ฑ ฒ ณ ด ต ถ ท ธ น บ ป ผ ฝ พ ฟ

C_ ภ ม ย ร ฤ ล ฦ ว ศ ษ ส ห ฬ อ ฮ ฯ

D_ ะ า ำ ฿

E_ เ แ ? ? ? ๅ ๆ ไ ๏

F_ ๐ ๑ ๒ ๓ ๔ ๕ ๖ ๗ ๘ ๙ ๛

90

TMP58A/P58A COMMAND SET

Page46 CP856()

Code page 856 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8_ А Б В Г Д Е Ж З И Й К Л М Н О П

9_ Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я

A_ а б в г д е ж з и й к л м н о п

B_ р с т у ф х ц ч ш щ ъ ы ь э ю я

C_ └ ┴ ┬ ├ ─ ┼ ╣ ║ ╚ ╔ ╩ ╦ ╠ ═ ╬ ┐

D_ ░ ▒ ▓ │ ┤ № § ╗ ╝ ┘ ┌ █ ▄ ▌ ▐ ▀

E_ α ß Γ π Σ σ µ τ Φ Θ Ω δ ∞ φ ε ∩

F_ ≡ ± ≥ ≤ ⌠ ⌡ ÷ ≈ ° ∙ ∙ √ ⁿ ² ■

91

TMP58A/P58A COMMAND SET

Page47 Cp874

Code page 874 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

… 8_ Ђ

‘ ’ “ ” • – — 9_

ก ข ฃ ค ฅ ฆ ง จ ฉ ช ซ ฌ ญ ฎ ฏ A_

ฐ ฑ ฒ ณ ด ต ถ ท ธ น บ ป ผ ฝ พ ฟ B_

ภ ม ย ร ฤ ล ฦ ว ศ ษ ส ห ฬ อ ฮ ฯ C_

ะ า ำ ฿ D_

เ แ โ ใ ไ ๅ ๆ 。 ๏ E_

๐ ๑ ๒ ๓ ๔ ๕ ๖ ๗ ๘ ๙ ๚ ๛ F_

92

TMP58A/P58A COMMAND SET

Page48 TCVN3

TCVN3 _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 8 9

A Ă Â Ê Ô Ơ Ư Đ ă â ê ô ơ ư đ

B , à ả ã á ạ ằ ẳ ẵ ắ

C ặ ầ ẩ ẫ ấ ậ è ẻ ẽ

D é ẹ ề ể ễ ế ệ ì ỉ ĩ í ị ò

E ỏ õ ó ọ ồ ổ ỗ ố ộ ờ ở ỡ ớ ợ ù

F ủ ũ ú ụ ừ ử ữ ứ ự ỳ ỷ ỹ ý ỵ

93

TMP58A/P58A COMMAND SET

Page49 VISCII

VISCII

_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F

8 Ạ Ắ Ằ Ặ Ấ Ầ Ẩ Ậ Ẽ Ẹ Ế Ề Ể Ễ Ệ Ố

9 Ồ Ổ Ỗ Ộ Ợ Ớ Ờ Ở Ị Ỏ Ọ Ỉ Ủ Ũ Ụ Ỳ

A Õ ắ ằ ặ ấ ầ ẩ ậ ẽ ẹ ế ề ể ễ ệ ố

B ồ ổ ỗ Ỡ Ơ ộ ờ ở ị Ự Ứ Ừ Ử ơ ớ Ư

C À Á Â Ã Ả Ă ẳ ẵ È É Ê Ẻ Ì Í Ĩ ỳ

D Đ ứ Ò Ó Ô ạ ỷ ừ ử Ù Ú ỹ ỵ Ý ỡ ư

E à á â ã ả ă ữ ẫ è é ê ẻ ì í ĩ ỉ

F đ ự ò ó ô õ ỏ ọ ụ ù ú ũ ủ ý ợ Ữ

94

TMP58A/P58A COMMAND SET

2 National character set

ASCII Code(Hex) County 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E U.S.A. # $ @ [ \ ] ^ ` { | } ~ France # $ à ◦ ç § ^ ` é ù è ¨ Germany # $ § Ä Ö Ü ^ ` ä ö ü ß U.K. £ $ @ [ \ ] ^ ` { | } ~ # $ @ Æ Ø Å ^ ` æ ø å ~ Denmark Ⅰ Sweden # ¤ É Ä Ö Å Ü é ä ö å ü Italy # $ @ ° \ é ^ ù à ò è ì Pt $ @ ¡ Ñ ¿ ^ ` ¨ ñ } ~ Spain Ⅰ Japan # $ @ [ ¥ ] ^ ` { | } ~ Norway # ¤ É Æ Ø Å Ü é æ ø å ü # $ É Æ Ø Å Ü é æ ø å ü Denmark Ⅱ # $ á ¡ Ñ ¿ é ` í ñ ó ú Spain Ⅱ Latin # $ á ¡ Ñ ¿ é ü í ñ ó ú Korea # $ @ [ ₩ ] ^ ` { | } ~ Slovenia/Croatia # $ Ž Š Ď Ć Č ž š ď ć č China # ¥ @ [ \ ] ^ ` { | } ~

95