10 'Demo near letter quality character set.
20 LPRINT CHR$(27) "B" CHR$(4) ; 'Select NLQ.
34) LPRINT "This line shows NEAR LETTER QUALITY!"
40 LPRINT CHRS(27) "B" CHR$(5) ; 'Select draft.
50 LPRINT "This line shows standard print."
In this program, line 20 selects NLQ characters with the
< ESC > “B” CHR$(4) command. Line 30 prints a sample before
line 40 switches SG- 1 O/l 5 back to draft printing with an < ESC >
“B” CHR$(S). When you run the program you should get this:
-
--
This line shows NEAR LETTER QUALITY!
Thl 5 1 .I ne ,shows 5 t an d at- 13 p t- i n t .
If you are using with the IBM mode, change the following lines
to the program given above.
2@ LPRINT CHR$(27) "4" ; 'Select NLQ.
44) LPRINT CHR$(27) "5" ; 'Select draft.
Table 5-l
Near letter quality commands
w Italic printing
Italic letters are letters that are slanted to the right. SG-IO/l5
can print all of its letters except NLQ characters in italic as well
as the roman (standerd) letters you are accustomed to. Italics
can be used to give extra emphasis to certain words. The corn-
mand codes to turn italic on and off are shown in Table 5-2.
_-
-
e . .._
Table 5-2
Italic commands
L
Function
Italic ON
1 Mode 1 Control code
1 STAR l < ESC> "4"
IIBM I <ESC> "I"1
-
.-
Italic OFF l STAR l < ESC > “5” I
IIBM I <ESC> -I”O I
Use this program with STAR mode to see italic characters:
38