cassirer@puzzler.rtp.dg.com (Fred Cassirer) (10/11/90)
Has anyone ever had printer problems when using the set PRINT on or report xxxxx TO PRINT options using clipper? I have an application that refuses to print more then a few pages without getting some kind of a printer error. On one system, I get Printer not ready, Retry(Y/N)? and if I say yes, it continues to print some more then comes up with the message again. If I put a delay in the printing, such as report xxxxxx TO PRINT while delay() where the function delay() is defined as function delay if (inkey(2) == 27) return .f. else return .t. endif Then the problem doesn't happen as quickly, but it still happens. It seems that the 2 second delay is enough to cause the printer to not buffer up the output as much or not at all. This happens if I use any kind of printer redirection, either the set PRINT on or the TO PRINT option on the report line. It also happens with labels. On another machine with a Daisy wheel printer, I get no message, just a form error on the device. Other programs work with the printer just fine, except for the 1st machine where the DOS PRINT command will print small files or or a larger file but then complain that the device is off line and the only way to get it to print again is to reboot. Any help here would be greatly appreciated. Thanx. -Fred Cassirer /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ < Fred Cassirer ...rti!dg.rtp.com!cassirer > < Data General Corporation Research Triangle Park, NC > \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
alan@mq.com (Alan H. Mintz) (10/13/90)
In article <1990Oct11.131632.24609@dg-rtp.dg.com>, cassirer@puzzler.rtp.dg.com (Fred Cassirer) writes: > > Has anyone ever had printer problems when using the set PRINT on or > report xxxxx TO PRINT options using clipper? > > I have an application that refuses to print more then a few pages without > getting some kind of a printer error. On one system, I get > > Printer not ready, Retry(Y/N)? I believe you need to invoke the DOS MODE command to tell it to retry forever on printer_not_ready's. I beleieve it is: MODE LPT1:,,P. -- < Alan H. Mintz | Voice +1 714 980 1034 > < Micro-Quick Systems, Inc. | FAX +1 714 944 3995 > < 10384 Hillside Road | uucp: ...!uunet!mq!alan > < Alta Loma, CA 91701 USA | Internet: alan@MQ.COM >