White space due to page break (except on the last sheet) - jasper-reports

I am creating a jasper report with a page break, which generates a new page when a specific field changes. But i observe a lot of blank space at the bottom of the pages (except the last sheet of the report).

Go to properties of the page and change page height so that no white space is under your page break. I am not sure if it will help because your question is not clear enough

Related

Crystal reports lines not showing

I have a crystal report for an invoice that is formatted with some horizontal and vertical lines. The vertical lines cut across a number of group and detail sections. Crystal reports is version 13, and I am using it in the designer in Visual Studio 2013.
I have two problems
1) The vertical lines only extend to the beginning of the first detail section on the first page. On subsequent pages they display all the way down the screen.
2) For the second and last row of one of my groups, the vertical lines don't display at all.
I have tried removing the lines and re-adding them, and this has made no difference. I have also tried changing ExtendToBottomOfSection to true for the lines, but this doesn't seem to make any difference. Any other suggestions?
The key thing with lines and boxes in Crystal Reports is the section/area they start in and the section/area they end in. These areas always go in a specific order: Report Header, Page Header, Group Headers, Details, Group Footers, Report Footer, Page Footer.
Depending on the height of the areas, some sections may be bumped to the next page. Most issues I see with lines and boxes are due to them not starting/ending in the right section to give the desired effect on every page, even pages where some sections may be omitted.
If you want lines to span the whole page, they should start at the top of the Page Header area and end in the bottom of the Page Footer.
What I think you're looking for is a slight variation on this (I'm guessing based on your problem description): to run the line down the entire page, but not actually have it appear in the page header/footer. In this case, you will want the line to start at the bottom of the page header, and end at the top of the page footer. This will give the effect of the line covering the page (but not the header/footer), regardless of how many records appear on the page.
These properties are easiest to control from Design view (where it's easier to distinguish section boundaries), or from the properties dialog (where you can make the top/bottom values exact).
Hope this helps!

jasper reports issues with fixed page height

I have a report with dynamic subreports and a page footer that should stick to the bottom of the page. The problem is that the text is dynamic and some pages have more text, some other pages have less text. When the page has less text it pulls the page footer up and when the page has more text, it pushes the page footer down. I have specified the page height property pageHeight and I have placed my stuff in a band in pageFooter. I have tried using the background instead of pageFooter and this actually forces the page to have a constant height and it works fine except a tiny little detail that kills the entire solution. In some reports it prints the header of the table alone at the end of the page like in this image:
If I use the pageFooter the header of the table does not appear alone. It appears only when I use background. It seems to me as if when I force the page to the maximum height, it causes the head of the table to appear alone. The report is huge. It spans tens of xml files. I don't think it is a good idea to post it. And the xml is full of java code. I will post portions of it upon request, if that helps you get a better idea. I hope I explained the issue clear enough. Any ideas?
Thank you in advance,
Corneliu

Jasper Reports - Subreport - Blank page between title and detail bands

I'm working on a subreport in Jasper Reports and its detail can get rather large, more than a page in length on its own. What I'm having trouble doing is getting it to print right after the summary paragraph. It always leaves a blank page in between the title band and the detail band and then prints. When it then prints, it prints on more than a page. It's under this scenario (detail table/band larger than one page) that it leaves the unnecessary blank buffer page.
Here's a picture of the report that gets generated, to help explain what's happening. (Sorry about the blacked out text, I don't want to get in trouble for divulging anything).
Here is a picture of the band layout for the subreport:
Root Question:
How can I make it so that the detail prints as close as possible to the summary paragraph? Instead of deciding to skip the current page, leave an additional blank page, and then print.
Thank you for your time.

Making top and bottom vertical alignment coexist on the same page - MS Word 2010

I'm writing the last page of a report, where there are three short chapters: Conclusions, Acknowledgments and References. Now everything is top aligned, as per default. However, I'd like the last two chapters to be bottom aligned, without having to press Enter repeatedly to create myself the white space. I experimented with the Page Layout dialog and inserted a section break after the Conclusions, but the bottom alignment starts from the following page.
Is it even achievable what I have in mind? And if so, how?
At http://i.stack.imgur.com/GIr3Q.png there's the end results I'm trying to obtain. I created "artificially" the blank space between "dui." and "Acknowledgments" by pressing Enter four times.
you can
hijack the footnote functionality (ugly but effective) and play with the footnote styles
insert a text box and position it absolutely (that's what a textbox should be used for) in Word2010 look in Insert ribbon, Text section, Text Icon

Crystal Report - Last Page is blank

I have a crystal report which when generated has a last page that is blank except for the page footer (which indicates the current page, as well as the report title).
This only occurs when the data displayed on the second last page completely fills the page.
Would anyone have any ideas as to why this might be?
When you check the checkbox New Page After, you will see an icon just right to it. This icon represents Formula Workshop. Click this icon and type NOT OnLastRecord.
Save and close the window, you are good to test this and praise me for the rest of your lives :)
Instead of using the checkbox on the group footer, use a formula.
The one that I use is
not(OnLastRecord)
You have some (almost) empty group footer, which doesn't fit onto last (non-empty) page.
You have to set "New page after" option to some inner group footer section.
I know that this is an old question, but I just had a similar problem.
In my case the last page was printing the Page header and nothing else.
It turns out that the fix for me was to Right Click on the Report Footer (Which had no contents) and choose Hide.
So it was basically putting in a blank report footer and including the page header with it...
Hope this helps...
+1 to Arvo because what he said is probably the case. I'll expand on it a little.
More than likely you have a section that will not totally fit on the second to last page so it spills over to a new page.
Some options you may be able to use are in the section expert are "Keep Together" which keeps all the lines of the section together, either on the current page (if there is room) or on the next (if not), or the "Suppress Blank Section". You could also try to shrink the height of the section, but this will probably not work in all cases.
As Arvo also said, make sure that you do not have the "New Page After" flag set for any of the sections as this could cause it as well.
I was in the same situation and a good solution is to control the "New Page After" (in my case in the group footer) by a simple sentence, only doing it, when the current page is not the last.
With the option "New Page After" unchecked put a formula on it, clicking it's right formula button.
Code:
if(PageNumber = TotalPageCount) Then
True
else
False;
Saves a lot of troubles.
Greetings.
P.D. It's Crystal Syntax.
Evaluate if you need a report footer. If don't, be sure supress this section on report.
In addition, to checking what other have mentioned above, after creating a new Blank Report, under Page Setup, the paper size for me was A4 by default. When I changed it to Letter, I would get a second blank page in the Print Preview as well as when physically printing to letter paper. Presumably this is due to going over the page boundaries. I was able to reduce the magins, and make the report content fit on the page.
Or being on “Design” tab, under “Report Header” right click and select “Fit Section”
In my case, it was an image outside the paper design, i just align it and scaled it to fit my paper.
For some this might happen when there is an unused section like report footer. Suppress the section, it will be resolved.