December 16, 2013 at 1:33 pm
In an existing ssrs 2008 r2 dashboard application, I have a questions about exporting a report to word versus a pdf file.
1. When the SSRS report export the report to word, the report header is made smaller and the report body entirely prints on one page. The report header is in one tablix and the details for the report are a separate tablix.
2. When the SSRS report is exported to PDF, the report header is the right length. However, the details of the report go to 2 pages instead of printing entirely on one page.
Thus can you tell me how to fix the following problems:
1. The report header on a word document print appropriately across the page. The size is not reduced.
2. The details portion of the report for the PDF document print entirely on one page.
Thus can you tell me how to fix these problems?
December 17, 2013 at 12:22 am
You should go to the report properties and check the size of the report. Make sure it fits on one page (A4 in Europe). This should be the same for Word and PDF.
Check the size of your body and make sure it is smaller than the (report size - margins).
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 17, 2013 at 8:08 am
So you are saying that the 'report' object is the largest object in ssrs report? Then the 'body' should be just slightly smaller than the 'report' object is correct?
December 17, 2013 at 1:05 pm
wendy elizabeth (12/17/2013)
So you are saying that the 'report' object is the largest object in ssrs report? Then the 'body' should be just slightly smaller than the 'report' object is correct?
Yes. Body + header + footer + margins <= report
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 17, 2013 at 1:59 pm
In your formula of
Body + header + footer + margins <= report,
can you give me examples of values you would use?
Is the body the actual data that is in the ssrs report?
December 17, 2013 at 2:03 pm
wendy elizabeth (12/17/2013)
In your formula ofBody + header + footer + margins <= report,
can you give me examples of values you would use?
Is the body the actual data that is in the ssrs report?
The body is the white canvas you see when designing a report.
So if you use A4 portrait, the height of the report is 29,7cm. If you have 1,5cm margins on each side, you have to subtract 3. So you have 26,7cm left for body.
If you have a header and/or footer, you have to subtract the heights from those as well. For example, we have 20cm left. The body can than have a maximum height of 20. If it becomes bigger, you might end up with extra pages when exported to PDf.
The same goes up for the width.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 18, 2013 at 8:00 am
can you tell me what A4 portrait means? is this letter size paper? If there are different paper sizes, can you tell me what they are?
December 18, 2013 at 1:03 pm
wendy elizabeth (12/18/2013)
can you tell me what A4 portrait means? is this letter size paper? If there are different paper sizes, can you tell me what they are?
Portrait is the orientation of the sheet of paper (you also have landscape).
A4 is the standard paper size that the "rest of the world" uses 😉
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 19, 2013 at 9:19 am
Annoyingly, the export to PDF will readjust your margins too. No matter what you do, your margins will always be one inch. Horrendous waste of paper and/or report real estate.
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply