Lexmark Dot Matrix Technical Reference - Page 120

x Printers, Designing and Downloading Characters - printer definition

Page 120 highlights

249x Printers Designing and Downloading Characters The text that follows shows you how to design and download characters for the 249x printers. The definitions use binary and hexadecimal notation. The examples are in the program format shown on page 16. Note: Download fonts must be reloaded after a power off/on cycle. Downloading a New Font The first step in downloading a new font is designing and creating the character data for the characters in the font. You can download up to 256 characters. You may share resident characters by loading the lookup table entry with the address of the resident character and setting bit 6 in attribute byte 1 to 1. This code indicates a resident character. Set the other bytes of the lookup table entry appropriately. After selecting the characters you want to download and those you want to use from the resident fonts, you must create the character data and download it. Next, you must download the lookup table, being careful to use the correct addresses and masks for any shared characters. The first downloadable address is x800C. This address is the first (high) byte of a 2-byte code page ID. The second (low) byte is stored at x800D. A zero code page ID lets you switch between the resident fonts and downloaded fonts with the ESC I command, Select Print Mode. If the code page ID of the download font is not zero and does not match the selected resident font, then a Set Code Page command is required to select the font. Note: The ESC = 00 command copies the current code page to the code page ID. Address x800E and x800F are reserved and you should set them to zero. The first lookup table must always begin at address x8010. If a second lookup table is present, it must begin at x8911. A third and fourth lookup table should begin at x9212 and x8B13, respectively. Four is the maximum number of lookup tables that may be accessed. Character data can begin at address xA414 or greater. The first byte of any lookup table is the font descriptor byte. This byte should not be changed unless you are downloading a new lookup table. Changing this byte does not change the font characteristics. If the font descriptor byte does not match the characteristics of the font you have downloaded, the characters are unrecognizable when printed. The font descriptor byte identifies the default font. (The first font marked default is chosen if no user-defined default has been stored using the operator panel menu.) This byte also tells if another lookup table follows this one and identifies the quality of the font. If the default font has a non-zero code page ID, that code page ID becomes the active code page when the printer is switched 120 Section 7: Downloading Characters and Fonts

  • 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

Section 7: Downloading Characters and Fonts
120
249x Printers
Designing and Downloading Characters
The text that follows shows you how to design and download characters for the
249x printers. The definitions use binary and hexadecimal notation. The
examples are in the program format shown on page 16.
Note:
Download fonts must be reloaded after a power off/on cycle.
Downloading a New Font
The first step in downloading a new font is designing and creating the character
data for the characters in the font. You can download up to 256 characters. You
may
share
resident characters by loading the lookup table entry with the
address of the resident character and setting bit 6 in attribute byte 1 to 1. This
code indicates a resident character. Set the other bytes of the lookup table entry
appropriately. After selecting the characters you want to download and those
you want to use from the resident fonts, you must create the character data and
download it. Next, you must download the lookup table, being careful to use
the correct addresses and masks for any shared characters.
The first downloadable address is x800C. This address is the first (high) byte of
a 2-byte code page ID. The second (low) byte is stored at x800D. A zero code
page ID lets you switch between the resident fonts and downloaded fonts with
the
ESC I
command,
Select Print Mode
. If the code page ID of the download
font is not zero and does not match the selected resident font, then a
Set Code
Page
command is required to select the font.
Note:
The
ESC = 00
command copies the current code page to the code page ID.
Address x800E and x800F are reserved and you should set them to zero.
The first lookup table must always begin at address x8010. If a second lookup
table is present, it must begin at x8911. A third and fourth lookup table should
begin at x9212 and x8B13, respectively. Four is the maximum number of lookup
tables that may be accessed. Character data can begin at address xA414 or
greater.
The first byte of any lookup table is the font descriptor byte. This byte should
not be changed unless you are downloading a new lookup table. Changing this
byte does not change the font characteristics. If the font descriptor byte does not
match the characteristics of the font you have downloaded, the characters are
unrecognizable when printed.
The font descriptor byte identifies the default font. (The first font marked
default is chosen if no user-defined default has been stored using the operator
panel menu.) This byte also tells if another lookup table follows this one and
identifies the quality of the font. If the default font has a non-zero code page ID,
that code page ID becomes the active code page when the printer is switched