Render the report in .NET 8.0 and start the print workflow with settings supplied by the application.

Printing from code. Load and render the report, apply the printer settings, and start the print workflow from application code.
var report = new StiReport();
report.Load(@"Reports\TwoSimpleLists.mrt");
report.PrintWithWpf();
PrintWithWpf() renders the report if needed and opens the WPF print dialog, so the document is printed with the platform's native printing support. It is the WPF counterpart of the viewer's print command.

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