Example

10

REM

justification and centering

 

20

WIDTH

"LPT1:",255

30LPRINT CHR$(27);"Q";CHR$(48);:REM set right margin

40LPRINT CHR$(27);"a";CHR$(1);"CENTERED"

50LPRINT "HEADLINE"

55LPRINT CHR$(27);"a";CHR$(3)

60LPRINT "Now the right and the left justification ";

70LPRINT "is on. The lines are filled with blanks ";

80LPRINT "until they are long enough to reach the ";

90LPRINT "right margin."

100LPRINT

110LPRINT CHR$(27);"a";CHR$(2);"These lines are only"

120LPRINT "justificated on the"

130LPRINT "right margin."

140LPRINT

150LPRINT CHR$(27);"a";CHR$(0);"Now the default setting"

160LPRINT "is selected again. The lines are"

170LPRINT "justified on the left margin."

180END

Paper and Text Formatting 15

Page 98
Image 98
Tally Genicom Matrix Printer manual Width