Rendering
I have a ssrs report which gets properly rendered as I wanted when I view in Internet Explorer but when I export it in PDF format, it doesnt. The report is of 6 pages when rendered in IE but 16 in PDF. The parent group , child group and detail remain together
in IE but they do not in PDF. Please give me some suggestions on why this is happening and how can I get the same when I see it in IE and in PDF or any other format.
Thanks,
October 4th, 2010 4:47pm
1:Check the Report Body properties, which means it should be greater than 8.5' X 11.0' if it is Portrait and 11.0' X8.5' if it is landscape.
2:Try changing properties of Body like below
Left: 0.25 inch
Right: 0.25 inch
Top:0.5 inch
Bottom:0.5 inch
However the no of pages which you see in I.E can't be same as PDF. I.E is soft page breaks which will not consider the report layout, where as PDF is hard page breaks which considers the report layout like Left, Right, Top and Bottom.
Nanda - Misys Software Solutions,Bangalore
Free Windows Admin Tool Kit Click here and download it now
October 4th, 2010 6:51pm
Hi,
As Nanda posted, Reporting Services use different rules in pagination: Physical pagination is used by the print control (include export to PDF) and logical pagination is used by
the HTML. The physical page size is controlled by the PageSize properties of
Report and the logical page size is controlled by the InteractiveSize properties of
Report.
However, if just specify the same size to
PageSize and InteractiveSize, we will get more pages when export to PDF because the
Margin properties of Report are only applied in physical pagination. To get the same page numbers, one workaround is decrease the
InteractaveSize. For example, if the Top and Bottom margin properties are both 1, the
Height property in PageSize is 11, we need specify 9 (11-1-1) to the
Height property in InteractiveSize. After that, the report will render in IE or PDF in the same page number.
In addition, if there are some blank pages generated in rendering, please ensure the
Size properties of Body are not greater than InteractiveSize and
PageSize properties of Report.
For more information about Logical and Physical Pagination Rules in Reporting Services, please see:
http://blogs.msdn.com/b/bwelcker/archive/2005/08/19/454043.aspx
Thanks,
Tony Chain
Tony Chain
October 7th, 2010 9:44am