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

Selecting Fonts with the FONT Command, Bitmap Font Mode, spacing

Page 78 highlights

Chapter 4 Fonts Selecting Fonts with the FONT Command The FONT command uses font numbers to select fonts. A scalable font does not normally have the font number, therefore, you must take one extra step using the SFNT (Select FoNT by typeface) command. See Selecting Fonts Using the SFNT Command above. For example, to select the 10-point TimesNewRoman which was assigned with font number 1001, command: !R! SFNT 'TimesNewRoman', 10, 1001; FONT 1001; EXIT; Bitmap Font Mode If you use a bitmap font, a change in fonts can also affect the character spacing, line spacing, and page orientation. This depends on the font mode (FTMD). With bitmap fonts, setting the font mode to 15 enables the printing system to adjust all these parameters automatically. When you select font 23 (landscape PrestigeEliteBM10-Roman), for example, the printing system automatically changes the character spacing to 12 characters per inch, the line spacing to about 7.25 lines per inch, and the page orientation to landscape. Remember that the font mode is only valid for bitmap fonts. Scalable fonts always adjust to the current page orientation. Also, with scalable fonts, you must use a line-spacing adjustment command to set the innate line spacing for the new font. Each emulation has a default font mode for bitmap fonts which takes effect when the emulation is enabled. Font mode 15 is the default font mode of the Line Printer emulation. The other emulations have lower default font mode values. If you use a variety of bitmap fonts, you will probably find font mode 13 most convenient. In font mode 13 character spacing and orientation are always correct, and the line spacing remains constant when you change fonts. Font mode 13 is the default font mode of the LaserJet emulation. To select font mode 13 in the other emulations, place the following sequence at the top of your program or file: !R! RES; FTMD 13; EXIT; (Place FTMD after RES, because RES resets the font mode.) One reason for selecting font mode 13 over font mode 15 is that a self adjusting line spacing feature can create disastrous affects with software applications designed to handle line spacing without the assistance of PRESCRIBE. For lower font mode, such as the default font modes in emulation modes 1 through 5, spacing and orientation adjustments may be necessary when you change fonts. Use the following commands: SCS (Set Character Spacing) or SCPI (Set Characters Per Inch), to adjust the character spacing, SLS (Set Line Spacing) or SLPI (Set Lines Per Inch), to adjust the line spacing, SPO (Set Page Orientation), to adjust the page orientation. The following sequences both use the FONT 19; command to select the 10-point Dutch 801 font with landscape orientation and proportional character spacing. Neither sequence affects the line spacing. !R! FONT 19; SPO L; SCS 0; EXIT; or 4-10

  • 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-10
Selecting Fonts with the FONT Command
The FONT command uses font numbers to select fonts. A scalable font does not nor-
mally have the font number, therefore, you must take one extra step using the SFNT
(Select FoNT by typeface) command. See
Selecting Fonts Using the SFNT Command
above. For example, to select the 10-point TimesNewRoman which was assigned with
font number 1001, command:
!R!
SFNT ’TimesNewRoman’, 10, 1001;
FONT 1001;
EXIT;
Bitmap Font Mode
If you use a bitmap font, a change in fonts can also affect the character spacing, line
spacing, and page orientation. This depends on the
font mode
(FTMD). With bitmap
fonts, setting the font mode to 15 enables the printing system to adjust all these parame-
ters automatically. When you select font 23 (landscape PrestigeEliteBM10-Roman), for
example, the printing system automatically changes the character spacing to 12 charac-
ters per inch, the line spacing to about 7.25 lines per inch, and the page orientation to
landscape.
Remember that the font mode is only valid for bitmap fonts. Scalable fonts always adjust
to the current page orientation. Also, with scalable fonts, you must use a line-spacing
adjustment command to set the innate line spacing for the new font.
Each emulation has a default font mode for bitmap fonts which takes effect when the
emulation is enabled. Font mode 15 is the default font mode of the Line Printer emula-
tion. The other emulations have lower default font mode values.
If you use a variety of bitmap fonts, you will probably find font mode 13 most conve-
nient. In font mode 13 character spacing and orientation are always correct, and the line
spacing remains constant when you change fonts. Font mode 13 is the default font mode
of the LaserJet emulation. To select font mode 13 in the other emulations, place the fol-
lowing sequence at the top of your program or file:
!R! RES; FTMD 13; EXIT;
(Place FTMD after RES, because RES resets the font mode.)
One reason for selecting font mode 13 over font mode 15 is that a self adjusting line
spacing feature can create disastrous affects with software applications designed to han-
dle line spacing without the assistance of PRESCRIBE.
For lower font mode, such as the default font modes in emulation modes 1 through 5,
spacing and orientation adjustments may be necessary when you change fonts. Use the
following commands:
SCS (Set Character Spacing) or SCPI (Set Characters Per Inch), to adjust the character
spacing, SLS (Set Line Spacing) or SLPI (Set Lines Per Inch), to adjust the line spacing,
SPO (Set Page Orientation), to adjust the page orientation.
The following sequences both use the FONT 19; command to select the 10-point Dutch
801 font with landscape orientation and proportional character spacing. Neither sequence
affects the line spacing.
!R! FONT 19; SPO L; SCS 0; EXIT;
or