beautypg.com

Character code list – Star Micronics DP8340 User Manual

Page 24

background image

– 20 –

Character Code List

Character

Code

Function

1 LF

(0A)H

Print and line feed instruction

2 CR

(0D)H

Print and line feed instruction

(same as LF)

3 SO

(0E)H

Expanded character instruction

4 DC4

(14)H

Expanded character release

5 ESC-1

(1B)H (2D)H(01)H

Underline instruction

(1B)H (2D)H (31)H

6 ESC-0

(1B)H (2D)H(00)H

Underline release

(1B)H (2D)H (30)H

7 SI

(0F)H

Inverted print instruction

8 DC2

(12)H

Inverted print release

9 ESC E

(1B)H (45)H

Emphasized print instruction

(one-way printing)

10 ESC F

(1B)H (46)H

Emphasized print release

11 ESC 4

(1B)H (34)H

Red character print instruction

12 ESC 5

(1B)H (35)H

Red character print release

13 ESC R n

(1B)H (52)H n

Select an international character set

14 ESC & 0 ...

(1B)H (26)H (00)H ...

Define download character

15 ESC % 1

(1B)H (25)H (01)H

Select download characters

(1B)H (25)H (31)H

16 ESC % 0

(1B)H (25)H (00)H

Cancel download characters

(1B)H (25)H (30)H

17 ESC a n

(1B)H (61)H n

n-line feed instruction5

18 ESC C n

(1B)H (43)H n

Sets page length in lines

1

n

120 (default n = 42)

19 ESC N n

(1B)H (4E)H n

Set bottom margin in lines

0

n

120 (default n = 0)

20 ESC O

(1B)H (4F)H

Cancel Bottom margin

21 FF

(0C)H

Form feed

22 ESC @

(1B)H (40)H

Printer initialization instruction