PRNTDF Version 1.0 Copyright May, 1986 All rights reserved Steve T. Jones East Central College P.O. Box 529 Union, MO 63084 PRNTDF (PRiNT DirFiles.dat) was written to facilitate keeping track of the contents of user group disks. It reads the DIRFILES.DAT file often used by BBS's and other public domain sources to document disk contents. The help screen is reproduced below: ------------------------------------------------------------------------------- PRNTDF Version 1.0 PRNTDF accepts single-character parameters which may in any order; they may be lumped together or separated by spaces. No attempt is made to trap illogical or contradictory choices; an invalid choice terminates the program. PARAMETERS: A,B,C, or D - Drive where DIRFILES.DAT is located (default = current drive) F - Formfeed (^L) before printing (default = no formfeed) N - No print (default = print) S - Screen display (default = no screen display) T - Text file output (default = no DIRFILES.PRN output) ? - Display this screen (default = no help) EXAMPLES: PRNTDF (print DIRFILES.DAT from the current drive with no formfeed to printer and no screen display -- this is the default) PRNTDF S N (display DIRFILES.DAT on screen with no print -- same as DIRFILES.COM with no edit function) PRNTDF CFS (print DIRFILES.DAT from drive C after a formfeed and echo the file to the screen) ------------------------------------------------------------------------------- An invalid parameter causes the program to halt and display the help screen. In this case, however, the first line is replaced with: * * * * PRNTDF v. 1.0 ERROR: Invalid parameter(s): X, X ... If DIRFILES.DAT is not found on the indicated drive, the program halts and displays the help screen with the line below replacing the first line: * * * * PRNTDF v. 1.0 ERROR: File not on drive X If a drive which CP/M does not know about (determined by BDOS function 24) is specified, the following line replaces the first line when the help screen is displayed: * * * * PRNTDF v. 1.0 ERROR: Drive X not found If all goes well, the following message is displayed: PRNTDF Version 1.0 (Copyright 1986 by Steve T. Jones) In addition, the following messages are displayed as appropriate: ... Sending FormFeed (^L) to printer ... Writing DIRFILES.PRN ... Sending output to printer ... No screen display