Canon BJ-20 User Manual - Page 93

App.A: Printer Control Codes Summary, Set/Cancel automatic LF

Page 93 highlights

Appendix A: Printer Control Codes Summary Printer control codes are listed under each of the 3 emulation's the BJ-20 supports: IBM Proprinter X24E, Canon BJ-130e and Epson LQ-510 (page 67). In the tables that follow, n, m, or ellipsis indicates a parameter that features the control code functions, and AGM means Alternate Graphics Mode. MODE 1 (IBM Proprinter X24E Emulation) Basic Control Codes Mnemonic NUL BEL BS HT LF VT FF CR SO SI DC1 DC2 DC3 DC4 CAN ESC SP Dec. Hex. Function 0 00 Command terminator 7 07 Beeper 8 08 Backspace 9 09 Horizontal tab control 10 0A Line feed 11 0B Vertical tab control 12 0C Form feed 13 0D Carriage return 14 0E Double-wide printing by line 15 0F Condensed (17 cpi) mode 17 11 Select printer 18 12 Print 10 cpi 19 13 Deselect printer 20 14 Cancel double-wide printing 24 18 Cancel data 27 1B Escape sequences 32 20 Space ESCape Sequence Codes Mnemonic ESC - n ESC 0 ESC 1 ESC 2 ESC 3 n ESC 4 ESC 5 n ESC 6 ESC 7 ESC : ESC = n1 n2 ESC A n Dec. 27 45 n 27 48 27 49 27 50 27 51 n 27 52 27 53 n 27 54 27 55 27 58 27 61 n1 n2 27 65 n Hex. 1B 2D n 1B 30 1B 31 1B 32 1B 33 n 1B 34 1B 35 n 1B 36 1B 37 1B 3A 1B 3D n1 n2 1B 41 n Function Select/cancel underscore Select 1/8 inch line spacing Select 7/72 inch line spacing Enable line spacing by ESC A Set graphics line spacing Set top of form Set/Cancel automatic LF Select Character Set 2 Select Character Set 1 Set 12 cpi prestige mode 24-dot font image download Set text line spacing

  • 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

Appendix A: Printer Control Codes Summary
Printer control codes are listed under each of the 3 emulation's the BJ-20 supports: IBM
Proprinter X24E, Canon BJ-130e and Epson LQ-510 (page 67). In the tables that follow, n, m, or
ellipsis indicates a parameter that features the control code functions, and AGM means Alternate
Graphics Mode.
MODE 1 (IBM Proprinter X24E Emulation)
Basic Control Codes
ESCape Sequence Codes
Mnemonic
Dec.
Hex.
Function
NUL
BEL
BS
HT
LF
VT
FF
CR
SO
SI
DC1
DC2
DC3
DC4
CAN
ESC
SP
0
7
8
9
10
11
12
13
14
15
17
18
19
20
24
27
32
00
07
08
09
0A
0B
0C
0D
0E
0F
11
12
13
14
18
1B
20
Command terminator
Beeper
Backspace
Horizontal tab control
Line feed
Vertical tab control
Form feed
Carriage return
Double-wide printing by line
Condensed (17 cpi) mode
Select printer
Print 10 cpi
Deselect printer
Cancel double-wide printing
Cancel data
Escape sequences
Space
Mnemonic
Dec.
Hex.
Function
ESC - n
ESC 0
ESC 1
ESC 2
ESC 3 n
ESC 4
ESC 5 n
ESC 6
ESC 7
ESC :
ESC = n1 n2
ESC A n
27 45 n
27 48
27 49
27 50
27 51 n
27 52
27 53 n
27 54
27 55
27 58
27 61 n1 n2
27 65 n
1B 2D n
1B 30
1B 31
1B 32
1B 33 n
1B 34
1B 35 n
1B 36
1B 37
1B 3A
1B 3D n1 n2
1B 41 n
Select/cancel underscore
Select 1/8 inch line spacing
Select 7/72 inch line spacing
Enable line spacing by ESC A
Set graphics line spacing
Set top of form
Set/Cancel automatic LF
Select Character Set 2
Select Character Set 1
Set 12 cpi prestige mode
24-dot font image download
Set text line spacing