Each pass of the print head contains one piece of the total pattern, which can be as tall or short as you desire. You don’t have to use the whole page or even an entire line for your graphics figures. In fact, you can reserve as little or as much space as you like for a figure-and position it anywhere on the page.

Graphics Mode

Multi-line figures are printed in lines that are either seven or eight rows tall. For each graphics figure, you must first enter one of the seven versions of Graphics Mode and then tell the printer the number of columns you wish to print on each line. In other words, you specify the density of the dots.

Here is the format for entering Single-Density Graphics Mode (60 dots per inch).LPRINT CHR$(27)"K"CHR$(n 1) CHR$(n2);

The two number slots (n1 and n2) determine the number of columns reserved for graphics.

Why two numbers instead of one? To get around a limitation of the BASIC CHR$ function, which with only one reservation slot would not let you print a figure across the entire width of the page. An 8-inch page can hold up to 480 Single-Density graphics dots per row. But since the BASIC CHR$ function is limited to numbers from 0 to 255, you can’t send a number as large as 480 directly to the printer.

That’s where the second number slot fits in. You use the two sets of numbers together to send large numbers to the printer. The first number that you specify (n1) indicates a number of columns (0 - 255), as you’d expect. A 255 in that position says “reserve 255 columns for graphics,” which means that any Single-Density figure less than half a page wide can be handled easily by the first number alone. Although you may sometimes need only this first slot for specifying width, you must not stop with that specification. You must still satisfy the printer, which always expects a value for the second slot (n,). Send it a 0.

134