plus 127, and the high-order control codes are 128 through 159 plus 255.)

These codes don’t normally print symbols on paper, rather they cause the printer to change modes. To make them print as normal symbols requires an extra command. For example, the command to “normalize” the high-order control codes is < ESC > “6”. Try this program with the DIP switch 2-2 on.

10 ’ Demo of characters in the high-order

control code area

20LPRINT CHR$(27) ; “6” ;

30FOR I=128 TO 159

40LPRINT CHR$(I);

50NEXT I

60LPRINT CHR$(27) ; “7”

70END

When you run this program you’ll get like this:

That’s where the italic international characters have been stored. So the < ESC > “6” command without the < ESC >

“R” gives you access to the international characters. The

<ESC > “7” turns these characters back into control codes. The low-order control codes can also be detined, but not

all of them can be printed easily. The < ESC > “I” 1 command makes them printable, and the < ESC > “I” 0 command returns them to normal.

Just as the higher control codes hide the italic international characters, the lower control codes hide the roman interna- tional characters.

Let’s see how these commands work with the following program:

10 ’ Demo of characters in the control code area

20LPRINT CHR$(27) ; “11”;

30FOR I=0 TO 6

40LPRINT CHR$(I);

50NEXT I

60LPRINT CHR$(16);CHR$(17);

70FOR I=21 TO 31

Page 99
Image 99
Star Micronics NR-15, NR-10 user manual Lprint CHR$I Next, Lprint CHR$16CHR$17 For I=21 to