//需添加自定义的一个类,此类的源代码已加至本博客中了,可自行进行封装成DLL后引用。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TSB_Print.Class
{
/// <summary>
/// UPC 打印类
/// </summary>
class UpcBarCode
{
<span style="white-space:pre"> </span>#region 属性
private int _Left;
/// <summary>
/// 贴纸起始点距离左边距离
/// </summary>
public int Left
{
get { return _Left; }
set { _Left = value; }
}
private int _Top;
/// <summary>
/// 贴纸起始点距离上边距离
/// </summary>
public int Top
{
get { return _Top; }
set { _Top = value; }
}
private string _strPrintName;
/// <summary>
/// 打印机名称
/// </summary>
public string strPrintName
{
ge
斑马打印例子2 (不区分并口,USB)
最新推荐文章于 2021-04-28 17:17:44 发布