Category / Section
Silent printing in JS ReportViewer
1 min read
Silent printing in JS ReportViewer
This article describes how to change print action in Syncfusion ReportViewer control. You can also refer to the Getting Started with JavaScript ReportViewer from the User Guide, available in the following link:
https://help.syncfusion.com/js/reportviewer/getting-started
Changing print action:
The JavaScript ReportViewer control allows you to change print action when you print the report. You can change the print action with the help of the printOption enum property as shown in following code example.
$(function () { $("#container").ejReportViewer( { reportServiceUrl: "../api/ReportApi", processingMode: ej.ReportViewer.ProcessingMode.Remote, reportPath: "~/ReportTemplate/Sales Dashboard.rdl", PrintOptions: ej.ReportViewer.PrintOptions.None }); });
PrintOption types:
Default | This is default print action of new popup window will be opened while printing. |
NewTab | New tab is open while print. |
None | Silent printing. |