Canon bj-20 User Manual

Page of 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 




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