With the one-touch PDF printing, you can have the PDF output open in the browser with the Print dialog.
Note: To learn how to provide one-touch printing in the PDF output with Standard Edition, see Custom Web Exporting. |
XML code. Paste in the XML view of the Web.config file inside the system.web section. |
Copy Code |
---|---|
<httpHandlers> <add verb="*" path="*.rdf.RdfItem" type="DataDynamics.ActiveReports.Web.Handlers.RdfHandler, ActiveReports.Web, Version=6.2.4209.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff"/> <add verb="*" path="*.rpx" type="DataDynamics.ActiveReports.Web.Handlers.RpxHandler, ActiveReports.Web, Version=6.2.4209.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff"/> <add verb="*" path="*.ActiveReport" type="DataDynamics.ActiveReports.Web.Handlers.CompiledReportHandler, ActiveReports.Web, Version=6.2.4209.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff"/> <add verb="*" path="*.ArCacheItem" type="DataDynamics.ActiveReports.Web.Handlers.WebCacheAccessHandler, ActiveReports.Web, Version=6.2.4209.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff"/> </httpHandlers> |
Note: You should update the Version and PublicKeyToken values to reflect the current version of ActiveReports installed on your machine. You can find the Version and PublicKeyToken values in the Global Assembly Cache (GAC), C:\WINDOWS\ASSEMBLY. |
Paste into .aspx source to the body section between the div tags |
Copy Code |
---|---|
<a href="MyReport.rpx?OutputFormat=PDF&Print=true" >Pdf print of rpx file</a> |
Note: For an rdf file, your link may look similar to the following. <a href="PdfPrintTest.rdf.RdfItem?OutputFormat=PDF&Print=true" >Pdf print of rdf file</a> |