beautypg.com

Tally Genicom Matrix Printer User Manual

Page 248

background image

If only one margin is changed, the other margin will be reset to default value.

If there are any logical problems (for example, left margin > right margin), the sequence
is ignored.

Example

10 REM left and right margin
20 WIDTH "LPT1:",255
30 LPRINT CHR$(27);"[10;53s";
40 LPRINT "Now the left margin is set to column 10 and the ";
50 LPRINT "right margin is set to column 53."
60 LPRINT CHR$(27);"[5;41s";
70 LPRINT "Now the left margin has been reduced to column 5 ";
80 LPRINT "and the right margin has been set to column 41."
90 END

12

Paper and Text Formatting