Sends superscript and narrow line-spacing codes to an Epson-compatible printer through an AERCO-compatible printer interface (OUT 127), so that everything printed afterwards comes out tiny; turning the printer off and on restores the normal size. George Chambers adds a version of line 60 that waits for the printer-ready value from IN 127 between codes (108 on his SCM Fastext 80).
Listing only: it opens the Larken printer channel with RANDOMIZE USR 100 before sending the codes and returns to the disk menu with RANDOMIZE USR 100: NEW.
Published in Sinc-Link January-February 1991 (Tiny Print).
Source Code
5 PRINT AT 10,5;">>>>TINY PRINT<<<<"
6 PRINT AT 19,0;" ---PRESS any KEY to CONTINUE"
7 PAUSE 0
8 CLS : PRINT AT 5,0;" RETURN to MENU ? (Y/N)": INPUT a$: IF a$="Y" THEN GO TO 95
10 REM by Thomas Skapinski [address omitted] 11/11/90
20 REM For LARKEN Disk System
30 REM Turn printer OFF then ON to resume normal print size
40 RANDOMIZE USR 100: OPEN #3,"lp": REM opens channel for large printer
50 REM
60 OUT 127,27: OUT 127,51: OUT 127,15: OUT 127,15: OUT 127,27: OUT 127,83: OUT 127,48: REM superscript and modified line spacing****AERCO COMPATABLE PRINTER INTERFACE REQUIRED****
70 CLS : PRINT AT 18,1;"Now evrything will print out tiny. If you use an EPSON compatable printer"
71 PRINT FLASH 1;"***PRINTER MUST BE TURNED ON***": FLASH 0
72 PAUSE 350: CLS
90 STOP
95 RANDOMIZE USR 100: NEW
110 RANDOMIZE USR 100: SAVE "TINYpr.B2" LINE 1
Note by Geo Chambers (revised line 60):
50 REM
60 OUT 127,15: GO SUB 1000: O
UT 127,27: GO SUB 1000: OUT 127,
65: GO SUB 1000: OUT 127,8: GO S
UB 1000: REM
This worked on an SCM FASTEXT 80
Printer ****AERCO COMPATIBLE
PRINTER INTERFACE REQUIRED****
1000 IF IN 127<>108 THEN GO TO
1000
1010 RETURNNote: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.