c# 向驱动打印机发送命令打开钱箱

引用的dll

链接: https://pan.baidu.com/s/1MjwmfvBCPTBq1QNapKzDmg 提取码: 9wuf 

 

[DllImport("Drawcash.dll")]
private static extern bool OpenDriverCash2(int code1, int code2, int code3, int code4, int code5, string printerName);

 

调用:

OpenDriverCash2(27,112,0,128,128, "打印机名称");

posted @ 2019-03-11 17:04  冰封一夏  阅读(1813)  评论(1编辑  收藏  举报
HZHControls控件库官网:http://hzhcontrols.com