Basic Widths

The first programs print characters in the LQ’s three basic widths. Further programs show you how to produce other character widths by condensing and widening the basic ones.

Pica printing

The first program prints a sample line of characters in pica. This is the default width on the LQ, which means it is used unless the printer receives a command to use one of the other two basic widths.

40 FOR X=65 TO 105

50 LPRINT CHR$(X);

60 NEXT X: LPRINT: LPRINT

Now run the program to print the results you see below-10 characters per inch:

ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'abcdefghiElite printing

To print the same line of characters in elite (which is 12 characters per inch) add the following line to your program. (Just type the new line; you don’t have to retype the other lines.)

20 LPRINT CHR$(27)"M";

Now run the program to produce a sample of elite printing.

ABCDEFGHIJKLMNOPQRSTUVWXYZ [\]^_'abcdefghiFifteen mode printing

To print the same characters in the fifteen mode (which is 15 characters per inch) enter this new line 20.

20 LPRINT CHR$(27)"g";

5-5