Star Micronics NB24-10/15 Printer User Manual


 
99
The characters that change are shown beneath their ASCII
code in Table 6-6.
Table 6-6
International character sets
H Printing characters in the control code area
When you refer the Appendix C, you’ll find many characters
are printed in the control code area. (Remember that the low-
order control codes are the ASCII codes 0 through 31 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”, which is the same as selecting the Character set #2.
The low-order control codes can also be defined with the
IBM-P mode. Try this program with the IBM-P mode.
10
Demo of characters in IBM-P mode
20 LPRINT CHR$(27);"\";CHR$(32);CHR$(O);
30 FOR I=0 TO 31
40 LPRINT CHR$(I);
50 NEXT I
60 LPRINT
70 END
R