Geminl User’s Manual
As if that weren’t enough, there’s ESC “J”n, which does the same work as ESC “3”n but doesn’t change the value for successive line feeds.
Because each “dot”is
In Figure
Figure 6-5 presents sample leadings of 1/144th inch to approximately 115th inch. If you want to run the sample program that produces Figure 6-5, it is presented in BASIC. If you want to run this program, the following paragraphs discuss the “what’s and “why’s:’
A Sample Program that Demonstrates Vertical Spacing
The program presented in Figure
Line 30 may look strange, but it reveals an important part of _ the limitations of BASIC. Although the language is easy to use,
it has a few quirks. In this case, a CHR$ code is intercepted by BASIC and used as a BASIC control code that is then sent to the printer.
CHR$(13) is a code for a carriage return. Microsoft BASIC can’t resist inserting a line feed, CHR$(lO), behind every CHR$(13) that it handles en route to the printer. The computer language doesn’t know that this particular CHR$(lO) is the final character in the ESC “3” n command that tells Gemini to change the “leading” (line feed) to 13/144ths inch. There are ways to get around the problems (using the POKE statement, for example). For this program, we will bypass the problem and go to line 110 when the loop counter (I) equals 13.
86