Epson LX-86 User Manual - Page 34

ESCape Code, ESCape or abbreviated as ESC or <ESC> .

Page 34 highlights

Computer and printer interaction would be terribly confusing if different kinds of computers and printers used different numbers for the same letter of the alphabet. Therefore, most manufacturers of computers, printers, and software use the American Standard Code for Information Interchange, usually referred to as ASCII (pronounced ASK-Key). The ASCII standard covers the decimal numbers from 0 through 127 and includes codes for printable characters (letters, punctuation, numerals, and mathematical symbols) and a few control codes, such as the codes for sounding the beeper and performing a carriage return. Although other codes are not standardized in the computer industry, the ASCII system means that at least the alphabet is standardized. A programmer or engineer knows, for example, that 72 is the decimal code for a capital H and 115 is the code for a lowercase s no matter what system he or she is using. ESCape Code Although the original ASCII standard was designed to use the decimal numbers 0 through 127, computer and printer manufacturers soon extended this range (to 0 through 255) in order to make room for more features. On the IX-86, for example, the codes from 160 through 254 are used for italic or character graphics characters. Because even this extended range is not enough for all the features used on modern printers, the range is further extended with a special code called the Escape code. This code is often printed with the first three letters capitalized (ESCape) or abbreviated as ESC or . With the ESCape code, for which decimal 27 is used, printers and computers are not restricted to only 256 instructions. The ESCape code is a signal that the next code will be a printer control code instead of text to print. For example, if the printer receives the number 69, it prints a capital E because 69 is the ASCII code for that letter. If, however, the printer receives a 27 just before the 69, it turns on emphasized mode, because ESCape "E" is the code for emphasized. You can see how important the ESCape code is by looking at Appendixes B and C. There you will see that nearly every code the LX-86 uses is an ESCape code. 28

  • 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
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

Computer and printer interaction would be terribly confusing if
different kinds of computers and printers used different numbers for
the same letter of the alphabet. Therefore, most manufacturers of
computers, printers, and software use the American Standard Code
for Information Interchange, usually referred to as ASCII (pro-
nounced ASK-Key). The ASCII standard covers the decimal num-
bers from 0 through 127 and includes codes for printable characters
(letters, punctuation, numerals, and mathematical symbols) and a few
control codes, such as the codes for sounding the beeper and per-
forming a carriage return.
Although other codes are not standardized in the computer indus-
try, the ASCII system means that at least the alphabet is standardized.
A programmer or engineer knows, for example, that
72
is the decimal
code for a capital H and
115
is the code for a lowercase s no matter
what system he or she is using.
ESCape Code
Although the original ASCII standard was designed to use the
decimal numbers 0 through 127, computer and printer manufac-
turers soon extended this range (to 0 through 255) in order to
make room for more features. On the IX-86, for example, the
codes from 160 through 254 are used for italic or character
graphics characters. Because even this extended range is not
enough for all the features used on modern printers, the range is
further extended with a special code called the Escape code. This
code is often printed with the first three letters capitalized
(ESCape) or abbreviated as ESC or <ESC> .
With the ESCape code, for which decimal 27 is used, printers and
computers are not restricted to only 256 instructions. The ESCape
code is a signal that the next code will be a printer control code
instead of text to print. For example, if the printer receives the num-
ber 69, it prints a capital E because 69 is the ASCII code for that letter.
If, however, the printer receives a 27 just before the 69, it turns on
emphasized mode, because ESCape ā€œEā€ is the code for emphasized.
You can see how important the ESCape code is by looking at
Appendixes B and C. There you will see that nearly every code the
LX-86
uses is an ESCape code.
28