A seven-line SuperBASIC utility that sends the directory of the disk in FLP2_ to a printer on SER1. After each directory it asks MORE?; press Y to print another (change the disk first), any other key to finish, which sends a form feed and closes the printer channel. For a Microdrive, change the device in line 20 to mdv1_ or mdv2_.
Butch Weinberg wrote it for the CATUG Public Domain library, and this is his PDS DOC note on it, which ends: “Feel free to further alter it, but don’t sell it!”
Published in Sinc-Link September-October 1990 (DIRECTORY TO PRINTER).
Source Code
10 OPEN#3, ser1
20 DIR#3; flp2_
25 PRINT#3
30 PRINT#0;'MORE?'
40 more$=INKEY$(-1)
50 IF more$='y' OR more$='Y' THEN GO TO 20 :ELSE
60 PRINT#3, CHR$(12);: CLOSE#3: STOPNote: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.