home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / database / 5779 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!wsu-cs!vela!wyn386!wybbs!hcliff
  2. From: hcliff@wybbs.mi.org (Cliff Helsel)
  3. Newsgroups: comp.databases
  4. Subject: Re: FoxPro, printer not ready error trap
  5. Keywords: help, trap, error, printer
  6. Message-ID: <1992Jul24.125246.5275@wybbs.mi.org>
  7. Date: 24 Jul 92 12:52:46 GMT
  8. References: <viking.711947974@vincent1.iastate.edu>
  9. Reply-To: hcliff@wybbs.UUCP (Cliff Helsel)
  10. Organization: Consultants Connection, Jenison MI
  11. Lines: 24
  12.  
  13. I recently ran into this same exact problem on an HPII.  If you do go the
  14. route of trying to trap for the error I hope you have better luck than I
  15. did.  Whenever I would be put into the error routine and I would try to
  16. retry the command all of the output went to the screen instead of the
  17. printer.
  18.  
  19. I eventually solved the problem by writing all of my output to a file and
  20. then calling a routine that sent the file to the printer.  By doing this I
  21. was able to implement a dialog bar that indicated printing status and also
  22. have greater control over how much data was going to the printer.
  23.  
  24. Make sure that you use "MODE LPT1:,,p" for infinite retry on the printer.
  25.  
  26. Good luck.
  27.  
  28. Cliff Helsel
  29. hcliff@wybbs.mi.org
  30. or hcliff@wybbs.UUCP
  31.  
  32. -- 
  33. hcliff@wybbs.UUCP | I'm still thinking of something to put
  34. WK: 616/459-5861  |           inside of this
  35. Cliff Helsel      |             empty box
  36. ----------------------------------------------------------
  37.