Gary Guthrie wrote:

>Regarding the "simple column in 
>the magazine" suggestion - The concept
>is simple, but the amount of code 
>would be too large to publish in its
>entirety. 
-snip-
>The question has been asked enough 
>that perhaps that would be useful to the public.

I asked this question in a somewhat more complicated form in this list some
time ago (AFP print files complicate things a lot) and again in IBM's AS/400
magazine.  I need to do the page x of y thing, print the bills in reverse
order (last page first) duplex the detail (but not the summary) and include
AFP graphics.

My current approach involves two passes through the data - once to generate
a simple SCS version of the bill with "markers" for the graphics, x of y,
etc.  The second pass involves a cpysplf, some lookups for replacing those
markers and reading the bills backward so I can print them in reverse order.

IBM's answer was published in the September issue.  They advise using the
AFP toolkit and build each customer's bill individually, page by page and
then going back to put the page x of y on.  Visit
http://www.as400magazine.com/ to subscribe.  This is an extremely complex
way to handle the problem - I actually run up against internal limits for
large customers (5000+ pages for one bill and yes, they get an electronic
copy but insist on mailing that case of paper each month as well.)

Buck Calabro
Aptis; Albany, NY
"We are what we repeatedly do.
 Excellence, then, is not an act, but a habit." --Aristotle


Billing Concepts Corp., a NASDAQ Listed Company, Symbol: 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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.