Example #1
0
 public static void PrintByPrinterName(TfrxReportClass report, string printerName)
 {
     report.ShowProgress             = false;
     report.PrintOptions.ShowDialog  = false;
     report.PrintOptions.PageNumbers = "";
     report.PrintOptions.Printer     = printerName;
     report.PrepareReport(true);
     report.PrintReport();
     report.ClearDatasets();
     report.ClearReport();
 }