急求!!C#实现斑马105SL条码打印机的标签打印【标签有不同大小】请大侠们帮帮忙! 在线等待.....
有代码实现过程更加好...
有代码实现过程更加好...
解决方案 »
- C# 传值
- 如何让C#开发环境也允许后期绑定,比如应该设置VS.NET中的哪个选项以达到此目的。就像VB.NET中.vb文件开头的这个“Option Strict Off”所实现的后期绑定功能一样。
- udp如何 接收 大量 数据
- 如何在水晶报表中拖放全局变量并打印?
- 怎样将应用程序加到托盘里面去!!!
- CancelEventHandler委托
- textbox逐行复制到剪贴板
- C#程序报404错误
- C#中出现“集合已修改;可能无法执行枚举操作”错误,怎么解决
- sophies,感谢你的VS7,虽然我down得有点慢,送88分,祝你发发发,自已来拿。
- 大家帮我看看这段程序究竟有没有问题
- 上传权限问题
以下是示例,条码机型号不同[DllImport("TSCLib.dll")]
public static extern void openport(string PrinterName);
[DllImport("TSCLib.dll")]
public static extern void clearbuffer();
[DllImport("TSCLib.dll")]
public static extern void windowsfont(int a,int b,int c,int d,int e,int f,string g,string h);
[DllImport("TSCLib.dll")]
public static extern void closeport();
[DllImport("TSCLib.dll")]
public static extern void setup(string a,string b,string c,string d,string e,string f,string g);
[DllImport("TSCLib.dll")]
public static extern void barcode(string a,string b,string c,string d,string e,string f,string g,string h,string i);
[DllImport("TSCLib.dll")]
public static extern void printerfont(string a,string b,string c,string d,string e,string f,string g);
[DllImport("TSCLib.dll")]
public static extern void sendcommand(string a);
[DllImport("TSCLib.dll")]
public static extern void printlabel(string a,string b);
[DllImport("TSCLib.dll")]
public static extern void formfeed();
[DllImport("TSCLib.dll")]
public static extern void nobackfeed();
[DllImport("TSCLib.dll")]
public static extern void downloadpcx(string a,string b);
http://www.ync-tech.com/注:
使用前请先安装打印机驱动:
http://www.seagullscientific.com/downloads/drivers/archive/7.2/7.2/Zebra_7.2.exe