Epson LX-90 User Manual - Parallel 8620 PIC for LX-90 - Page 42

WIDTH LPRINT 255, ESCape code, BASIC or another programming language

Page 42 highlights

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. Auto 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 probably need to use a WIDTH statement at the beginning of your program. The following line shows one format for the WIDTH statement. Consult your software documentation for the proper format for your system. 7 WIDTH LPRINT 255 This statement prevents BASIC from inserting unwanted carriage returns. When you are using auto justification, use carriage returns at the end of paragraphs only, not at the end of each line of text. Also keep in mind that changing the right margin may make justified text look better. The next paragraph is printed with this feature. Since most word processing programs have their own justification commands, use this ESCape code only with BASIC or another programming language, not with a word processing program that has its own justificationcommand. When you use any of the justification commands, be sure to send the NLQ command first. 40

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122

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 mar-
gin is even and the left is not.
Auto 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 probably need to use a WIDTH statement
at the beginning of your program. The following line shows one for-
mat for the WIDTH statement. Consult your software documentation
for the proper format for your system.
7 WIDTH LPRINT 255
This statement prevents BASIC from inserting unwanted carriage
returns.
When you are using auto justification, use carriage returns at the
end of paragraphs only, not at the end of each line of text. Also keep in
mind that changing the right margin may make justified text look
better. The next paragraph is printed with this feature.
Since most word processing programs
have
their
own justification commands, use this
ESCape code
only
with
BASIC or another programming language,
not with a word processing program that has its
own justificationcommand.
When you use any of the justification commands, be sure to send
the NLQ command first.
40