B Homewriter- Control Codes; B-L - Epson Printer Interface Cartridge Operation Manual

For the commodore 64 and the vic-20
Hide thumbs Also See for Printer Interface Cartridge:
Table of Contents

Advertisement

HomeWriter-10 Control Codes
The control codes in this appendix are described and then listed in
numerical order. The listings use the format for BASIC, but you can
convert them to the proper format for any other programming lan-
guage.
Control Codes by Function
Expanded print is turned on by CHR$(14) and off by CHR$(15).
Reverse print is turned on by CHR$(18) and turned off by CHR$(146),
a line feed, or a carriage return.
Uppercase/graphic mode is the default. It is used unless upper/lower-
case is turned on by one of the commands described below. If
upper/lowercase is on, uppercase/graphic can be turned on by
CHR$(145) and turned off by CHR$(17) or a line feed.
Upper/lowercase can be turned on by using the number seven as a
secondary address or by CHR$(17). CHR$(145) will turn it off, and
if it is turned on by CHR$(17), it will turn off at the end of the text in
a PRINT# statement whether or not a semicolon is at the end of the
program line.
A tab to a character column is activated by C H R $ ( 1 6 )
CHR$(n1)CHR$(n2), wh ere n1 is the first digit and n2 is the second
digit of the number of the character column. The number of the
character column can also be placed inside quotation marks at the
beginning of the text to be printed. See Chapter 3 for an example.
A tab to a dot column is activated by CHR$(27)CHR$(16)
CHR$(nl)CHR$(n2) where n = total number of dot columns
nl = n MOD 256
n2 = INT(n/256)
Appendix B

B-l

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lx-90 - impact printer

Table of Contents