Star Micronics NR-10 Printer User Manual


 
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
20 LPRINT CHR$ (27) ; “6” ;
30 FOR I=128 TO 159
40 LPRINT CHR$(I);
50 NEXT I
60 LPRINT CHR$ (27) ; “7”
70 END
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
20 LPRINT CHR$(27) ; “11”;
30 FOR I=0 TO 6
40 LPRINT CHR$(I);
50 NEXT I
60 LPRINT CHR$(16);CHR$(17);
70 FOR I=21 TO 31