Function

ASCII

Decimal

Hexadecimal

End command

NUL

0

00

Sound beeper

BEL

7

07

Backspace one character

BS

8

08

Horizontal tab control;

HT

9

09

move to next tab

 

 

 

Perform line feed

LF

10

0A

Vertical tab control;

VT

11

0B

move to next tab

 

 

 

Perform form feed

FF

12

0C

Perform carriage return

CR

13

0D

Set double-wide mode by line

SO

14

0E

Set condensed mode (17 cpi);

SI

15

0F

cancelled by DC2

 

 

 

Set printer on-line

DC1

17

11

Set 10 cpi mode

DC2

18

12

Cancel double-wide mode

DC4

20

14

Cancel data

CAN

24

18

Insert space

SP

32

20

ESCape Sequence Codes

 

 

 

Function

ASCII

Decimal

Hexadecimal

Set/cancel underscore

ESC - n

27 45 n

1B

2D n

mode

 

 

 

 

n Setting

 

 

 

 

0 End underscore

 

 

 

 

1 Start under score

 

 

 

 

Set 1/8-inch line spacing (8 ESC0

2748

1B30

lpi)

 

 

 

 

Set 7/72-inch line spacing

ESC 1

27 49

1B

31

(7/72 inch per line)

 

 

 

 

Enable line spacing set by

ESC 2

27 50

1B

32

ESC A

 

 

 

 

Set graphics line spacing in ESC 3 n

27 51 n

1B

33 n

n/180-inch increments;

 

 

 

 

n = 1 to 85

 

 

 

 

Set top of form

ESC 4

27 52

1B

34

Set/cancel automatic LF

ESC 5 n

27 53 n

1B

35 n

n Setting

 

 

 

 

0 End automatic line feed

 

 

 

 

1 Start automatic line feed

 

 

 

 

Select IBM Character Set

ESC 6

27 54

1B

36

2

 

 

 

 

Select IBM Character Set

ESC 7

27 55

1B 37

Page 80
Image 80
Canon BJ-230 user manual ESCape Sequence Codes, Decimal Hexadecimal