62

This is what you will get:

If you run this program with DIP switch 2-2 off (IBM mode), you cannot get the printout as shown above.

The < ESC > “A” CHR$(n) command in the IBM mode only defines the line spacing as n/72 of an inch; the < ESC > “2” command changes the line spacing to the amount defined by the previous < ESC > “A”.

For the IBM mode, you need to change the following lines in the previous program as shown below:

40 LPRINT CHR$(27);"A";CHR$(I);CHR$(27);"2"; 80 LPRINT CHR$(27);"A";CHR$(12);CHR$(27):"2"

Page 68
Image 68
Star Micronics ND-10/15 user manual Lprint CHR$27ACHR$ICHR$272 80 Lprint CHR$27ACHR$12CHR$272