// Filename: README.TXT // Author: B.Zink - CIS ID 70224,37 // (c) Copyright 1992 - All Rights Reserved // Version: 1.00 // --------------------------------------------------------------- // Revisions: // --------------------------------------------------------------- // August 27, 1992 - No revisions // --------------------------------------------------------------- // // Remarks: // None // --------------------------------------------------------------- Filename: Readme.txt Files included in this archive: Viewfile.cpp Viewfile.rc Viewwin.hpp Viewwin.cpp Ids.h The purpose of this program was to help a friend with some OWL programming stuff. Originally, it was only to display text in a window that was read only, other stuff followed, String class, Array class, display file etc. The printing routines were added at the last minute as an exercise and demonstration of the Borland TPrinter class included in BC3.1 and on the BPROGB forum if you haven't upgraded to 3.1 as yet. In order to use this project file, you must add the following Borland printer files to the directory where these files exists: PRINTER.H PRINTER.CPP MYCOMBO.H MYCOMBO.CPP They are in the \borlandc\owl\examples\owlprint directory. To use this project you must insure the directories are correct but that's about all. Legal Stuff: This was an extremely quick effort and has not been tested to any large extent, so use it at your own risk. You may use the source code in any manner you want provided you follow these rules: 1) You send me a CompuServe email message saying you did. 2) See item #1 3) If you add any Wonderful stuff, let me know ! 4) If you make a million dollars, we share! 5) Failure to comply with 1-4 will mean you will be haunted by the ghosts of Elvis impersonators the rest of your life, and you violate the Copyright laws of the US, and I know you would'nt want to do that. Limitations: This utility is limited to printing text files. It assumes that ALL lines in the text file are delimited with a CRLF i.e. uses the gets() function to read lines from disk to buffer. So, if the last line in the file does not have one, you will get an error. Also, opens the file in text mode. Could have used streams, but didn't. Speed: I use a 486 with a SCSI drive, so speed isn't an issue for me. It works fine with large files(I have tested it with files >200K) Memory: Since the lines from the file are read into an Array container, the limits are based on the memory in your computer. Printing: I use the print manager for spooling, so you can only abort while the program is preparing the data for print. After printing begins, use print manager to kill it if necessary. Send any comments/questions to: Bill Zink 70224,37