80

10' Demo of aligning and centering

20 LPRINT CHR$(27);"1";CHR5(20);

30LPRINT CHR5(27);"Q";CHR5(60);

40 LPRINT CHR5(27);"a";CHR5(0);

50LPRINT "THIS LINE IS LEFT JUSTIFIED."

60 LPRINT CHR5(27);"a";CHR5(1);

70LPRINT "THIS LINE IS CENTERED."

80LPRINT CHR5(27);“a”;CHR5(2);

90LPRINT "THIS LINE IS RIGHT JUSTIFIED."

100LPRINT CHR5(27);“a”;CHR5(3);

110LPRINT "THIS LINE IS LEFT AND RIGHT (FULL) JUSTIFIED."

When you run this program, you should get like this:

Page 86
Image 86
Star Micronics NR-10, NR-15 user manual When you run this program, you should get like this