IBM 5150 Manual To Operations page 71

Hide thumbs Also See for 5150:
Table of Contents

Advertisement

ASCII Control Code Chart
Notes:
*These ASCII numbers may require the addition of 128 to make
.~
them work reliably. If in doubt, add 128.
**These ASCII numbers must be preceded by the Escape Code.
Control Codes require LPRINT CHR$(#).
ASCII#
FUNCTION
**
0
NULL. Follows ESC"B" & ESC"D" as terminator
for TABS.
*
0
Sets line spacing to 1/8". Follows ESC"A".
*
1
Sets line spacing to 7/72". Follows ESC"A".
*
2
Returns line spacing to wherever previously set
with ESC"A", (Defaults to 1/6" spacing.)
7
Sounds buzzer for 3-112 seconds.
*
10
Line Feed (LF).
11
Vertical Tab (VT).
12
Advances paper to TF (top of next form).
13
Carriage Return (CR).
14
Turns on DOUBLE WIDTH mode.
(SO)
15
Turns on COMPRESSED CHARACTER mode. (SI)
**
17
"Selects" printer. Lets it accept data.
(DCl)
**
18
Turns off COMPRESSED CHARACTER mode. (DC2)
**
19
"Deselects" printer. Can't accept data.
(DC3)
**
20
,
Turns off DOUBLE WIDTH mode.
(DC4)
**
24
CANCELs unprinted DATA. Resets SI & SO to
normal width.
27
ASCII code for ESCAPE.
*
65
ASCII "A". Sets spacing of LF (line feed) with 0,1,
or 2.
*
66
ASCII "B". Sets VT (vertical tabs) up to 64.
*
67
ASCII "C". Sets FL (form length). Default is 66.
*
68
ASCII "D". Sets HT (horiz tabs) up to 80 (or 132).
69
ASCII "E". Turns on EMPHASIZED mode.
70
ASCII "F". Turns off EMPHASIZED mode.
*
71
ASCII "G". Turns on DOUBLE STRIKE mode.
*
72
ASCII "H". Turns off DOUBLE STRIKE mode.
127
DELETEs unprinted DATA. Resets SI & SO to
normal width.
Printer
3-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents