home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / TEXT / UTILITY / MARGTEXT.ZIP / MARGTEXT.DOC next >
Encoding:
Text File  |  1991-04-10  |  3.0 KB  |  62 lines

  1.   
  2.                           MARGARINE Version 1.0
  3.                           
  4.       OK, why is this program called "MARGARINE"?  Because it "spreads"
  5.   the MARGINS of your text!
  6.   
  7.        So much for bad humor...
  8.        
  9.        If you evaluate a lot of shareware programs (and I do), you might be
  10.   annoyed at how so many times the left margin of the documentation file is in
  11.   column 0.  When you print out the file, you end up with no left margin to
  12.   speak of, which makes punching holes in the document for inclusion in a 
  13.   binder impractical.  While some print utilities, such as Norm Patriquin's
  14.   PPRINT (a great program by the way), allow you to specify a left margin, 
  15.   there are two potential drawbacks:
  16.   
  17.       a)    If you select too large of a left margin, some lines will "wrap
  18.       around" and cause the page lengths not to come out right.  The only 
  19.       solution is to use LIST or another program to scan the entire text
  20.       and find the longest line, then manually calculate how much of a left
  21.       margin you can afford to have.
  22.       
  23.       b)    Most of these programs do not run in the background like DOS
  24.       print.  In other words, your machine is tied up while the document
  25.       prints.  This can be real inconvenient for those 200K doc files for
  26.       some of those monster programs.
  27.       
  28.       OK, Chuck, get to the point...
  29.       
  30.       MARGARINE 1.0 is a very simple program I wrote to solve both problems.
  31.   First, MARGARINE scans your entire document and finds the longest line.
  32.   Next, it calculates how much of a "buffer" can be added to the left margin
  33.   without pushing the right margin off of the page.  Finally, it goes through
  34.   your document line by line and adds the appropriate "padding" to the left
  35.   margin, writing the new lines to a file that you specify.  The document can
  36.   then be printed using the DOS print command.  It will retain the same format
  37.   as it originally had, only it will have the largest left margin possible.
  38.   
  39.        Simply enter MARGTEXT at the DOS prompt.  At the prompts, enter the
  40.   name of the ASCII TEXT FILE you want modified, and the name of the new
  41.   output file (where you want the file with expanded margins to go).  That's
  42.   all there is to it.
  43.   
  44.       If you like this program, your voluntary contribution of $5 would be
  45.   appreciated.  Anyone, however, may use the program without restriction.  I
  46.   would be happy to hear comments and I guarantee a response.  I may be 
  47.   reached on CompuServe at 72330,1776 or by writing the address below:
  48.   
  49.           Chuck Steenburgh
  50.           304A N. Main Street
  51.           Lexington, Virginia 24450
  52.             (703)464-5290 evenings
  53.           
  54.        Limited tech support gladly provided over the phone.
  55.       
  56.       P.S.  Support your favorite shareware programs!  I'm not talking 
  57.   about rinky-dink little programs like this, but those big programs out
  58.   there.  Forget all the legal reasons to do so: the support and individual
  59.   attention that you get when you register is something most of us would
  60.   gladly pay double or triple the price asked for.  SUPPORT SHAREWARE!
  61.   
  62.