Printing: function (sender, args);
sender. Event source.
args. Event information.
The Printing event occurs on selecting the Print item in the main menu.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox, which uses the express report named eaxAnalyzer as the source (see Example of positioning the ExpressBox component). Add a handler for the Printing event:
expressBox.getRibbonView().Printing.add(function (sender, args) { reportBox.showPrintPreview(eaxAnalyzer); })
After executing the example selecting the Print item in the main menu opens a page where the user can preview printed report version.
See also: