Applesoft Basic Solutions; Qx-10® And Qx™-16 Solutions; User-Defined Character Solutions; Defining More Than Three Characters - Epson FX-286 User Manual

Epson printer user's manual
Hide thumbs Also See for FX-286:
Table of Contents

Advertisement

Applesoft BASIC Solutions

Applesoft BASIC does not use PRINT to send data to the screen
and LPRINT to send data to the printer as Microsoft BASIC does.
Therefore, you need to change the programs in this manual some-
what. In most cases all you need to do is to add two lines to each
program and change all instances of LPRINT to PRINT. Add a line at
the beginning of the program that states PR#1 and a line at the end
that states PR#0.
For the programs in this manual that contain INPUT statements,
put the line that states PR#1 after the INPUT statement.
QX-10® and QX™-16 Solutions
The format for the WIDTH statement for the Epson QX-10 and
QX-16 computers is:
WIDTH LPRINT 255

User-defined Character Solutions

Chapter 7 gives you two programs to define up to one character,
but you can define over 200 if you wish.

Defining more than three characters

In order to define more than one character in Epson mode, you need
to understand more about Definition program
fore, four lines from that program are reprinted and explained below.
160 LPRINT CHR$(27)" :"CHR$(0)CHR$(0)CHR$(0);
170 LPRINT CHR$(27)"%"CHR$(l)CHR$(0);
180 LPRINT CHR$(27)"&"CHR$(0)CHR$(60)CHR$(60);
190 LPRINT CHR$(128);
In normal printing the FX-286 prints characters from its Read Only
Memory (ROM), but user-defined characters are stored in its Random
Access Memory (RAM). Therefore the commands in lines 160 and
170 are necessary for printing a mixture of user-defined and standard
characters. The command in line 160 moves (or downloads) the char-
acters from the ROM to the RAM. The command in line 170 tells the
FX-286 to print only characters in the RAM.
C-8
in Chapter 7. There-
1

Advertisement

Table of Contents
loading

Table of Contents