Problem with PrintToDotMatrixPrinter-Method
Posted: Tue Sep 14, 2010 4:33 am
Hello!
I want to print a report to a DotMatrix-printer without being prompted to choose a printer.
When i usually print a report i do it like: stiReport.Print(false, printerSettings); - disable to ShowPrintDialog option.
Using the DotMatrix-Printer i call: stiReport.PrintToDotMatrixPrinter(printerSettings.PrinterName);
But the PrintDialog appears all of the time. I am being asked to chose a printer even though i've already called to method with the appropriate printername.
I hope you can help me on this.
best regards
joro
I want to print a report to a DotMatrix-printer without being prompted to choose a printer.
When i usually print a report i do it like: stiReport.Print(false, printerSettings); - disable to ShowPrintDialog option.
Using the DotMatrix-Printer i call: stiReport.PrintToDotMatrixPrinter(printerSettings.PrinterName);
But the PrintDialog appears all of the time. I am being asked to chose a printer even though i've already called to method with the appropriate printername.
I hope you can help me on this.
best regards
joro