Star Micronics 8111 Printer User Manual


 
. . .
How to download your own fonts
-
L
Characters that you define and store yourself are called “user-defined”
characters. Let’s assume you already know what text is to be in your custom
font, and have designed its typeface, weight, width and style. Once you’ve
created your own characters, you’ll need to download them to your laser
printer.
L
i. -
--
i
L.
The process of downloading a font you’ve designed yourself is somewhat
detailed. To download your font, you follow the following steps:
1)
assign a font ID number to your font,
2)
download a font header,
3)
identify the position of each character to be downloaded,
4)
send a character descriptor and bit map for each character,
3
specify whether the file is to be permanent or temporary.
1) Assigning a font ID to your font
To assign an ID to your font, you send this command (described above under
“Assigning font ID numbers”) with an ID number for n between 0 and 32767:
<ESC> *c it D
i
Before sending that command though, check whether the ID number is
already allocated to another font. If it is, that existing font will be deleted with
the next command.
2) Downloading a header for your font
Even if the printer doesn’t have enough memory to create your font, it will
delete any existing font with the same ID number when you download the
header for your font.
-
L
A font’s header is the list of its attributes, which your printer uses to select
that font. Each font header, 26 bytes long, is stored at the front of the font.
You send a font header command to your printer just before you download
the font’s characters.
The header command looks like this:
<ES0 )s n W
and must be followed immediately by the data describing the font’s at-
tributes. The n value is the actual number of bytes of description data, almost
always 26. Note: unlike other LaserJet III commands, you must enter the
ASCII symbols 2 and 6 here, not the number 26.
83