beautypg.com

Character code list – Star Micronics DP8340RC User Manual

Page 23

background image

– 19 –

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 a n

(1B)H (61)H n

n-line feed instruction

14 ESC C n

(1B)H (43)H n

Sets page length in lines

1

n

120 (default n = 42)

15 ESC N n

(1B)H (4E)H n

Set bottom margin in lines

0

n

120 (default n = 0)

16 ESC O

(1B)H (4F)H

Cancel Bottom margin

17 FF

(0C)H

Form feed

18 ESC @

(1B)H (40)H

Printer initialization instruction

19 ESC BEL

(1B)H (07)H

Set peripheral unit drive 1 pulse duration

n

1

n

2

n

1

n

2

1

n

1

127, 1

n

2

127

(default n

1

= n

2

= 20)

20 BEL

(07)H

Trigger peripheral unit drive 1 (Deferred)

21 FS

(1C)H

Trigger peripheral unit drive 1

(Immediate)

22 SUB

(1A)H

Trigger peripheral unit drive 2

(Immediate)

23 CAN

(18)H

Clears print buffer

24 ESC P

(1B)H (50)H

Select 10 CPI

25 ESC M

(1B)H (4D)H

Select 15 CPI (Default value)

26 GS

(1D)H

Validation printing instruction