Lines 50 and 140 set a FOR-NEXT loop which will include selecting the graphics option and printing the graphics data for each of the three (8-bit) lines. Line 80 assigns the graphics option each time one of the three lines is printed. ASCII 0 assigns S-dot, single-density printing while ASCII decimal 42 tells the printer the design will have 42 columns of data.

Lines 90-120 READ and LPRINT the 42 columns of data for each line. The LPRINT statement in line 130 causes a line feed and carriage return to occur after each line is printed. Line 170 resets the line spacing to l/6-inch (the power-on default setting).

The data in lines 200-220 correspond to the dot positions for each of the 42 columns in the first printed line of the design. Lines 250-270 are for the dot positions of the second printed line. Lines 300-320 are for the third printed line.

Run the program. Your graphics design should now look like this:

Did you have any trouble? If you did, check your commands and be sure your data statements contain the values exactly as they are shown in the program listing.

Using the 24-Dot Graphics Options

Up until now you have looked at the SQ-2000’s print head as an B-dot graphics device. In reality, the SQ-2000 has 24 nozzles in its print head, and they are all available to you when using the 24-dot graphics options.

The 24 nozzles are mapped as three 8-bit bytes stacked vertically (as shown in Figure 6-6). This means that for each nozzle column of 24-dot graphics (as specified by n1 and n2) you must send three bytes of graphics data.

75