home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff279.lzh / MRPrint / MRPrint.DOC < prev    next >
Text File  |  1989-11-20  |  4KB  |  121 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.           MRPrint:  A detabbing print utility for the Amiga
  8.  
  9.           Author:   Mark Rinfret
  10.  
  11.           Requires the ARP library, V1.1 or later.
  12.  
  13.  
  14.           MRPRint  prints  Amiga  text  files  to the printer device or
  15.           standard output.  MRPrint provides several processing options
  16.           which  afford  the  user  some flexibility in determining the
  17.           output format.  Perhaps the  most  important  feature  is tab
  18.           expansion.     MRPrint  expands   embedded  tabs  to  blanks,
  19.           according   to   the   user's   tab   spacing   specification
  20.           (default=4).    MRPrint  also  will  optionally generate page
  21.           headers, line numbers and new margins.  Input  lines that are
  22.           too long for the current margin settings will be split across
  23.           multiple  lines,  maintaining  correct  pagination  and  line
  24.           numbering.   A form  feed character detected at the beginning
  25.           of an input line will be recognized and cause a page eject.
  26.  
  27.           MRPrint is invoked from the CLI with Un*x  style command line
  28.           parameters.  Wildcarding of file names is supported, allowing
  29.           either AmigaDOS or Un*xstyle  wildcard  specifications.   All
  30.           parameters,  including  the  file  name(s)  to be printed are
  31.           optional.  In the  case of  formatting options,  defaults are
  32.           used  if  no  option  is  explicitly given.  All options must
  33.           precede file names on  the command  line.   To see  a list of
  34.           options, invoke MRPrint with:
  35.  
  36.                     MRPrint -?
  37.  
  38.           Of special  note is  the fact that MRPrint will automatically
  39.           detect and reject  files  which  have  binary (non-printable)
  40.           content.   You can  therefore invoke MRPrint in the following
  41.           form
  42.  
  43.                MRPrint *
  44.  
  45.           to print all files in the current directory without having to
  46.           worry about  object, program  data, or  directory files being
  47.           printed.  
  48.  
  49.           If no file names are passed on the command line, MRPrint will
  50.           put up  a file name requester.  Multiple files may be printed
  51.           in this fashion, terminating  MRPrint by  pressing the CANCEL
  52.           gadget on the requester.
  53.  
  54.           The current default values for MRPrint are:
  55.  
  56.                left margin:        1
  57.                right margin:       80
  58.                tab spaces:         4
  59.  
  60.                                           1
  61.  
  62.  
  63.  
  64.  
  65.  
  66.                headers:            enabled    
  67.                line numbers:       disabled
  68.  
  69.           Of course,  having the  source (nice  rhyme, eh?), you can change
  70.           these so that you don't have to constantly type in  your favorite
  71.           options.   Be sure that your margin settings in preferences don't
  72.           interfere with MRPrint's  behavior.    MRPrint  expects  the left
  73.           margin to be set to 1 and the right margin to be at least as wide
  74.           as what you specify on  the  command  line.    I  usually  set my
  75.           preferences to 1, 255. Of course, if you're ambitious, you'll add
  76.           the code to get the Preferences settings and adapt.  
  77.  
  78.           There are lots  of  things  that  can  be  done  to  improve this
  79.           program. A  'copies' option  would be  nice as well as options to
  80.           support letter quality, draft, condensed print,  etc.   The Amiga
  81.           supports these  things in  a fairly nice, generic way if you have
  82.           the right printer driver. I hope you find MRPrint to  be a useful
  83.           addition to  your tool box.  By the way, I love ARP.  It's a good
  84.           example of the way things should  be  done.    My  compliments to
  85.           Charlie Heath and his crew for developing such a fine product and
  86.           making it freely available to the public.
  87.  
  88.  
  89.           Mark Rinfret 
  90.           mark@amanpt1.Newport.RI.US
  91.  
  92.           work: 401-849-9930 x301
  93.           home: 401-846-7639
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.                                           2
  120.  
  121.