Star Micronics NB24-10/15 user manual 101 110 OUT &H378,1 OUT &H37A,5 OUT &H37A,4

Models: NB24-10/15

1 133
Download 133 pages 41.98 Kb
Page 110
Image 110
101

101

110 OUT &H378,1 : OUT &H37A,5 : OUT &H37A,4

120 RETURN

40 GOSUB 100

100 O=INP(&H3BD) : IF 0<128 THEN 100

110 OUT &H3BC,I : OUT &H3BE,5 : OUT &H3BE,4

120 RETURN

nPrinting BIG characters

You can even enlarge your character sets for attention-grab- bing headings or special effects. There are two commands you can use. Everything following any of them will be enlarged as shown below, until the cancel code is entered.

Table

6-7

 

 

Big character

commands

Function

Control code

Double-highenlargedprint

(ES0

“h”

CHR$(l)

Quad-highenlargedprint

(ESC)

“h”

CHR$(B)

Cancelenlargedprint

(ESC) “h"CHR$(O)

Try this program to see the big characters.

10 ' Demo of big characters

20 LPRINT "THIS IS ";

30 LPRINT CHR$(27);"h";CHR$(l);

40 LPRINT "DOUBLE";

50 LPRINT CHR$(27);"h";CHR$(O);

60 LPRINT ' SIZED PRINTING."

70 LPRINT

80 LPRINT "THIS IS ";

90 LPRINT CHR$(27);"h";CHR$(Z);

100 LPRINT "QUAD";

110 LPRINT CBR$(27);"h";CHR$(O);

120 LPRINT w SIZED PRINTING."

130 END

When you run this program, you will get like this:

Page 110
Image 110
Star Micronics NB24-10/15 user manual 101 110 OUT &H378,1 OUT &H37A,5 OUT &H37A,4