Star Micronics NX-15 user manual Turn the eighth bit ON, Esc “”, Turn the eighth bit OFF, Esc “=”

Models: NX-15

1 210
Download 210 pages 57.72 Kb
Page 92
Image 92
Turn the eighth bit ON

I

84

 

Table 6-3

Eighth bit controls

Function

Control code

Turn the eighth bit ON

(ESC) “)”

Turn the eighth bit OFF

(ESC) “=”

Acceptthe eighth bit “as is” from ~Esc) “#,, the comrmter

Block graphics characters and special symbols

Besides the upper and lower case letters and symbols that we are by now familiar with, your printer has a whole different set of characters that are for special uses. These characters include block graphics for drawing forms and graphs, and special sym- bols for mathematical, engineering and professional uses. The special characters are included in two character sets. The character set you normally use with the IBM mode is called character set #1. The special characters are printed out when you send ASCII codes 160 - 255 to the printer.

Your printer also offers character set #2 which is almost the same as character set #1 except for the addition of ASCII codes 3 - 6, 21, and 128 - 159. Character set #2 is selected with (ESC) “6”; to go back to character set #1, use (ESC) “7”.

You can also specify the power-on default character set by set- ting DIP switch 1-7 on for character set #1 and off for character set #2 while the DIP switch 2-5 is set off. The following program will print out all of the graphics characters available:

10LPRINTCHR$(27) ; “O”;

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

30 FOR 1=3 TO 6

40LPRINT “ “ ;J ;CHR$(J ) : CHRS(9) ;

50 NEXTJ

60 LPRINT “ 21 “ “,CHR$(21 )

70LPRINT

80 FOR J=128 TO 254 STEP 5

.90 FOR I=J TO J+4

95 IF I >254 THEN110

100LPRINT I ;CHR$(I ) ;CHR$(9) ;

110NEXTI

120 LPRINT : LPRINT

130 NEXTJ

Page 92
Image 92
Star Micronics NX-15 user manual Turn the eighth bit ON, Esc “”, Turn the eighth bit OFF, Esc “=”