Set custom PageSize in PDF for SSRS

Is it possible to render the PDF in a custom page size? We are trying to set the page size at exactly 4.5 x 9.5 inches, and other one at 5 x 10 inches.

According to the documentation, Aspose.PDF for SSRS supports only a few page sizes, and does not seem to support custom sizes:

RS designer does not support the setting of common page size such as A4, B5, Letter and so on. With Aspose.Pdf for Reporting Services, you can get it as the following example.

Parameter Name: PageSize

Date Type: String

Values supported: A0,A1,A2,A3,A4,A5,A6,B5,Letter,Legal,Ledger,P11x17

As a side question, what is best option to print the PDF rendered by SSRS? Use SSRS itself to print the rendered page, or use Aspose.PDF for SSRS to print the document?

Hello Francis,

Thanks for considering Aspose.

I'm sorry to inform you that generation of PDF documents in custom page size is currently not supported by Aspose.Pdf for SSRS. But I've queried from our development team to check with them if we can support this feature or not and soon you will be updated with the status of implementation.

Regarding your second query, I would recommend you to use Aspose.Pdf for SSRS because it offers lots of rich features that are not available in Report server it self. Some of the features include, adding XMP Metadata, PDF conformance, generation List Section, Page Rotation Angle, generation of TOC, List of Tables and Figures, Footnotes/Endnotes and many more. For more information, please visit Features.

Also visit the following links Configure Aspose.Pdf for Reporting Services and Expand Report Item's Properties

Hi,

Thanks for considering Aspose.

After discussing the scenario with our development team, I'm pleased to inform you that, we've planned to support the feature of "setting custom PageSize of PDF for SSRS" in our future releases and I've logged this requirement as PDFREP-11410 in our issue tracking system. We would look into the details of this requirement and will keep you updated with the status of implementation.

Your patience and understanding is greatly appreciated in this regard.

Thank you for your fast response. You guys are really fast!

Regarding my second query, my question was really about whether Aspose.PDF for SSRS allows for direct printing or silent printing of PDF document (without using the UI) rendered via the tool.

So if we render SSRS document via PDF and print without displaying the PDF document on screen (no UI), is this possible or do you have suggestion for this?

Hi,

Aspose.Pdf for SSRS is an extension of Microsoft SQL Server Reporting Services. Once you have installed it and properly configured it, you can generate the PDF documents using it from Report Server or from Visual Studio project. You can also generate the PDF documents when using Aspose.Pdf for SSRS with Report Viewer in local mode.

Regarding your query over setting Page size, our development team is working over this requirement. Beside this, in RS report designer, the tool allows user or developer to set the page size for RDL report, and Aspose.Pdf for SSRS could automatically translate the page size to Point unit, so do you think working this way can fulfill your requirements.

Dear Francis,

You can use "Page Size" property of the rdl/rdlc document to set up document page size, which will be recognized by Aspose.Pdf for SSRS extension and used as page size. (Don't forget to set up "Margins" to get desirable document output).

Also you can use predefined sizes for standard document sized such as A0, A1, A2, A3, A4. You should create report parameter (or change extension config, in such case changes will affect all extension generated documents). You can follow this link for more details.

http://www.aspose.com/documentation/ssrs-rendering-extensions/aspose.pdf-for-reporting-services/pagesize.html

Also please take a look on the example, attached to this post.

Thanks