Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
315
Customize Print JobName
posted

I'm using Infragistics.Windows.Reporting.Report to print simple reports. Now I noticed that the JobName in the printers queue always has the same ugly name ("Infragistics.Windows.Reporting.Report+Paginator") and I can't figure out how to set my own.

My code:

var report = new Report();
report.ReportSettings.Margin = new Thickness(55);
report.ReportSettings.HorizontalPaginationMode = HorizontalPaginationMode.Scale;
report.PageHeader = ...; // Header data
report.PageHeaderTemplate = ...; // Header template
report.PageFooter = ...; // Footer data
report.PageFooterTemplate = ...; // Footer template
report.Section = new EmbeddedVisualReportSection(... /* some Control */);
report.Print(true, false);

 

Any hint? Thanks in advance!

Patrick