home *** CD-ROM | disk | FTP | other *** search
- Serial Port File Printer
-
- This is a program / desk accessory that formats straight
- ASCII text files and prints them on an 80-column printer that is
- attached to the computer's serial port. It will not format
- correctly on a wide carriage printer. Each page will have a
- header that consists of the filename and the page number.
- Optional line numbers may be included.
-
- This program is written in Personal Pascal and uses an
- interactive dialog box to list the progress of the file printing
- and to allow termination of the printing. It uses the AES
- Wind_Update function to temporarily stop the screen manager from
- updating window borders or items.
-
- The serial port file printer may be run as an accessory or as
- a program simply be changing the extender (ACC or PRG). When
- activated, either by selecting from the Desk menu or by running it
- as a program operation is as follows :
-
- o If the last accessed drive was a floppy, then you will be
- prompted to insert the source disk and select OK.
-
- o A file selector will appear allowing you to select the file
- to be printed.
-
- o An alert will ask if you want line numbers.
-
- o The interactive dialog will show the progress of the
- printing.
-
- o When through, the file selector will reappear allowing
- another file to be selected.
-
- o When you are through printing, select cancel from the file
- selector.
-
-
- Program originally by Phillip R. Poulos, M.D. {DOCTORP}
-
- Modifications by Paul Lefebvre
- (Delphi : PLEFEBVRE, GEnie : P.LEFEBVRE) on 5-16-92 include :
-
- o Ability to run as both a program and a desk accessory.
-
- o Output to the serial port.
-
- o Source code reformatted to make it easier to read.
-
- o File selector stays onscreen to allow multiple files to be
- printed in one session.
-
-