A report can be sent to the printer directly from code, without the viewer. This example renders a report and prints it as soon as it is ready.

Printing from code. Load and render the report, apply the printer settings, and start the print workflow from application code.
var report = new Stimulsoft.Report.StiReport();
report.loadFile("../reports/SimpleList.mrt");

report.renderAsync(function () {
    report.print();
});
report.print() opens the browser's print dialog for the rendered document. Because it is called inside the renderAsync callback, the report is guaranteed to be fully rendered before printing starts.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.