Page ejects in long running reports (AREV Specific)
At 05 JAN 1999 05:56:36PM Martin Bell wrote:
I've inherited some 3rd party source code to maintain, and I'm puzzled by some strange printing behavior:
During certain long running reports (I've seen it in both RLIST List output as well as RBasic programs), a page eject is erroneously generated within the detail of the report.
For example, one LIST statement uses BREAK-ON a particular value as it subtotals about 120,000 records based on that value. Even with a Btrieve index built on that value, the LIST runs about 90 minutes. The report comes out with a heading, maybe one or two subtotal lines, a page eject, maybe one or two more subtotal lines, a page eject, etc. So it's really as if AREV is timing out and closing the spool file.
I repeated the same and held the print spooler. What I found were separate documents for each grouping of heading/subtotal lines, so in fact, the spool files are being closed. Any ideas?
(Note that this is AREV 3.12 running under Win95 clients against a WinNT 4.0 server.) Thanks.
Martin Bell
At 05 JAN 1999 09:30PM Victor Engel wrote:
It appears that your idea about timing out may be correct. This will especially be true if you have DET-SUPP in your RLIST statement. There are generally two solutions:
* PDISK to a file and then copy the file to the printer.
* Change your printer configuration to not do an autoendcap. This is, of course, dependent upon what sort of network is serving your printers.
I prefer the former, especially if there is the off chance that I may have some use for the file.
At 07 JAN 1999 11:19AM Martin Bell wrote:
You are correct – DET-SUPP is being used. But I have looked into the WinNT 4.0 (Server) configuration of the attached HP Laserjet 5P, and I have not found an equivalent ENDCAP parameter like in Novell. Any suggestions? Thanks.
At 07 JAN 1999 01:04PM NT Users Jump In wrote:
Can someone who know NT please jump in?
At 07 JAN 1999 05:39PM [email protected] - [url=http://www.sprezzatura.com]Sprezzatura, Inc.[/url] wrote:
How about the don't spool until last page is printed option?
At 10 JAN 1999 11:53PM Ted Archibald wrote:
The systems that I develop always write to a file and then at the option of the client the file is printed to what ever queue/printer that is desired (laser, dotmatrix wide, narrow, local etc.)
The sub system that I use automatically gives each new report from ALL programs in the system a new number (eg. P1234567) An Arev Reports file is indexed and in a display a user can scan through all prior reports to find which is to be selected and printed or displayed on the screen. Reports are available for the last 4 - 6 months depending. Reports are archived and are available for the last 6 years. Reports are never lost. No reports go directly to the printer and thus avoid any problem with the novell TI=15 sec etc. I found that there were just too many head aches in printing directly.
I hope that this helps.
Cheers.
Ted Archibald, Parsec Systems