|
|
@@ -222,7 +222,7 @@ namespace UAS_MES.Make
|
|
|
}
|
|
|
//判定通过进行打印
|
|
|
//doc = lbl.Documents.Open(PrintLabel.Text);
|
|
|
- if (Print.CodeSoft(Tag.ToString(), lbl, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), Printer.Text, inputValue.Text, int.Parse(printNum.Text),ms_makecode.Text,pr_code.Text,giftBox.Checked?"彩盒标":"机身标","-1",out errorMessage))
|
|
|
+ if (Print.CodeSoft(Tag.ToString(), ref lbl, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), Printer.Text, inputValue.Text, int.Parse(printNum.Text),ms_makecode.Text,pr_code.Text,giftBox.Checked?"彩盒标":"机身标","-1",out errorMessage))
|
|
|
{
|
|
|
//按照打印张数打印
|
|
|
OperateResult.AppendText("<<打印成功\n", Color.Green);
|
|
|
@@ -254,7 +254,7 @@ namespace UAS_MES.Make
|
|
|
return;
|
|
|
}
|
|
|
//doc = lbl.Documents.Open(PrintLabel.Text);
|
|
|
- if (Print.CodeSoft(Tag.ToString(), lbl, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), Printer.Text, inputValue.Text, int.Parse(printNum.Text),ms_makecode.Text,pr_code.Text,"卡通箱标","-1",out errorMessage))
|
|
|
+ if (Print.CodeSoft(Tag.ToString(), ref lbl, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), Printer.Text, inputValue.Text, int.Parse(printNum.Text),ms_makecode.Text,pr_code.Text,"卡通箱标","-1",out errorMessage))
|
|
|
{
|
|
|
//判断通过,打印
|
|
|
OperateResult.AppendText("<<打印成功\n", Color.Green);
|