home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / AMETHYST / OGLDMN.MSS < prev    next >
Text File  |  2000-06-30  |  2KB  |  44 lines

  1. heading{Letter from Oscar Goldman, 7-15-81:}
  2.  
  3. The first issue of the newletter mentions the problem in Crayon
  4. which arises when the pause option is used with a printer that sends
  5. out a line only after receiving a line feed. (My Epson MX-80 is one such.)
  6.  
  7. Clearly the solution is to supply the necessary line feed.  One
  8. place to do this is in the function 'PagePause' in the file Crayon.C .
  9. As it is now, that function looks like:
  10.  
  11. verbatim[ PagePause()
  12.            {            /* pause, get fresh page from user */
  13.                       if (PrVPos () != 0) PrFF;
  14.                 PrFlush();
  15.                 puts ("Insert fresh page; type any character when ready -->");
  16.                 getchar();
  17.         }]
  18.  
  19. Using Mince (of course), edit the file by adding the line
  20.  
  21. verbatim[    OSend ('/012');]
  22.  
  23. just after the line 'PrFlush ();'.  Then compile and relink (the
  24. pieces to link are in the file cc.sub).
  25.  
  26. By making this change, if the pause option is used, the last
  27. thing sent to the printer after printing a page is the needed line
  28. feed.  The extra line feed does no harm; it will merely help push the
  29. paper out of the printer!  Also, if the pause option is not used, then
  30. the function PagePause is not called, and the change has no effect.
  31. Care should be taken not to use the pause option with continuous
  32. forms, because then the extra line-feed will make a mess.
  33.  
  34. As far as I have been able to determine, there are no undesirable
  35. side effects arising from this modification.  However, this fix is not
  36. very elegant, since it modifies Page Pause even for printers that
  37. don't have the buffer problem (?) of the Epson.  I suppose that in
  38. some future version on Crayon, the creators of Amethyst will make the
  39. required modification in the printer configuration routine.
  40.  
  41. display{Oscar Goldman
  42. 1221 Knox Road
  43. Wynnewood, PA  19096}
  44.