Graphics

Adding the following lines to the program above will cause 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 responds to commands that are used by Epson FX and RX series printers. There are four individual graphics options commands that are very much the same as the ESC

*command, but each one works for only one graphics option. All these commands are 8-pin graphics options. Note that these commands contain one less variable than the ESC * command because they don’t need to select a graphics option. They are shown below:

Command

Function

ESC * Format

 

 

 

ESC K

Single-density

E S C * 0

 

 

 

 

ESC L

Double-density

ESC

*1

 

 

 

 

ESC Y

Double-density,

ESC

*2

 

high-speed

 

 

 

 

 

 

ESC Z

Quadruple-density

ESC

*3

 

 

 

 

Because of a difference in line spacing increments, the shape of graphics figures produced on the LQ with an 8-pin option is different from the output from the same program on a 9-pin printer.