web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / AXStart / Printing PDF documents

Printing PDF documents

Dick Wenning Profile Picture Dick Wenning 8,705 Moderator

I had some trouble generated PDF in AX 2012 last months. The issue is A4 paper size, but also printing in landscape. I start looking in AX, Visual studio; everything was fine, but the PDF documents still suXX. On the end I found a solution in SSRS and it was working.

reportPDF

So how did we do this. The answer is in the config files of the SSRS server. You have to search the internet on the bush word Rendering

http://technet.microsoft.com/en-us/library/ee210530.aspx

If you have read this link, you will say ok, can someone give me just an copy with the config file adaptions. I don’t want to understand it as long it works. And we are lucky

http://www.bictt.com/blogs/bictt.php/2009/03/17/sql-reporting-services-render-pdf-in-a4-1

and here is a copy of my adaption.

<Extension Name=”PDF (A4 Landscape)” Type=”Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer,Microsoft.ReportingServices.ImageRendering”>
<OverrideNames>
<Name Language=”en-US”>PDF in A4 Landscape</Name>
</OverrideNames>
<Configuration>
<DeviceInfo>
<OutputFormat>PDF</OutputFormat>
<PageHeight>8.27in</PageHeight>
<PageWidth>11.69in</PageWidth>
</DeviceInfo>
</Configuration>
</Extension>
<Extension Name=”PDF (A4 Portrait)” Type=”Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer,Microsoft.ReportingServices.ImageRendering”>
<OverrideNames>
<Name Language=”en-US”>PDF in A4 Portrait</Name>
</OverrideNames>
<Configuration>
<DeviceInfo>
<OutputFormat>PDF</OutputFormat>
<PageHeight>11.69in</PageHeight>
<PageWidth>8.27in</PageWidth>
</DeviceInfo>
</Configuration>
</Extension>

The location of your adaption:

reportPDF2

Comments

*This post is locked for comments