Problems with print settings
Posted: Mon Oct 11, 2010 3:56 am
I have to print many reports in one time.
The problem is : the report control don't save all the print options (color, ...)
For exemple i want to print 2 black and white reports:
Only the first document was in black and white.
I try to use the dot.net base print dialog (System.Windows.Forms.PrintDialog) :
The document wasn't in black an white.
Is there any tips to save ALL the print settings for other reports printings ?
The problem is : the report control don't save all the print options (color, ...)
For exemple i want to print 2 black and white reports:
Code: Select all
StiOptions.Print.StorePrinterSettingsInReportAfterPrintDialog = true;
report.Print(true);
report.Print(false);
I try to use the dot.net base print dialog (System.Windows.Forms.PrintDialog) :
Code: Select all
PrintDialog prntDiag = new PrintDialog();
prntDiag.ShowDialog();
report.Print(false,prntDiag.PrinterSettings);
Is there any tips to save ALL the print settings for other reports printings ?