bar tender 打印
来源:互联网 发布:数据分析渠道选择 编辑:程序博客网 时间:2024/05/18 03:04
string btwModel = string.Empty;
//引擎开启
Engine engine = new Engine();engine.Start();
//路径
btwModel = @"D:\\barTender\\demo1.btw";LabelFormatDocument format = engine.Documents.Open(btwModel);
//份数
format.PrintSetup.IdenticalCopiesOfLabel = num;
//参数
format.SubStrings["name"].Value = name;format.SubStrings["sn"].Value = sn;
Messages messages;
int waitout = 10000;
//打印
Result nResult = format.Print(normal.GetTimeStamp(), waitout, out messages);
//模板释放、引擎关闭
format.PrintSetup.Cache.FlushInterval = CacheFlushInterval.PerSession;format.Close(SaveOptions.DoNotSaveChanges);
engine.Stop();
===============================================================
num:打印份数
name:参数1
sn:参数2
阅读全文
0 0
- bar tender 打印
- tender
- tender check document
- bar
- bar
- Zebra Bar-One 不能批量打印离散号码
- Bar Code (条形码) 打印出现乱码的问题解决方案
- 条形图打印程序(Bar Chart Printing Program)
- Love Me Tender (爱我,柔柔地)
- status bar 、action bar、navigation bar height
- System Bar (Status Bar Navigation Bar)
- progress bar
- Action Bar
- Action Bar
- 简称Bar
- Action Bar
- Action Bar
- Navigation Bar
- 7.5
- 数据库语句
- Redis在windows上的可视化应用
- 无用资源清除
- 这是第1条段子
- bar tender 打印
- 原型对象与原型链
- RecyclerView$LayoutManager.onMeasure(android.support.v7.widget.RecyclerView$Recycler, android.suppor
- 同一个Textview设置不同颜色等效果
- 二叉树基本操作,非递归中序、后序遍历二叉树
- unity开发 斗地主算法—比较两个手牌的大小
- 98. Validate Binary Search Tree
- Mongodb整合Maven,Spring项目参考
- bootstrap table 表头和内容没有对齐的问题