crystal version 11.5.12.1838
I'm trying to get images to print in the report footer section, with one image on 'report footer a' on one page and a new page with a different image in 'report footer b'.
I cannot get this to work and only the page and image contained in report footer a will print. There are no suppression formulae in the report footer section (actually no formulae of any description in this section). Is it possible to do this?
[edit 1]
This is a subreport and it looks like there is some hard limit on the number of pages in the overall report. If I add a report footer b, c, d and put images in them and set "new page after", none of them are printed. Also tried adding background colours to each of the report footer subsections - still only get 'report footer a' followed by a blank page.
[edit 2]
The whole subreport is set to be suppressed if a variable=0. The strange behaviour I'm seeing now is that if the subreport is not suppressed (with the suppresion formula still present), then only 'report footer a' in the subreport is shown. If I remove the subreport suppression completely, then all of the report footers print. Looks like a bug but I can't find a workaround yet.
[edit 3}
Tried reimporting the subreport with the same results. Tried moving the images into different subreport sections with the same result. It seems that the subreport will not print more than two pages. I've toggled 'can grow' in format subreport and this has to be checked for the subreport to display at all. The 'number of lines' box next to can grow is always greyed out.
You should be able to achieve this in the Section Expert by either:
Checking New Page After in the Report Footer A section
or
Checking New Page Before in the Report Footer B section
I've found a workaround. Looks like a bug in crystal where using a shared numbervar in a suppression formula for a subreport was having unwanted side effects. I've modified the subreport suppression formula and both images are now printing.
Related
I would like to display only 4 pages on my Crystal report, however, I am getting an extra empty page. I cannot pin the reason to what sounds like a trivial issue.
My report has the following:
- No fields in the main report - This is not avoidable.
- One sub-report.
- In order to have the sub-report header repeat I followed this method described here. (I just do not understand what the formula means and whether this is the reason for the extra page but I am getting a header as I require).
I am suppressing the pages in both the report and sub-report as follows: in the suppress I am using
if pagenumber>4 then true;
I tried to put in all my sections
Not(onLastRecord)
I am simply lost. All I need to do is print 4 pages only regardless how long the report/sub-report is. I also need the sub-report to have a repeating header. Thanks.
Try to reduce the size:
-If possible supress group and report footers
-Right Click on each section you can and select "Fit Section"
-Change the color of some sections so you can see if any responsible for the extra page
-Maybe the paper is set to letter ? : Go Design - Page Setup, set A4 or you can also try no printer to see if something changes ( this last one will change the format of your fields so backup before)
If you have any footer sections that are not being used, try suppressing them. This will remove empty white space that is added at the end of the report. Another option is to adjust the size of your top and bottom margins, providing there are no design conflicts in doing so.
If you have any white space at the bottom of the sections that appear at the end of the report you could also reduce the height of that section to remove the white space.
I need different page footers for first and other pages.
I placed one footer in page footer band and other in column footer band
I set Print When Expression for page footer band as $V{PAGE_NUMBER} > 1
https://dl.dropboxusercontent.com/u/1383480/work/QIP%20Shot%20-%20Screen%20454.png
Jasper starts to print page footer from second page, but it leaves blank space on first page (both in preview and docx export).
https://dl.dropboxusercontent.com/u/1383480/work/QIP%20Shot%20-%20Screen%20455.png
I tried to set remove line when blank on all text elements, it doesn't help
My jasper reports is 5.6, target format is docx
How do I remove blank space on first page?
You can try to use net.sf.jasperreports.export.{format}.exclude.origin.{suffix}.{arbitrary_name} property for excluding page footer for exporter.
http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.{format}.exclude.origin.{suffix}.{arbitrary_name}
Maybe it will be helpful:
It is stated on 108 of the Jaspersoft Ultimate Guide PDF that the page
footer always retains the declared fixed height.
Add it as a standard field perhaps into another band and then print
only on page one using a PrintWhenExpression (see pg 119 of the
ultimate guide). Include an expression that effective means it only
prints on page one, something like:
$V{PAGE_NUMBER} == 1
If you need it on the bottom there are options to align the element to
the bottom of the band IIRC.
From: http://community.jaspersoft.com/questions/822453/page-footer-space-removal-dynamically
Here is one approach using fake group footers
https://community.jaspersoft.com/jasperreports-library/issues/4074-0
We are trying to modify a crystal report (estimate template) to print some legalee jargon on the Last page of a crystal report. The last page would only have the text which we have in Group Footer 1b. Group Footer 1A has the totals of the document and should print after the details section. Currently the Page Header prints on the page with the Group Footer 1B text and we cannot seem to find a conditional format on how to exclude the page header from printing.
Can't use the report footer because we have multiple documents(estimates) which print at the same time.
I would put that information in the Report Footer. The report footer will only print once at the end of the report. If you want to make sure this information always has a page to itself, go into section expert, select Report Footer, then find the Paging tab (Not sure which version of CR you are using. I'm using CR2008. Layout might be different). Check "New Page Before". This will force a new page when it reaches the Report Footer.
I have to print a report on a pre-printed form. I have 5 footer bands, i.e. page footer A to page footer E. I am printing values in each footer from the sub-report. I am suppressing a footer if the value from the sub-report is zero.
When one or two sections become suppressed, the remaining sections move upwards, which is fine; but the last footer has to be fixed (i.e. it should not move upward).
Right-click section in question > Format Section > Print at bottom of page (checkbox) ?
I have a report footer that i want to appear on the last page only of my report. I have the option selected that says 'Print on Last Page' as True. I also have the option to print on first page as false. However, when i have an invoice say 4 pages long, the footer shows up on all the last three pages.
thank you for your suggestions.
You could try placing the content at the end of your report, making sure it is outside of any grouping object (list, matrix, table).
If the content is at the end of the report, it will always be on the last page and only the last page. No footer or special group is needed.
You can position it on the last page by leaving some empty space between the content you want at the end and the rest of the report. Check your report height and width settings.
Good luck.