Unable to set paper size in SSRS (it always remain Letter) - reporting-services

I am making a report in SSRS (SQL Server 2012). The main report has many sub reports under it. All main and sub reports have the following properties:
Orientation: Landscape
Margins: Custom
Paper Size: A4
When I export the report in Word, it always shows Paper Size as "Letter" and I have to change it to "A4" in it. Orientation and Margins are correctly exported. What's the problem with Paper Size? Why doesn't it export correct Paper Size as defined in SSRS which is "A4" and always resort to "Letter"?
EDIT
I just created a new basic test report with one Tablix in it. It is also showing same behavior i.e. even though I have set Paper Size to A4 when I export the report in Word, it changes to "Letter".

Related

SSRS Export to Excel print format not default to 11x 17 and landscape

On my SSRS report I have set the Report Properties to Landscape, paper size to Tabloid and 17 width by 11 height with 0.25 margin. After I deployed the report and ran it on the web. Followed by exporting to Excel and printed it and it did not come out the format I have set on SSRS. Also, the I have bold the report lines by section based on the group and in Excel the bold report lines are not there.Please advise. I am thinking of moving to Crystal report might solve the problem. Any ideas. Thanks.
This isn't quite how page size works in SSRS. When you set the page size attribute, this will really only effect two things in SSRS.
How the report is displayed online. This is set via the Interactive Page Size setting, and really, only the height matters here.
Page Size sets the page size on the PDF export. We have this because PDFs are supposed to be a portable format, commonly used for printing.
Excel doesn't have this attribute as a part of the file. If you want to print to a specified page size/format, that's all handled at the time of printing by the print dialog.

Change SSRS Report page orientation Dynamically

I'm working on SSRS Reports.
Currently I am facing one issue. I have two tablix in a single Report. Now, Tablix1 or Tablix2 will be visible in either condition.
For example: I am passing One Flag as True then Tablix1 should be visible and for this layout would be Landscape and I am passing Flag Value as False then Tablix2 should be visible and for that layout would be Portrait.
For Show/Hide Tablix I am having solution but what about orientation?
How can I achieve this in SSRS Reports? Can anyone please help me or guide me?
Thanks in advance!!
I can only answer this question in regard to 2012, but it is not possible to achieve this with a single report. Please see my caveat below. In SSRS, you have two properties that determine the size of the report and where breaks should occur. InteractiveSize determines the size of the page when viewed in interactive formats (i.e., RDL or MHTML4.0). For all other report formats (e.g., Word, PDF, Excel, CSV), the PageSize determines the size of the page when viewed in those non-interactive formats.
In SSRS 2012 as well as earlier versions, expressions are not accepted in the InteractiveSize or PageSize fields. This means you cannot reference variables or parameters or field values.
Caveat
I took an existing report I had created with a page size of 8.5" (width) by 11" (height) that is normally two or three pages wide. I then created a blank report and added an 11" x 8.5" subreport pointing to my original report. When I exported this to PDF, I got an 11" (wide) by 8.5" (tall) PDF with the spacing and page breaks as you would expect for a landscape document. However, when I exported to Word, Microsoft Word crashed and burned. This may have something to do with the fact that the PDF exporter uses hard page breaks and the Word exporter uses soft page breaks. In any event, depending on what you need, you may be able to use a single report (i.e., a single place where the logic and datasets are set up once only) and then reference that report as a subreport elsewhere with a different page size. Just be sure to thoroughly test the result in any allowed export formats.
I hope this helps!

SSRS Page Widths

I have an SSRS report with an interactive size of 8.5/11, margins set at 0.25, the page size is set to 8.5/11, the body is 8.0w and the report is 8.0w, but for some reason when I export to excel it doesn't fit on a single page. Any ideas what could be causing this? I have other reports with the same setup that do fit to a page. Same printer setup as the other reports too.
Excel accounts for a very tiny amount of space for the grid separation. So when you export to excel the report is widened and lengthened slightly. Usually its not an issue but if you have a large number of columns in said report the number of separations is going to be greater pushing you over that tipping point. You can do 1 of 2 things. 1. Change the width of your report to account for this space added by excel or 2. export to PDF for printing purposes as it is not going to alter the width of your report and allow for your expected printing outcome.

How can I change the body size during report generation?

So I have 1 report, and I need two different version of it when I export to Excel and export to PDF.
I already know how to hide certain report items depending on it being PDF or Excel, but the other problem I'm having is that the table I'm hiding is very wide.
It's for the excel version of the report, which is fine. However, the PDF version of the report now has blank pages because the body of the report is bigger than portrait page size.
Any ideas?
After an exhaustive search, i've basically come to the conclusion that "no, you can't"

Page footer not appearing on Reporting Services 2005 exported-to-PDF report

I am trying to migrate a report from Excel to Reporting Services. The content is in place - each former spreadsheet is now a subreport in a report.
The trouble is, my formatting is misbehaving. The footer I've set will appear everywhere except in the production export:
It appears when I'm in BIDS' Preview mode
If I click "Print" from the BIDS Preview, it appears
It will appear in the Report Manager preview mode
It's there if I click "Print" from the Report Manager preview
If I export to Excel, Web archive, or TIFF from the Report Manager, it appears
However, it doesn't appear when I use the Report Manager's "Export" function to export to PDF. Which is the format I actually want it in. Sigh.
The footer is part of the outer report, with the subreports (hopefully) smaller than the content so they appear neatly on the one page each.
I'm guessing it's a border issue or something; here are the sizes:
Main report:
Report:
PageSize: 29cm, 21cm
InteractiveSize: 29cm,21cm
Margins: 1cm, 1cm, 1cm, 1cm
Body:
Size: 27cm,15cm
Footer:
Size: 27cm, 0.75265cm
Subreports:
Report:
PageSize: 27cm, 15cm
InteractiveSize: 27cm, 15cm
Margins: 0.25cm, 0.25cm, 0.25cm, 0.25cm
Body:
Size: 27cm, 9cm
I'm tearing my hair out. What have I done wrong?
The textboxes in the footer were set to size 10 font. The footer was too short to handle this, so it just dropped them. Increase the footer's height to 1cm, and suddenly they appear...