You should be aware that a few applications programs reset the printer before each document or file they print. These programs will, of course, cancel your new margin settings. See Chapter 2 to find out how to test for a reset code in your program.

The maximum right margins on the LX-86 printer are 80 in pica, 96 in elite, 137 in condensed, and 160 in condensed elite. For further information on this command see Appendix B.

Justification with NLQ

The NLQ (Near Letter Quality) mode offers a justification command that will give you four choices in the formatting of your text. The command is ESCape “a” followed by one of these numbers:

0 Left justification

1 Centering

2Right justification

3Full justification

Left justification is the standard format, in which the left margin is even and the right margin is not. This is the way most typewritten pages look.

The centering command centers a line of text between the margins. This is handy for headings, titles, and captions.

Right justification is the opposite of left justification. The right margin is even and the left is not.

Full justification puts extra spaces between words where necessary so that both the left and right margins are even. This is the way most magazines, newspapers, and books (including this one) are printed. With this command, you may need a WIDTH statement. Since different systems use different WIDTH statements, see your computer or programming language manual for the proper format. Remember also to use carriage returns only at the end of paragraphs when you are using auto justification.

When you use any of the justification commands, be sure that you send NLQ command first.

The justification command is designed to be used with BASIC or another programming language, not with word processing programs.

54