|
|
@@ -692,7 +692,7 @@ namespace UAS_LabelMachine
|
|
|
//打印一张空白标签
|
|
|
if (LabelSpace.Checked && PrintBlankLabel)
|
|
|
{
|
|
|
- Print.BarTender.SinglePrint(EmptySingleFormat, SingleLabelParam, pib_id);
|
|
|
+ Print.BarTender.SinglePrint(EmptySingleFormat, SingleLabelParam, "-1");
|
|
|
}
|
|
|
Print.BarTender.SinglePrint(SingleFormat, SingleLabelParam, pib_id);
|
|
|
}
|
|
|
@@ -1138,12 +1138,12 @@ namespace UAS_LabelMachine
|
|
|
//打开空标签文件
|
|
|
if (EmptySingleFormat == null)
|
|
|
{
|
|
|
- EmptySingleFormat = engine.Documents.Open("Empty.btw");
|
|
|
+ EmptySingleFormat = engine.Documents.Open(System.Windows.Forms.Application.StartupPath+ @"\Empty.btw");
|
|
|
EmptySingleFormat.PrintSetup.PrinterName = SingleLabelPrinter.Text;
|
|
|
}
|
|
|
if (EmptyOutFormat == null)
|
|
|
{
|
|
|
- EmptyOutFormat = engine.Documents.Open("Empty.btw");
|
|
|
+ EmptyOutFormat = engine.Documents.Open(System.Windows.Forms.Application.StartupPath + @"\Empty1.btw");
|
|
|
EmptyOutFormat.PrintSetup.PrinterName = OutBoxPrinter.Text;
|
|
|
}
|
|
|
}
|