4,816
社区成员
发帖
与我相关
我的任务
分享
testCrystalReport t= new testCrystalReport();
PrintDialog MyPrintDg = new PrintDialog();
if (MyPrintDg.ShowDialog() == DialogResult.OK)
{
t.PrintOptions.PrinterName = MyPrintDg.PrinterSettings.PrinterName;
t.PrintToPrinter(1, true, 1, 1);
}
不预览直接打印