c#如何用代码选择FastReport中的打印机?
c#如何用代码选择FastReport中的打印机?FastReportService.Instance.ShowReport(delegate(TfrxReport report) { report.MainWindowHandle = (int)this.Handle; report.PrintOptions.ShowDialog = true; report.PrintOptions.Printer = PrinterSettings.InstalledPrinters[2].ToString(); MessageBox.Show(report.PrintOptions.Printer);},null, GetDataSource("star.xml"), false, true, null,String.Format("{0}\\star.fr3", Application.StartupPath));
这样为什么不可以?请教...