浏览代码

去doc.save()方法

Hcsy 8 年之前
父节点
当前提交
552507c7e1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UAS-MES/PublicMethod/Print.cs

+ 1 - 1
UAS-MES/PublicMethod/Print.cs

@@ -104,7 +104,7 @@ namespace UAS_MES.PublicMethod
             }
             LogManager.DoLog(sb.ToString());
             //保存本次赋值进行打印
-            doc.Save();
+            //doc.Save();
             doc.Printer.SwitchTo(PrinterName);
             doc.PrintDocument(PrintNum);
             LogicHandler.DoCommandLog(iCaller, User.UserCode, "", User.UserLineCode, User.UserSourceCode, "打印", "成功打印", SnCode, "");