home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / sigm / vol115 / fprint.doc < prev    next >
Encoding:
Text File  |  1984-04-29  |  1.7 KB  |  51 lines

  1. FPRINT--FORMATTED PRINT ROUTINE
  2.  
  3. Written by Russ Bakke
  4.  
  5. This is a general purpose printing routine, which allows a
  6. number of options.  The call is the normal cpm command line:
  7.  
  8. FPRINT FILENAME.EXT [/options] [#number of copies]
  9.  
  10. If the filename is not included in the command line, it is
  11. prompted for.  If the options and/or count are not included
  12. in the command line, they are prompted for.
  13.  
  14. The following options are available:
  15.  
  16. B(ottom of page prompt (for single sheet printers)
  17. D(ouble spacing
  18. E(nd of text prompt (for friction feed printers, to re-align
  19.   paper)
  20. M(argin on left edge of page
  21. P(unch device (PUN:) instead of PRT:
  22. U(pper case alphabet only (does not affect non-alpha
  23.   characters)
  24. (Note that /B overrides /E)
  25.  
  26. If the option letters are included in the command line,
  27. they must follow a '/', as '/DUM'.  (Note that the letters
  28. may be in any order).  A '/' with no options will suppress
  29. the prompt.  Note that no processing of the text is performed
  30. except these options; it is up to the preparer of the text
  31. to insure correct line lengths, etc.
  32.  
  33. The number of copies to be printed may be included in the
  34. command line following the symbol '#'.  The default is one
  35. copy.  The maximum is 255.  If the symbol '#' is not in the
  36. command line, the number of copies will be prompted for.
  37.  
  38. An error in either the number of copies or options will result
  39. in a prompt for that item.
  40.  
  41. Examples:
  42. FPRINT TEXT.ASC / #  will print one copy of TEXT.ASC, with
  43.   no options.
  44. FPRINT B:SOURCE.PRN /BDEUMP #2  will print 2 copies of
  45.   B:SOURCE.PRN on the PUN: device, with all options in effect.
  46.  
  47. Please send any comments/problems/corrections to the author:
  48.     M. Russell Bakke
  49.     121 Shadow Ridge Rd.
  50.     Stamford, CT 06905
  51.