home *** CD-ROM | disk | FTP | other *** search
- PPRINT - An enhanced file printing utility
- By Mark Margolis
-
- Version 1.3
-
- IMPORTANT!
- ----------
-
- PPRINT can be distributed freely with the following limitations:
-
- 1) PPRINT is distributed FREE OF CHARGE
- 2) A copy charge of NO MORE THAN $5 is charged for its distribution
- 3) PPRINT.EXE and PPRINT.DOC are NOT MODIFIED in any way.
-
- WHAT IS PPRINT?
- ---------------
-
- PPRINT is an enhanced printing utility. I originally wrote it to print
- out certain sections from the 200+ page DOC files that came with some
- of the public domain and shareware software I downloaded. I continued to
- add and expand to PPRINT, trying to make it useful for a variety of people
- by adding a variety of options. I hope you find it useful, and remember,
- feel free to copy it as much as you want!
-
- FEATURES OF PPRINT 1.3
- ----------------------
-
- Version 1.3 is the first public release of PPRINT. This version is bug
- free (as far as I can tell) and it seems to do exactly what I want it
- to do. Here is a basic list of the features of PPRINT 1.3:
-
- o Screen/Printer Output - Output can be sent to printer and/or screen
- o Easy Pause - Pressing any key will pause the display/printing
- o Easy Abort - Pressing A will abort the program at any time
- o Auto Pause - If selected, program will pause at the end of each page
- o Page Count - Counts the number of pages in the given file
- o FF Detect - Will detect a form feed (FF) character and advance page
- o Start/End Page Adjust - User can select which pages to display/print
- o Adjustable Page Length - Set page length to any amount of lines/page
-
- USAGE
- -----
-
- Format: PPRINT <filename> ? [pglen]
- or
- PPRINT <filename> [sp] [ep] [F][S][P][-] [pglen]
-
- <filename> is REQUIRED - it specifies the name of the file you want
- to display or print. Pathnames can be included,
- but wildcards are not allowed.
-
- ? Have PPRINT to count the number of pages in <filename>.
-
- sp The first page to start displaying/printing
- ep The last page to start displaying/printing
-
- F Force a new page when a form feed character is encountered
- S Send output to the screen (default)
- P Send output to the printer
- - Automatically pause between pages
-
- pglen A number between 0 and 32767, specifiying the number of lines
- per page. If pglen is not specified, PPRINT will default to 66
- lines per page if output is being sent to the printer, or 23
- lines per page if output is being sent to the screen.
-
-
- A few notes: 1) If just the filename is specified (ie: PPRINT filename),
- PPRINT will display the entire document to the screen.
- This is similar to the DOS TYPE command, except PPRINT
- supports easy abort and easy pausing.
-
- 2) The pglen parameter must always immediately follow either
- the ep parameter or the options (F,S,P,-,?) parameter(s).
-
- 3) The sp parameter must always be specified when the ep
- parameter is used.
-
- 4) The F,S,P, and - parameters may be used together. The
- order in which they fall does not matter. They are not
- case sensitive. They should not be seperated by spaces.
-
- 5) Pressing the ESC key in the display or print modes of
- PPRINT will automatically abort PPRINT. Pressing any
- other key will automatically pause PPRINT. (To resume
- PPRINT after pausing, press any key except for A.)
-
- 6) Currently, only LPT1 is supported for printing.
-
- 7) Wildcards are NOT supported.
-
- 8) If ANY output goes to the printer (either printer only or
- printer and screen), the page length will default to 66
- lines per page.
-
-
- A FEW EXAMPLES
- --------------
-
- PPRINT mydoc.doc
- [Displays the entire file mydoc.doc]
-
- PPRINT mydoc.doc ?
- [Counts the number of pages in file mydoc.doc, assumes 66 lines per page]
-
- PPRINT mydoc.doc ? 58
- [Counts the number of pages in mydoc.doc, adjusts lines per page to 58]
-
- PPRINT mydoc.doc 20 34
- [Displays pages 20 through 34 of file mydoc.doc]
-
- PPRINT mydoc.doc 48 90 S-PF 45
- [Displays to screen and prints to printer pages 48 through 90 of file
- mydoc.doc If a formfeed is encountered, a new page is assumed. PPRINT
- will automatically pause in between pages. The page length (lines per
- page) has been adjusted to 45.]
-
- PPRINT mydoc.doc 67 -s
- [Displays to screen pages 67 through the last page of file mydoc.doc.
- PPRINT will automatically pause in between pages.]
-
- QUESTIONS/COMMENTS
- ------------------
-
- If you have any questions/comments/suggestions about PPRINT, feel free
- to call me or write to me. I will return all calls collect. I am a
- college student, so I will not be at this address most of the year,
- however, I will respond to all mail that is sent to this address. I
- will include my internet address in this document as soon as I receive
- it. If you need to contact me, you can write to:
-
- Mark Margolis
- 2 Boar Court
- Suffern, NY 10901
-
- (914)-354-7110 <-- Phone # (obviously)
-
- COMING SOON
- -----------
-
- QBDOORS, a bunch of routines and stuff I wrote to write door programs for
- BBS programs. These routines are in QuickBASIC. They seem to work quite
- nicely, and I hope to release this progammer's kit sometime soon. These
- routines, etc, will be public domain (AKA FREE) as well.
-
- Enjoy!