Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

ssrs 2008 export to word and pdf Expand / Collapse
Author
Message
Posted Monday, December 16, 2013 1:33 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Yesterday @ 4:39 PM
Points: 300, Visits: 342
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?
Post #1523414
Posted Tuesday, December 17, 2013 12:22 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 4:35 AM
Points: 12,208, Visits: 9,172
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).




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1523546
Posted Tuesday, December 17, 2013 8:08 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Yesterday @ 4:39 PM
Points: 300, Visits: 342
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?
Post #1523711
Posted Tuesday, December 17, 2013 1:05 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 4:35 AM
Points: 12,208, Visits: 9,172
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




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1523867
Posted Tuesday, December 17, 2013 1:59 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Yesterday @ 4:39 PM
Points: 300, Visits: 342
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?
Post #1523880
Posted Tuesday, December 17, 2013 2:03 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 4:35 AM
Points: 12,208, Visits: 9,172
wendy elizabeth (12/17/2013)
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?


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.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1523882
Posted Wednesday, December 18, 2013 8:00 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Yesterday @ 4:39 PM
Points: 300, Visits: 342
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?
Post #1524149
Posted Wednesday, December 18, 2013 1:03 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 4:35 AM
Points: 12,208, Visits: 9,172
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




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1524329
Posted Thursday, December 19, 2013 9:19 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Thursday, April 17, 2014 12:30 PM
Points: 572, Visits: 2,070
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.

Post #1524671
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse