Rdlc Export To Pdf Landscape

Posted by admin

Our old reporting server is running SQL Server 2005 Reporting Services. Our new reporting server is running SQL Server 2012 Reporting Services. On our old server we have the following export options: On our new server we have these options: We would like to have PDF in Landscape but have no idea on how to get that implemented. I've wrestled with a RSReportServer.Config with no luck after restarting services. I did find out, by digging pretty deep, that those options are hard coded int the.ASPX file.

My report properties are set to Width 11in and Height 8.5in. My body properties are set to Width 10in and Height 7.5in and the margins are 0, but the report always. Rdlc to pdf landscape 2015 To export your reports to PDF format in landscape format. Rdlc to pdf landscape I have an RDLC file with the page layout set to.

Rdlc Export To Pdf Landscape

I don't want to have to monkey with that. There has to be a more straightforward, 'legit' way to fix this. Has anyone been able to add that feature to the new dropdown?

Hi Cowski, In Reporting Services, the orientation mode of a report is determined by the page height and page width settings of the report. To achieve your goal, you can customize the device information settings for the PDF rendering extension in the RSreportserver.config file. Besides, you need to add an extra entry for the PDF rendering extension. They should be like: PDF in Landscape Mode PDF 8.5in 11in PDF in Portait Mode PDF 11in 8.5in References: (a sample available in the end of the article) Regards, Mike Yin TechNet Community Support. Hi Cowski, There is no need to restart IIS because Reporting Services doesn’t depend on IIS since SQL Server 2008. Please restart the Reporting Services service through the Reporting Services Configuration Manager and check the issue again. Besides, please note that there is no slash in the end of the “Type” configuration: And, there is an extra tag in the end of each PDF rendering extension entry.

Regards, Mike Yin TechNet Community Support. Hi Cowski, In Reporting Services, the orientation mode of a report is determined by the page height and page width settings of the report. To achieve your goal, you can customize the device information settings for the PDF rendering extension in the RSreportserver.config file. Besides, you need to add an extra entry for the PDF rendering extension. They should be like: PDF in Landscape Mode PDF 8.5in 11in PDF in Portait Mode PDF 11in 8.5in References: (a sample available in the end of the article) Regards, Mike Yin TechNet Community Support. Hi Cowski, There is no need to restart IIS because Reporting Services doesn’t depend on IIS since SQL Server 2008. Please restart the Reporting Services service through the Reporting Services Configuration Manager and check the issue again.

Besides, please note that there is no slash in the end of the “Type” configuration: And, there is an extra tag in the end of each PDF rendering extension entry. Regards, Mike Yin TechNet Community Support.

I am automating ReportViewer 10 in.net 4 to generate reports. When I am rendering as PDF I set the device info so that width and height are for landscape. When I open the pdf file in adobe and look at the print settings they do not reflect what I have set in the device info. Is this a limitation Adobe (ie it sets the page settings to last used by the app) or is there some other settings I need to do when rendering as PDF? I have run into a couple of issues where the ReportViewer control does not behave like SSRS (ie Cant use Parameter!ParmName.Label in ReportViewer - its always blank and there is no way to set it).

Is this one of those limitation deviceInfo = ' + 'PDF' + ' 11in' + ' 8.5in' + ' 0.0in' + ' 0.0in' + ' 0.0in' + ' 0.0in' + '. Can you also try setting the properties at the ReportViewer control? In the code where you might be calling the server report, and using the above stated deviceInfo, try using, and set the values at the ReportViewer control. We need to identify if the settings at ReportViewer are overridings the ones from SSRS, and this is the parent control from where you are calling the export functionality.

Chaitanya( ) Any documentation bug? Tell us about it. Please feel free to add any community comments in any of the MSDN/technet articles.

This posting is provided 'AS IS' with no warranties, and confers no rights. Thanks for this information. I have set my properties accordingly. However, I think my problem is a little more complicated. I am automating the report viewer control from a Windows service. I will be saving the pdf to the harddrive and the user may or may not open it in Adobe.

See More On Stackoverflow

There is no user interacting with the report viewer control. I am using the report viewer in local mode. See more on stackoverflow.

Give More Feedback

If they open it in adobe, the print settings are the same as they were the last time the settings were changed and a report was printed. I would LIKE the adobe print settings to be the same as the document it is opening instead. This problem seems to be about adobe and not about the sizes in the my rdl doc (now that I followed Alex Jean's directions - thanks alex!).