|
Bill, Maybe it's me, or maybe it's just Friday. Do you in fact have an application where you have written a program to calculate the page count and a separate program to actually print? How do you keep the calculate program "in synch" with the print program? As a programmer who has actually had to solve this problem for production customers, I rejected this idea out of hand for all of the reasons previously posted. The aforementioned archives carry an exhaustive discussion as to why calculating the page count twice is too problematic to be practical. Have you read the archives? Here is the link to the first message: http://archive.midrange.com/rpg400-l/200009/msg00029.html Messages which may be interesting to you: http://archive.midrange.com/rpg400-l/200009/msg00034.html http://archive.midrange.com/rpg400-l/200009/msg00051.html http://archive.midrange.com/rpg400-l/200009/msg00076.html The fundamental concept is that the page count is generated by the same program doing the printing, so there can never be a mismatch between the calculated page count and the physical page count. Buck > -----Original Message----- > From: BillsVilla@aol.com > Sent: Friday, February 09, 2001 2:27 PM > To: RPG400-L@midrange.com > Subject: Re: Print Total Pages in Report > > Are you a programmer or just make up excuses to not do things? > > Your program is going to print a detail and total line for a reason, when > that reason happens ADD 2 TO THE COUNTER. > > Duh... > > Bill +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.