Star Micronics ND-10/15 Printer User Manual


 
r
1,:
110
:
‘:
310
320
330
340
350
360
370
380
390
400
410
420
430
440
450
460
470
NEXT I
LPRINT
LPRINT CHR$ (9) ; ‘It--” ;
SCALE$=“--+--”
FOR I=2 TO 8 STEP 2
LPRINT SCALE$;
NEXT I
LPRINT ‘I--t ‘I
LPRINT CHR$(9) ; ‘I;
FOR I=2 TO 8 STEP 2
LPRINT ” “; I;
NEXT I
LPRINT CHR$ (27) ; “%O”
LPRINT CHR$(27) ;“SO”;
LPRINT CHR$ (9) ; “MILLIONS OF DOLLARS”
LPRINT CHR$ ( 27) ; “T”
END
n Defining proportional characters
Defining proportional characters uses the same process as
above, except that we add additional information. Being able
to specify the width of the character allows you to specify the
precise area inside the grid that the character will occupy, so
that narrow characters will look attractive next to wide ones.
The additional information is carried in the attribute byte,
mO. The first bit carries the descender data, the next three bits
specify the starting column (acceptable values are 0 to 7), and
the last four bits specify the last print column, including space