home *** CD-ROM | disk | FTP | other *** search
- Dlst V1.2
- ----------
-
- Dlst is a program that works along with the Tiny24.usp downloadable font
- to allow printing of up to 334 lines of a text file on a page. This
- program can be used to print documentation files of shareware or public
- domain programs, program listings, and other Ascii files. It has been
- tested on a HP Laserjet Plus and an HP Laserjet II.
-
- Some of the features of Dlst are:
-
- * Dlst prints output in two column in portrait mode with a verical
- bar dividing the columns.
- * Dlst ignores any Form Feed characters
- * Sequences of 3 or more blank lines are output as 2 blank lines
- * Dlst prints up to 90 characters on a line. If a line is between 90
- and 170 characters long a second line will be printed preceded by
- " ....". Lines greater than 170 characters will be truncated.
- * Dlst expands tabs based on standard tabs stops every 8 positions.
- * A Heading is printed at the top of the left column consisting of
- the filename and the page number.
- * Defaults to squeezing the most lines on a page - 168. Dlst allows
- an optional third argument to change the line spacing of the listing
-
- These features have been put in the program for my own personal use. For
- those who would like to modify these features the source in Turbo Pascal 4
- is included.
-
- Dlst Command Line:
-
- DLST <input-file> <output-file> [ optional # lines ]
-
- output-file usually is prn if you are printing the file
-
- # lines can be a number up to 168. If you give a different
- number, 100 for example, then Dlst adjusts the line spacing so
- that 100 lines are printed in each column
-
- Examples:
- dlst filea.doc prn
- dlst fileb.doc prn 120
-
-
- Soft Font File
-
- DLST works with the included downloadable font Tiny24.usp. This is a
- non proportional font that prints at 25 characters per inch. This is
- a very small font and you can decide for yourself if it is readable
- enough for you. The program assumes that the font is downloaded with
- a font id of 1. I am including both the downloadable font, and a file
- that includes that font and the control characters necessary to set up
- the font with a font id of 1. The simplest way to set up the laser
- printer is to "COPY FONT1.DWN/B PRN". If you have a program for
- downloading fonts you may want to use that program with Tiny24.usp.
-
- List of files
-
- DLST.PAS Turbo Pascal Source for DLST
- DLST.EXE Executable DLST program
- DLSTW.PAS Turbo Pascal Source for DLSTW
- DLSTW.EXE Executable DLSTW program
- TINY24.usp Downloadable font file for a tiny font
- TINY24.DWN Font file with control chars to set font to font id 1
- DLST.DOC This documentation file
-
- DLSTW is a variation of DLST which allows wildcard characters in the input
- filespec. This allows printing a whole group of source programs or a group
- of any ascii text files together. Dlstw will print contents lines at the
- beginning of the listing which lists each file that will be printed. At the
- start of each file DLSTW will print a dividing line and the name of the next
- file to be listed. DLSTW also requires parameter 1 to be a description of the
- files which is printed at the top left of each page.
-
- DLSTW Command line
-
- DLSTW <Description> <input-filespec> <output-file> [ optional # lines ]
-
- Description is a single string that is used as a title. If you have
- several words you want as a title you could use an underscore
- character between the words.
- Input-filespec can include the standard Dos wildcard characters
- "*" and "?" to print multiple files.
-
- Example:
- DLSTW DLST_SOURCE_FILES DLST*.PAS PRN
-
- Notice
-
- These programs and files are placed in the public domain and may be freely
- distributed as long as the program is not sold. It may be placed on
- Bulletin Boards. This program may be included on collections of public
- domain diskettes for distribution when the only charge associated is for
- media and copy costs.
-
- David L. Peterson, 220 9th St So. Waite Park, Mn 56387
-
- Changes for Version 1.2
- -----------------------
-
- * Converted to Turbo Pascal 4. Programs are now smaller and faster
-
- * Made minor font file change. Changed name of font.
-
- * Fixed some bugs.
-
- * Dlstw now works when the files are not in the current subdirectory.