Preprint by C.A.B. 22/1/00.  Modified 2002.

This program takes a text file and breaks it into separate
pages, with headings and page numbers (if there is more than
one page), then either sends it to the printer or saves it in
files named page1.txt, page2.txt etc for you to print later.

You don't have to run this program from the same directory that 
the file is in - you can include the path in the filename.

The first non-blank line in the file is taken to be the title.
If there is a copyright notice or byline following it, you can
choose whether it should be printed or not.

You can choose single or double spacing in the output.  

If your file has a blank line after each paragraph, you can 
choose whether to keep the blank lines in the output or not.  
Note that multiple blank lines (used to separate sections of 
a document) will always be printed.

You can choose to have the first line of each paragraph
indented by two spaces (if it isn't already).  Any line that's 
all in capital letters is taken to be a heading and won't be 
indented.

If you choose to print right away, you can choose to print on
both sides of the page, but you have to turn the pages over
yourself.  You can also choose how many copies to print.


HTML FILES

An HTML file is recognised by the extension ".htm" or ".html".

The program checks for a few HTML tags and sends the printer the 
corresponding escape codes:
        <i> and </i>  italics 
        <u> and </u>  underlining 
        <b> and </b>  bold text 
        <sup> and </sup>  superscript 
        <sub> and </sub>  subscript 
        &lt;  <
        &gt;  >
        &amp;  &

Any line that starts with <h1> through <h6> is a heading and
won't be indented when you choose paragraph indenting.

The program will ignore all other HTML tags (i.e. anything
within angle brackets or words beginning with &) and won't
print them.

If the HTML file has links or other text that you don't want
to be printed, then use <!-- Links --> and <!-- End links -->
or <!-- Comments --> and <!-- End comments --> to deliminate
them.

The title is assumed to be the first non-blank line in the file
that has something in it besides HTML tags.  If you have a copyright 
notice or byline, it's assumed to be the next non-blank line that 
has something in it besides HTML tags.

