-1
我用下面的代码,直接在C#中的winform打印文档如何直接在C#文档打印
string fileName = @"D:\filename11" + ext; // Here ext is file extension
PrintDocument printDoc = new PrintDocument();
printDoc.DocumentName = fileName;
printDoc.Print();
此代码不工作,打印空白页。请帮助