home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
educ
/
ftyper.zip
/
PRTHELP.BAS
< prev
Wrap
BASIC Source File
|
1987-08-01
|
1KB
|
37 lines
100 ' UTILITY PROGRAM TO PRINT ALL OF PC-FASTYPE's HELP SCREENS
110 DEFINT A-Z
120 DIM FL$(6)
130 FL$(0)="hm1"
140 FL$(1)="hm2"
150 FL$(2)="hm3"
160 FL$(3)="hm4"
170 FL$(4)="hm5"
180 FL$(5)="hml"
190 FL$(6)="hmn"
200 '
210 '** do six files
220 PRINT: PRINT "PC-FASTYPE 'HELP' files are now being printed..."
230 FOR I = 0 TO 6
240 FILENAM$ = FL$(I) + ".HLP"
250 OPEN "i", #1, FILENAM$
260 '** 2 pages per file
270 FOR J=1 TO 2
280 LPRINT CHR$(12) 'form feed
290 LPRINT FILENAM$;
300 ' ** 2 screens per page
310 FOR K = 1 TO 2
320 LPRINT CHR$(10); CHR$(10); CHR$(10) CHR$(10) ' line feed
330 ' ** 24 screen lines per page
340 FOR L=1 TO 24
350 IF EOF(1) THEN GOTO 410
360 LINE INPUT #1,LYNE$
370 LPRINT LYNE$
380 NEXT L 'next line
390 NEXT K 'next screen page
400 NEXT J 'next printer page
410 CLOSE #1
420 NEXT I 'next help file
430 LPRINT CHR$(12) ' form feed
440 PRINT ".............FINISHED.................."
450 END