For the first method, you use the number seven as the secondary address when you open the file for printing. This number goes after the device number, as shown in the example below. new 10 open3,4,7 20 print#3, "This is upper/lowercase." 30 close3 When you run the program, you should get the following results: Thi ~ :; :i. r..:; up p E'r ·· / 1 Cl'l'Jer · c: r. ~ . s ; r.~. To test the CHR$(17) code, type and run the following program. See that your screen is in the upper I lower case mode and be sure to include all the spaces and semicolons when you enter the program.
10 open3,4 20 print#3,chr$(17)"Upper/lowercase" 30 print#3, "now it is off' 40 close3 new Upper I 1 owt::.•rc ase NOW IT IS OFF As you can see in the printout above, CHR$(17) lasts for only one PRINT# statement without a semicolon after it. Specifying Individual Upper- and Lowercase Characters The printer default characters set is ASCII I Graphics when power is first turned on to the printer. Though it is not possible to display both graphics and lowercase simultaneously on the video display screen, the printer does allow shifting between character sets on the same line. Example: 10 OPEN 4,4 20 PRINT #4, '' ( CRSR UP) C ( CRSR DOWN) OMMODORE'' 30 CLOSE4 Result: Commodor ·e 41