Home
Analytics
Start printing footer at the bottom of the page
SuperTime
Using BIRT all in one designer 2.2.2 version
My report consists of two datasets, the report is based on a main table element which is bound to one dataset and another nested table in the main tables body section, which is bound to the other dataset.
This report is an Statement type report with the main table having a Group on customerid and the group header consists of bill to address and company information, the details section has a subreport that consists of all the transactions for the customer, and the group footer consists the notes for each customer. There is a page break set at the group level. The details section of the table can have 1-n transactions. And the notes which is placed in the group footer can grow from 1 line to n lines.
What I am trying to achieve is, I want the notes to Start printing at the bottom of the page for that customer. So if I have transactions for a customer spanning more than a page, then the notes will print at the bottom of page 2 for the customer. If there is only one transaction in the details and the notes only one line then on the same page 1 the notes will print at the bottom of the page.
Note: that the notes field comes from the main dataset.
Please advice how can I get this to work.
Thank you.
Find more posts tagged with
Comments
mwilliams
Hi SuperTime,
What are you currently getting as an output? Can you attach a screenshot and your report design so I can get a better understanding? Thanks.
SuperTime
See attached. Basically I want the page size to be letter, and have the Account History and the notes to appear at the bottom of the page for each customer. As you see in the images attached. When the notes grow bigger than 2 lines it gets pushed off to the second page.
mwilliams
SuperTime,
So, if the notes are longer than 2 lines, everything goes to page 2? Your screenshots look like an entire report all on page 2. What is on page 1? I don't think I'm understanding everything correctly. What are you wanting to look differently than what is shown in the screenshots?
SuperTime
Please ignore my quote below, I may not have stated it correctly:
"When the notes grow bigger than 2 lines it gets pushed off to the second page."
The screenshots shows top and bottom of page2 of my report. The page1 is similar and contains the 1st customers information, but for which i have not included a screenshot. So lets take for example the 2nd customers information as you see in the two screenshots. The notes field is "This is my report setting Footer ......in the Supplies section."
I want the page size to be letter and if the notes span for more than the page it should start printing at bottom of next page.
I hope I am clearer this time... again I might not be using the correct terms in describing my issue but the screenshots are output of my existing report.
mwilliams
SuperTime,
Ok, I understand a little better now I think. So, you want all of the notes to go to the bottom of the next page if they don't all fit at the bottom of the first page? Currently, I'm assuming they just roll over to the top of the next page? If this is the case, I'm not sure that there's a way to push them to the bottom of the next page. I'd have to look into this a little more and let you know what I find. Let me know if this is what you're meaning. Thanks.
SuperTime
<blockquote class='ipsBlockquote' data-author="mwilliams"><p>SuperTime,<br />
<br />
Ok, I understand a little better now I think. So, you want all of the notes to go to the bottom of the next page if they don't all fit at the bottom of the first page?</p></blockquote>
Yes that is right. And if the notes are small enough to fit on the same page, even then it should print at the bottom of that page.<br />
<blockquote class='ipsBlockquote' data-author="mwilliams"><p>
Currently, I'm assuming they just roll over to the top of the next page? <br /></p></blockquote>
Currently the notes go down beyond the page limit(letter size, as seen in the pdf). As you see in the screenshot, I had to scroll down to show the remaining text, and that's why I have two screenshots of the same page. The notes doesn't go to the "next page" (of the BIRT viewer with the navigation to browse through pages) , because I have the page break set at the customer group. In PDF, cuts off the notes after two lines in the example, because the notes beyond that are more than what fits on the letter size page.<br />
<blockquote class='ipsBlockquote' data-author="mwilliams"><p>
If this is the case, I'm not sure that there's a way to push them to the bottom of the next page. I'd have to look into this a little more and let you know what I find. Let me know if this is what you're meaning. Thanks.</p></blockquote>
Thank you, I appreciate your help.
mwilliams
SuperTime,
One thing I can say is that the 2.3 releases have improved pdf output. If it's possible for you to check that out, it may give you a better result than you're currently getting. Another thing you could try would be to page break before the notes section and just put it on the 2nd page every time. Sometimes it would be a waste of space, but it would solve the times where pdf cuts the notes off.
SuperTime
<blockquote class='ipsBlockquote' data-author="mwilliams"><p>SuperTime,<br />
<br />
One thing I can say is that the 2.3 releases have improved pdf output. If it's possible for you to check that out, it may give you a better result than you're currently getting. Another thing you could try would be to page break before the notes section and just put it on the 2nd page every time. Sometimes it would be a waste of space, but it would solve the times where pdf cuts the notes off.</p></blockquote>
<br />
I cannot put a page break before the notes section, because if the customer has only one transaction and one line of note.... it will be waste of page, ie. all my customers will span to two pages with lots of blank space if there is not a lot of data.
mwilliams
SuperTime,
I figure that wouldn't work for you. It was just a possible suggestion. If I think of anything that may help, I'll post in here. I just can't think of a way to determine whether you're going to have enough space for your notes and if not to print on the bottom of the next page rather than the top. Good luck.