home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!wsu-cs!vela!wyn386!wybbs!hcliff
- From: hcliff@wybbs.mi.org (Cliff Helsel)
- Newsgroups: comp.databases
- Subject: Re: FoxPro, printer not ready error trap
- Keywords: help, trap, error, printer
- Message-ID: <1992Jul24.125246.5275@wybbs.mi.org>
- Date: 24 Jul 92 12:52:46 GMT
- References: <viking.711947974@vincent1.iastate.edu>
- Reply-To: hcliff@wybbs.UUCP (Cliff Helsel)
- Organization: Consultants Connection, Jenison MI
- Lines: 24
-
- I recently ran into this same exact problem on an HPII. If you do go the
- route of trying to trap for the error I hope you have better luck than I
- did. Whenever I would be put into the error routine and I would try to
- retry the command all of the output went to the screen instead of the
- printer.
-
- I eventually solved the problem by writing all of my output to a file and
- then calling a routine that sent the file to the printer. By doing this I
- was able to implement a dialog bar that indicated printing status and also
- have greater control over how much data was going to the printer.
-
- Make sure that you use "MODE LPT1:,,p" for infinite retry on the printer.
-
- Good luck.
-
- Cliff Helsel
- hcliff@wybbs.mi.org
- or hcliff@wybbs.UUCP
-
- --
- hcliff@wybbs.UUCP | I'm still thinking of something to put
- WK: 616/459-5861 | inside of this
- Cliff Helsel | empty box
- ----------------------------------------------------------
-