Everything I have found so far has not worked for me.
I have a Crystal Report with header, details and footer. The details section is a text that occupies two pages. In the report preview everything is fine. If I export the report to pdf, an empty page is inserted at the end. I tried to modify the margins and the settings of the sections but without getting anything.
A very strange thing is that the blank page shows the writing: Pages 3 of 2 (absurd)
Some times just if a row(design rows) exeed the margin of the page you will get a blank page, try to check if this is happening.
Make sure report content isn't too close to (or go beyond) the right page margin.
After days of useless attempts, I solved by printing only the full pages.
Related
I am working on a crystal report where my contents are in the details section. the report looks fine in the design part, but when I take a print, I get extra white space in the top. how to remove it ???
my print copy
If that space is simply the Report header, suppress that section.
But most likely it's simply the page margin. To adjust that, go to File, Page Setup...
I am trying to generate a report in SSRS BIDS 2008 and export it to PDF format in my applicaiton. I have a main report with 20+ sub reports. On Exporting to PDF I am getting multiple blank pages in between.
I have googled up a few things like setting the Page Width, Margins, Keeptogether and Remove White Space. But still I am facing the issue.
Please help.
I believe that your Sub Report page size are not even, ensure that all are using the same page size E.g.: if you use Letter format as page size ensure all the Sub Report have the same Letter format. Also your Main report also must use the same page size. Hope this helps!
I am working on a project that prints bar-code labels using crystal reports in windows forms application by c#.
the problem is what happens when i am trying to print the report:
at the end of every page there are two free labels added to the printed report.
i want the report to be printed continuously without any gabs or free labels in between pages.
here is the report page setup and the printer preferences:
as the picture shows, my report has 4 bar-codes, and every page in the report has only 2 bar-codes, so i have 2 pages to be printed ... after every page there are the 2 free labels as the picture,
the question is how to prevent that and print the 4 bar-codes without any gabs?
This is due to the crystal report headers and footers.
Open your report and suppress all its headers and footers if you are not using them. (Suppress report header, report footer, page header and page footer)
Hope you have set your printer settings properly.
[solved]
i keep watching the number of pages at the report and offline printer
i found that the number of pages always get duplicated at the printer how ever i changed the height of the report page for example to be 1 cm there always one free page at the end of every page,
so i tried to change the width of the Details Size to be more width and make all margins equal 0
then it get worked fine as expected
I have generated a 9 page report using RDLC reports in C# VS 2010, but what I want is a vertical scroll bar so that I scroll down the pages like PDF instead of Page Next/ Previous button. I am searching and Googled it for answer but didn't find anything. I hope I am clear with my question. For any further detail please comment. Thank You.
Unless you force your report to a single page, I'm not sure if there's a way to do what you want. See Hiding the page scroll control in a Reporting Services report for something similar. Is it a requirement that you view the report using the RDLC report viewer? Something I have done before is use the report viewer to generate my report but I export it as a pdf and display it to the user using some other method/control. For example, once the report is loaded you can call the code below.
byte[] bytes = reportViewer1.LocalReport.Render("PDF");
MemoryStream ms = new MemoryStream(bytes);
Depending on your application, use the memory stream or the byte array to display the pdf in a different control with a scrollbar. That way you aren't limited by the report viewer page navigation buttons.
Incase you are willing to only display report then you can change report page width.but to print your report either you would require specified page size or convert report to else format.you can set page size from here crystal report=>design=>page setup.
I'm working on a WinForms program in C# which uses a ReportViewer control to display a fairly large *.rdlc report. The report was recently upgraded to the 2008 version, and now displays what should be 80+ pages as a single page and cuts off the bottom. It only seems to happen on one specific report, though it works fine in print preview and exports to PDF OK.
It may be that the report is just too long?
The only thing I've come across on Google suggested making all the cell KeepTogether properties true, which didn't help.
Open Your .rdlc file
goto Report-->ReportProperties-->Layout
Adjust your height,width,top,bottom