Function

ASCII

Dec.

Hex.

Select image graphics mode *4 Set n/360 inch line spacing

n = 0 to 255

ESC * m n1 n2 data

27 42 m n1 n2 data 1B

2A m n1 n2 data

ESC + n

27 43 n

1B

2B n

Set/cancel underline mode

ESC _ n

27 45 n

1B

2D n

n = 0: Cancel auto-underscore

 

 

 

 

n = 1: Set auto-underscore

 

 

 

 

 

Select vertical tab channel

ESC / c

27 47 c

1B

2F c

n = 0 to 7: Select tab cancel

 

 

 

 

Set 1/8 inch line spacing

ESC 0

27 48

1B

30

Set 1/6 inch line spacing

ESC 2

27 50

1B

32

Set n/180 inch line spacing

ESC 3 n

27 51 n

1B

33 n

n = 0 to 255

 

 

 

 

 

Set italic mode

 

ESC 4

27 52

1B

34

Cancel by ESC 5.

 

 

 

 

 

Cancel italic mode

 

ESC 5

27 53

1B

35

Expand printable range

 

ESC 6

27 54

1B

36

Cancel printable range expansion

ESC 7

27 55

1B

37

Copy ROM font to RAM

ESC : NUL n NUL

27 58 0 n 0

1B

3A 00 n 00

n: Defines font typeface

 

 

 

 

 

Set unidirectional print by line

ESC @

27 60

1B

3C

Set MSB to 0

 

ESC =

27 61

1B

3D

Set MSB to 1

 

ESC :

27 62

1B

3E

Reassign image graphics mode

ESC ? n m

27 63 n m

1B

3F n m

Reset printer

 

ESC @

27 64

1B

40

Initialize all printer settings to the values when the printer goes on.

 

 

 

Set n/60 inch line spacing

ESC A n

27 65 n

1B

41 n

n = 0 to 85

 

 

 

 

 

 

Set vertical tabs

 

ESC B n1...n16 NUL

27 66 n1...n16 6 0

1B

42 n1...n16 00

Set page length in lines

 

ESC C n

27 67 n

1B

43 n

n = 1 to 127

 

 

 

 

 

Set page length in inches

ESC C NUL n

27 67 0 n

1B

43 00 n

n = 1 to 20

 

 

 

 

 

 

 

 

 

 

 

 

*4 m

Dot Density (DPI)

Bit Image Mode

 

 

 

 

Vertical

Horizontal

 

 

 

0

60

60

8-bit normal-density bit image

 

 

1

60

120

8-bit double-density bit image

 

 

2

60

120

8-bit double-velocity double-density bit image

3

60

240

8-bit quadruple-density bit image

 

4

60

80

8-bit CRT graphics I

 

 

6

60

90

8-bit CRT graphics II

 

 

32

180

60

24-bit normal-density bit image

 

 

33

180

120

24-bit double-density bit image

 

 

38

180

90

24-bit CRT graphics II

 

 

39

180

180

24-bit triple-density bit image

 

 

40

180

360

24-bit sixtuple-density bit image

 

 

71

180

1440

48-bit triple-density bit image

 

 

72

360

2880

48-bit sixtuple-density bit image

 

 

73

360

2880

48-bit sixtuple-density bit image

 

 

122Appendix C Printer Command Summaries

Page 123
Image 123
Canon K10158 manual Esc @