Adding the following lines to the previous program causes the pattern to print 10 times in a row as shown below.

15 FOR C=l TO 10: RESTORE

65 NEXT C

Individual graphics options commands

As previously mentioned, the LQ-2500 responds to commands that are also used by Epson FX and RX series printers. There are four individual graphics options commands that are very similar to the ESCape “*” command, but each one works for only one graphics option. All these commands are for eight-pin graphics. Note that these commands contain one less variable than the ESCape “*” command because they don’t need to select a graphics option. They are shown in Table 6-2.

Table 62. individual graphics options commands

Reassigning command

The LQ has a command that allows you to change the graphics option assigned to any of the four individual graphics options commands. The command is:

ESCape “?. s m

The letter s represents the command that you wish to change the assignment for (K, L, Y, or Z) and m is the number of the graphics option (from Table 6-1) that you want to assign to it. For example, to change the E5Cape ‘K” command to use the CRT I screen graphics option, the command in BASIC is:

LPRINT CHR$(27)"?";"i("CHR$(I*)

6-10

Graphics and User-defined Characters