Function

ASCII

Dec.

Hex.

Set horizontal tabs

ESC D n1...n32 NUL

27 68n1...n32 0

1B

44n1...n32 00

Set emphasized mode

ESC E

27 69

1B

45

Cancel by ESC F.

 

 

 

 

Cancel emphasized mode

ESC F

27 70

1B

46

Set double-strike mode

ESC G

27 71

1B

47

Cancel double-strike mode

ESC H

27 72

1B

48

Perform n/180 inch line feed

ESC J n

27 74 n

1B

4A n

n = 0 to 255

 

 

 

 

Set single-density graphics mode

ESC K n1 n2 data

27 75 n1 n2 data

1B

4B n1 n2 data

Set double-density graphics mode

ESC L n1 n2 data

27 76 n1 n2 data

1B

4C n1 n2 data

Set 12 cpi mode

ESC M

27 77

1B

4D

Cancel by ESC P.

 

 

 

 

Set perforation skip

ESC N

 

 

 

n = 1 to 127

 

 

 

 

Cancel perforation skip

ESC O

 

 

 

Set 10 cpi mode

ESC P

27 80

1B

50

Cancel 12 cpi or 15 cpi mode.

Set right margin

 

ESC Q n

27 81 n

1B 51 n

Select international character set *5

ESC R n

27 82 n

1B 52 n

Set super/subscript mode

ESC S n

27 83 n

1B 53 0n

 

n = 0: Set superscript mode

 

 

 

 

n = 1: Set subscript mode

 

 

 

Cancel by ESC T.

 

 

 

 

Cancel super/subscript mode

ESC T

27 84

1B 54

Select print direction

ESC U n

27 85 n

1B 55 n

 

n = 0: Set bidirectional printing

 

 

 

 

n = 1: Set undirectional printing

 

 

 

Set/cancel double-wide mode

ESC W n

27 87 n

1B 57 n

 

n = 0: Cancel double-wide mode

 

 

 

 

n = 1: Set double-wide mode

 

 

 

Set double-density graphics mode

ESC Y n1 n2 data

27 89 n1 n2 data

1B 59 n1 n2 data

Set quadruple-density graphics mode

ESC Z n1 n2 data

27 90 n1 n2 data

1B 5A n1 n2 data

Set relative print position

ESC \ n1 n2

27 92 n1 n2

1B 5C n1 n2

Set vertical tabs in channels

ESC b c n1...n16 NUL

27 98 c n1...n16 0

1B 62 c n1...n16 00

 

c = 0 to 7: Select channel

 

 

 

Set 15 cpi mode

 

ESC g

27 103

1B 67

 

Cancel by ESC P.

 

 

 

 

 

 

 

 

 

 

*5

n = 0

USA

 

 

 

 

n = 1

France

 

 

 

 

n = 2

Germany

 

 

 

 

n = 3

UK

 

 

 

 

n = 4

Denmark I

 

 

 

 

n = 5

Sweden

 

 

 

 

n = 6

Italy

 

 

 

 

n = 7

Spain I

 

 

 

 

n = 8

Japan

 

 

 

 

n = 9

Norway

 

 

 

 

n = 10

Denmark II

 

 

 

 

n = 11

Spain II

 

 

 

 

n = 12

Latin America

 

 

 

 

n = 13

Korea

 

 

 

 

n = 64

Legal

 

 

 

The initial value is determined by FUNCTION 11, 12, and 13.

C

Appendix C Printer Command Summaries 123

Page 124
Image 124
Canon K10158 manual Usa