Star StarJet SJ-48 User Manual page 78

Star micronics printer users manual
Table of Contents

Advertisement

DEFINING YOUR OWN 48-DOT CHARACTERS
You can define 48-dot download characters. By downloading this 48-dot characters, you
can print fine characters.
Fundamentally, the process to define and print downloaded 48-dot character is the same as
for 24-dot characters, except that you must supply about twice as much character data, and
you must indicate the printer how many download data that will follow.
We will use a tiny representation of a telephone symbol for our example.
ASCIICode:
64
Leftspace:
3
Character w idth
37
R,ghtspace:
2
F
7
T
s
w
4
p
The procedure to assign the character data is the same as the 24-dot characters, except that
the vertical height is twice to it. So, our telephone symbol requires 186 character data.
In addition, it also requires the three attribute infomations for each character and three
bytes. Therefore, the telephone character is made up with 192 byte data.
When you want to download two pica characters with 48-dot, the download data should be
381 data.
This value is devided into two-byte data as shown in the following program.
To demonstrate how to define and to use the 48-dot download characters, let's use the
"telephone" character and the other user-defined characters to print a small graph. This
program will do just that:
72

Advertisement

Table of Contents
loading

Table of Contents