Canon BJ-20 User Manual - Page 96

ESCape Sequence Codes, Mnemonic, Function

Page 96 highlights

Mnemonic NUL BEL BS HT LF VT FF CR SO SI DC1 DC2 DC3 DC4 CAN ESC DEL Dec. Hex. Function 0 00 7 07 8 08 9 09 10 0A 11 0B 12 0C 13 0D 14 0E 15 0F 17 11 18 12 19 13 20 14 24 18 27 1B 127 7F Command terminator Beeper Backspace Horizontal tab control Line feed Vertical tab control Form feed Carriage return Set double-wide mode by line Set condensed mode Select printer Cancel condensed mode Deselect printer Cancel double-wide mode Cancel line Escape sequences Delete character ESCape Sequence Codes Mnemonic ESC SO ESC SI ESC EM n ESC SP n ESC ! n ESC # ESC $ n1 n2 ESC % n ESC & ... ESC ( ESC * m n1 n2 ESC + n ESC - n ESC / ESC 0 ESC 2 ESC 3 n ESC 4 ESC 5 ESC 6 ESC 7 ESC : ESC < ESC = ESC > Dec. 27 14 27 15 27 25 n 27 32 n 27 33 n 27 35 27 36 n1 n2 27 37 n 27 38 ... 27 40 45 27 43 m n1 n2 27 43 n 27 45 n 27 47 27 48 27 50 27 51 n 27 52 27 53 27 54 27 55 27 58 27 60 27 61 27 62 Hex. 1B 0E 1B 0F 1B 19 n 1B 20 n 1B 21 n 1B 23 1B 24 n1 n2 1B 25 n 1B 26 1B 28 2D 1B 2A m n1 n2 1B 2B n 1B 2D n 1B 2F 1B 30 1B 32 1B 33 n 1B 34 1B 35 1B 36 1B 37 1B 3A 1B 3C 1B 3D 1B 3E Function Set double wide mode by line Set condensed mode Control auto sheet feeder Set intercharacter space Select various print modes Cancel MSB control Set absolute print position Select download character set Define download characters Select score mode Select image graphics mode Set n/360 inch line spacing Set/cancel underline mode Select vertical tab channel Set 1/8 inch line spacing Set 1/6 inch line spacing Set n/180 inch line spacing Set italic mode Cancel italic mode Expand printable range Cancel printable range expansion Copy ROM font to RAM Set unidirectional print by line Set MSB to 0 Set MSB to 1

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110

ESCape Sequence Codes
Mnemonic
Dec.
Hex.
Function
NUL
BEL
BS
HT
LF
VT
FF
CR
SO
SI
DC1
DC2
DC3
DC4
CAN
ESC
DEL
0
7
8
9
10
11
12
13
14
15
17
18
19
20
24
27
127
00
07
08
09
0A
0B
0C
0D
0E
0F
11
12
13
14
18
1B
7F
Command terminator
Beeper
Backspace
Horizontal tab control
Line feed
Vertical tab control
Form feed
Carriage return
Set double-wide mode by line
Set condensed mode
Select printer
Cancel condensed mode
Deselect printer
Cancel double-wide mode
Cancel line
Escape sequences
Delete character
Mnemonic
Dec.
Hex.
Function
ESC SO
ESC SI
ESC EM n
ESC SP n
ESC ! n
ESC #
ESC $ n1 n2
ESC % n
ESC & ...
ESC ( -
ESC * m n1 n2
ESC + n
ESC - n
ESC /
ESC 0
ESC 2
ESC 3 n
ESC 4
ESC 5
ESC 6
ESC 7
ESC :
ESC <
ESC =
ESC >
27 14
27 15
27 25 n
27 32 n
27 33 n
27 35
27 36 n1 n2
27 37 n
27 38 ...
27 40 45
27 43 m n1 n2
27 43 n
27 45 n
27 47
27 48
27 50
27 51 n
27 52
27 53
27 54
27 55
27 58
27 60
27 61
27 62
1B 0E
1B 0F
1B 19 n
1B 20 n
1B 21 n
1B 23
1B 24 n1 n2
1B 25 n
1B 26
1B 28 2D
1B 2A m n1 n2
1B 2B n
1B 2D n
1B 2F
1B 30
1B 32
1B 33 n
1B 34
1B 35
1B 36
1B 37
1B 3A
1B 3C
1B 3D
1B 3E
Set double wide mode by line
Set condensed mode
Control auto sheet feeder
Set intercharacter space
Select various print modes
Cancel MSB control
Set absolute print position
Select download character set
Define download characters
Select score mode
Select image graphics mode
Set n/360 inch line spacing
Set/cancel underline mode
Select vertical tab channel
Set 1/8 inch line spacing
Set 1/6 inch line spacing
Set n/180 inch line spacing
Set italic mode
Cancel italic mode
Expand printable range
Cancel printable range expansion
Copy ROM font to RAM
Set unidirectional print by line
Set MSB to 0
Set MSB to 1