Epson C117001-N User Manual - Page 104

Sending Commands to the Printer, ASCII codes - plus

Page 104 highlights

Sending Commands to the Printer This section describes how you can send commands directly to the printer, allowing you to take full advantage of your printer's capabilities. ASCII codes Your computer communicates with your printer using a standardized set of numbered codes called ASCII codes (American Standard Code for Information Interchange). When you press the letter A on the keyboard, it is translated into the ASCII code for A, transmitted to a peripheral device such as your computer screen or your printer, and then converted back into the letter A. There are ASCII codes for all the letters in the alphabet, both uppercase and lowercase letters, and for the numbers 0 through 9. The ASCII set of codes also includes most punctuation marks and some codes that control printer functions. In the Command Summary in Chapter 8, each ASCII code is expressed three different ways: as an ASCII character, as a decimal number, and as a hexadecimal number. Hexadecimal numbering, or base 16, uses the numbers 0 through 9 plus the letters A through F. For example, the uppercase letter K is represented as the ASCII character K, the decimal number 75, and the hexadecimal number 4B. All of these values are equivalent. The numbering system you use depends on your software and your preferences. All letters, numbers, and punctuation marks are assigned decimal numbers from 32 through 255. ASCII codes with decimal values of less than 32 are called control codes because they control the operation of your printer and other peripherals. These ASCII characters do not usually have corresponding keys on the keyboard and cannot be printed as characters by your printer. (However, some software programs do use control key codes for decimal values. See the Control Key chart in Chapter 8.) 4-8 Getting the Most from Your Printer

  • 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
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229

Sending Commands to the Printer
This section describes how you can send commands directly to the
printer, allowing you to take full advantage of your printer’s
capabilities.
ASCII codes
Your computer communicates with your printer using a
standardized set of numbered codes called ASCII codes
(American Standard Code for Information Interchange). When
you press the letter A on the keyboard, it is translated into the
ASCII code for A, transmitted to a peripheral device such as your
computer screen or your printer, and then converted back into the
letter A.
There are ASCII codes for all the letters in the alphabet, both
uppercase and lowercase letters, and for the numbers 0 through 9.
The ASCII set of codes also includes most punctuation marks and
some codes that control printer functions.
In the Command Summary in Chapter 8, each ASCII code is
expressed three different ways: as an ASCII character, as a
decimal number, and as a hexadecimal number. Hexadecimal
numbering, or base 16, uses the numbers 0 through 9 plus the
letters A through F. For example, the uppercase letter K is
represented as the ASCII character K, the decimal number 75, and
the hexadecimal number 4B. All of these values are equivalent.
The numbering system you use depends on your software and
your preferences.
All letters, numbers, and punctuation marks are assigned decimal
numbers from 32 through 255. ASCII codes with decimal values of
less than 32 are called control codes because they control the
operation of your printer and other peripherals. These ASCII
characters do not usually have corresponding keys on the
keyboard and
cannot
be printed as characters by your printer.
(However, some software programs do use control key codes for
decimal values. See the Control Key chart in Chapter 8.)
4-8
Getting the Most from Your Printer