Tabs - 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

For the first method, you use the number seven as the secondary
address when you open the file for printing. This number goes after
the device number, as shown in the example below.
new
10 open3,4,7
20 print#3,"This is upper/lowercase."
close3
30
When you run the program, you should get the following results:
To test the CHR$(17) code, type and run the following program.
See that your screen is in the upper/lowercase mode and be sure to
include all the spaces and semicolons when you enter the program.
new
10 open3,4
20 print#3,chr$(17)"Upper/lowercase ";
30 print#3,"now it is off"
40
close3
Upper/lowercase NOW IT IS OFF
As you can see in the printout above, CHR$(17) lasts for only one
PRINT# statement even with a semicolon after it. If you want more
than one line in the upper/lowercase mode, use CHR$(17) for each
line or use the secondary address method.

Tabs

The HomeWriter- has two types of horizontal tabs. The first type
divides the page into 80 columns, each one character wide. For this
type, you send the code CHR$(l6) followed by the number of the
column where you want the printing to begin. This number, which
must be two digits, goes inside the quotation marks, just before the
text. The number tells the printer where to start printing, but it is not
printed. For example, the program below uses CHR$(l6) along with
the number 15 inside the quotation marks. This makes the printing
start in the fifteenth column. The numbers in line 20 give you a refer-
ence point so that you can see exactly where the next line starts. Notice
that the first column is numbered zero, not one.
T h i s i s u p p e r / l o w e r c a s e .
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lx-90 - impact printer

Table of Contents