Owner's Manual

3. Next type:
20 LPRINT CHR$(27) "4" "ITALIC PRINTING";
4. Now press RETURN, type RUN, and press RETURN again.
The SQ-2000 prints:
NORMAL PRINTING
ITALIC PRINTING
This time the printer receives a CHR$(27) which is the code for
ESCape or <ESC>. This tells the printer that whatever comes
next should be interpreted as a printer command.
Next comes “4” -- if you look under the SQ-2000 commands in
Appendix A, you’ll find that <ESC> “4” is the command for
italic print. So the SQ-2000 prints “ITALIC PRINTING” in italic
type.
5. Next type:
30 LPRINT CHR$(27)
"5" CHR$(1O) CHR$(13);
6. Now press RETURN.
In this line the printer receives the ESCape code CHR$(27), so it
reads “5” as a printer code, in this case the code to turn off the
italic typestyle.
The next two codes, CHR$(lO) and CHR$(13), are for line feed
and carriage return respectively, as described in step 2.
7. Next type:
40 LPRINT CHR$(27) "p" CHR$(1) "PROPORTIONAL
PRINTING";
50 LPRINT CHR$(27) "p" CHR$(0) CHR$(10) CHR$(13);
8. Now press RETURN, type RUN, and press RETURN again.
The SQ-2000 prints:
NORMAL PRINTING
ITALIC PRINTING
PROPORTIONAL PRINTING
EMPHASIZED PRINTING
34