|
|
@@ -19,7 +19,7 @@ namespace UAS_MES.PublicMethod
|
|
|
/// </summary>
|
|
|
/// <param name="Url"></param>
|
|
|
/// <param name="LabelCode"></param>
|
|
|
- public static void CodeSoft(ApplicationClass lbl, string LabelName, string LabelCode, string PrinterName, string SnCode)
|
|
|
+ public static void CodeSoft(ApplicationClass lbl, string LabelName, string LabelCode, string PrinterName, string SnCode,int PrintNum)
|
|
|
{
|
|
|
//打开模板路径
|
|
|
doc = lbl.Documents.Open(ftpOperater.DownLoadTo + LabelName);
|
|
|
@@ -41,7 +41,7 @@ namespace UAS_MES.PublicMethod
|
|
|
//保存本次赋值进行打印
|
|
|
doc.Save();
|
|
|
doc.Printer.SwitchTo(PrinterName);
|
|
|
- doc.PrintDocument();
|
|
|
+ doc.PrintDocument(PrintNum);
|
|
|
doc.Close();
|
|
|
}
|
|
|
}
|