Tiny Print

See all articles from Sinc-Link v9 n1
Author(s): Tom Skapinski
Publication: Sinc-Link
Pub Details: Sinc-Link v9 n1 (Volume 9, Issue 1)
Date: January/February 1991
Pages: 17
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

Tom does not mention which printer he is using. Printers vary in the codes they require to perform print functions. You may need to check you printer manual, if Tom’s listing does not work for you.

Also, sometimes the computer puts out the printer codes faster than the printer can act upon them. The GOSUB and LOOP at line 1000 cause the program to wait until the printer indicates it is ready. You may need to check the “printer ready” response of your printer. Use a loop such as ” 10 PRINT OUT 127: PAUSE 0:GOTO 10″. With you printer turned on and ready to go, the number appearing onscreen is the number to put into LINE 1000. In my case it was 108.

 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 RETURN

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.