Kyocera ECOSYS FS-4100DN PRESCRIBE Commands Technical Reference Manual - Rev. - Page 80

Creation of New Symbols and Characters, Font Selection by Embedded Commands - driver us

Page 80 highlights

Chapter 4 Fonts Font Selection by Embedded Commands Word-processing programs with IBM and Epson printer drivers include support for a set of specific typefaces. The Kyocera printing system internally assigns these typefaces to match similar typefaces already in the printing system. Kyocera users may reassign these fonts to create a custom font list. To make this change, refer to the SETF command in PRESCRIBE Commands Command Reference. Word-processing programs that support the Diablo 630 printer use embedded ribboncolor commands. The printing system translates these internally into ALTF commands. By placing two SETF commands at the top of a file, you can designate any two desired fonts by ribbon-color commands. Word-processing programs that support the LaserJet printer have font description commands. Kyocera printing systems understand these commands. You can use them to select any of the fonts in the printing system. When you select fonts by selecting your software's own commands, your software recognizes the command and is not thrown off in its tracking of characters per line or lines per page. The IBM, Epson, and LaserJet emulations support enough embedded commands to meet nearly all font selection needs. Only in the Line Printer emulation must you rely wholly on PRESCRIBE commands for font selection. Details on font selection by embedded command appear in Chapter 7. Creation of New Symbols and Characters With a little work, it is possible to design completely new bitmap characters by constructing their dot maps. This technique can be used to obtain special characters and symbols not provided in any of the symbol sets. The relevant command is the LDFC (LoaD Font Character) command. One LDFC command defines one character, specifying its font number, character code, dimensions, orientation, and bit map. An entire new font can be created by specifying an LDFC command for each character. The command format appears as follows. LDFC font, code, height, width, y-offset, x-offset, cell width, center, rotation, resolution; bit map; Some of the dimension parameters are specified in dots (1/300 inch). Other dimensions are specified in micro dots, a unit of measurement equal to 1/32 of 1 dot. These units are used regardless of the unit set by the UNIT command. The rotation parameter is a non executable parameter. It does not change the orientation of the character. Instead, it tells the printing system what the character's orientation is, so that the printing system can adjust the page orientation correctly (when the font mode is 8 or higher), and can select the font in response to embedded word-processing commands for a particular rotation. The rotation parameter should be the same for all characters in the font. The bit map can be constructed by drawing the character on square-ruled paper (shown at right) and proceeding as explained below. To demonstrate, we shall encode the bit map for a small diamond-shaped character (the figure below). 4-12

  • 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
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260

Chapter 4 Fonts
4-12
Font Selection by Embedded Commands
Word-processing programs with IBM and Epson printer drivers include support for a set
of specific typefaces. The Kyocera printing system internally assigns these typefaces to
match similar typefaces already in the printing system. Kyocera users may reassign these
fonts to create a custom font list. To make this change, refer to the SETF command in
PRESCRIBE Commands Command Reference
.
Word-processing programs that support the Diablo 630 printer use embedded
ribbon-
color
commands. The printing system translates these internally into ALTF commands.
By placing two SETF commands at the top of a file, you can designate any two desired
fonts by ribbon-color commands.
Word-processing programs that support the LaserJet printer have font description com-
mands. Kyocera printing systems understand these commands. You can use them to
select any of the fonts in the printing system.
When you select fonts by selecting your software’s own commands, your software rec-
ognizes the command and is not thrown off in its tracking of characters per line or lines
per page. The IBM, Epson, and LaserJet emulations support enough embedded com-
mands to meet nearly all font selection needs. Only in the Line Printer emulation must
you rely wholly on PRESCRIBE commands for font selection.
Details on font selection by embedded command appear in
Chapter 7
.
Creation of New Symbols and Characters
With a little work, it is possible to design completely new bitmap characters by con-
structing their dot maps. This technique can be used to obtain special characters and
symbols not provided in any of the symbol sets. The relevant command is the LDFC
(LoaD Font Character) command.
One LDFC command defines one character, specifying its font number, character code,
dimensions, orientation, and bit map. An entire new font can be created by specifying an
LDFC command for each character. The command format appears as follows.
LDFC
font
,
code
,
height
,
width
,
y-offset
,
x-offset
,
cell width
,
center
,
rotation
,
resolution
;
bit map
;
Some of the dimension parameters are specified in dots (1/300 inch). Other dimensions
are specified in micro dots, a unit of measurement equal to 1/32 of 1 dot. These units are
used regardless of the unit set by the UNIT command. The rotation parameter is a non
executable parameter. It does not change the orientation of the character. Instead, it tells
the printing system what the character’s orientation is, so that the printing system can
adjust the page orientation correctly (when the font mode is
8
or higher), and can select
the font in response to embedded word-processing commands for a particular rotation.
The rotation parameter should be the same for all characters in the font.
The bit map can be constructed by drawing the character on square-ruled paper (shown
at right) and proceeding as explained below. To demonstrate, we shall encode the bit map
for a small diamond-shaped character (the figure below).