I am essentially printing several invoices out, at about the third line of the detail line I want to print a horizontal line to show the user where to fold the invoice so that the address correctly fits in a window envelope.
Sometimes there could be only one line on an invoice IE one item.
In this case, it is unlikely that there will be more than say 5 items on the invoice however. This is just down to the customers requirement.
Hope this makes sense.
Robin
>>Except that sometimes there are less than three detail lines on a page (damn!)
>>
>>I'll have to add extra blank lines to the detail line if needed to make the count work, messy but it will work I suppose.
>>
>>Robin
>>
>
>Looks like this makes the problem much more complex. In other words, you probably would not be able to tell how many detail lines are printed on the page until you go to the page footer onEntry, but then it would be too late.
>
>That's an interesting problem how can you add an empty line in case of number of lines less than some nNumberOfLinesPerPage.
>
>Can you please re-state your problem again so I may be sure I understand it correctly before trying to come up with some complex workaround.
Rob