Escape Sequence Codes - Canon K10158 User Manual

Canon printer user manual
Table of Contents

Advertisement

ESCape sequence codes

Function
Set double-wide mode by line
Set condensed mode
Control automatic sheet feeder
n = R: Eject paper
Function
Set inter-character space
n = 0 to 127
Select various print modes *1
Cancel MSB control
Set absolute print position
Select download character set
Define download characters
Select score mode *2
Assign character table *3
Print data as characters
*1 Use the bit pattern (bit 0 to bit 7) of n, where n can range from 0 to 255, to set
or cancel a combination of character pitch and highlighting.
Bit
0
1
2
1
12 cpi
PS
Condensed
0
10 cpi
Cancel
Cancel
*
2
d
determines the score position:
1
d
= 1: underscore
1
d
= 2: strikethrough
1
d
= 3: overscore
1
d
determines the score type:
2
d
= 0: cancel the score set by d1
2
d
= 1: single continuous line
2
d
= 2: double continuous line
2
d
= 5: single broken line]
2
d
= 6: double broken line
2
ASCII
Dec.
ESC SO
27 14
ESC SI
27 15
ESC EM n
27 25 n
ASCII
Dec.
ESC SP n
27 32 n
ESC ! n
27 33 n
ESC #
27 35
ESC $ n
n
27 36 n
1
2
ESC % n
27 37 n
ESC & NUL n
n
27 38 0 n
1
2
r
r
r
data
r
r
1
2
3
1
2
ESC ( - n
n
27 40 45 3 0
1
2
m d
d
1 d
1
2
1
ESC ( t n
n
27 40 45 3 0
1
2
d
d
d
d
d
3
1
2
1
ESC ( ^ n
n
data
27 40 n
1
2
3
4
5
Emphasized
Double
Double wide Italic
Cancel
Cancel
Cancel
*3 d
defines the character table
1
area
d
= 0, 48: Table 0
1
d
= 1, 49: Table 1
1
d
= 2, 50: Table 2
1
d
= 3, 51: Table 3
1
d
defines the character table
2
d
= 0:
2
d
= 1:
2
d
= 3:
2
d
= 6:
2
d
= 7:
2
d
= 8:
2
d
= 9:
2
d
= 10:
2
d
= 11:
2
d
= 13:
2
d
= 15:
2
d
=0
3
Appendix C Printer Command Summaries
Hex.
1B 0E
1B 0F
1B 19 n
Hex.
1B 20 n
1B 21 n
1B 23
n
1B 24 n
n
1
2
1
2
1B 25 n
n
1B 26 00 n
n
1
2
1
2
r
data
r
r
r
data
3
1
2
3
1B 28 2D 03 00
d
01 d
d
2
1
2
1B 28 2D 03 00
d
d
d
d
2
3
1
2
3
n
data
1B 28 5E n
n
1
2
1
2
6
7
Underscore
Cancel Cancel
Italics table
Code Page 437
Code Page 850
Code Page 855
Code Page 860
Code Page 863
Code Page 865
Code Page 852
Code Page 857
Code Page 864
Code Page 869
C
data
121

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents