10 2017 档案

摘要:"All Image Files|*.bmp;*.ico;*.gif;*.jpeg;*.jpg;*.png;*.tif;*.tiff|""Windows Bitmap(*.bmp)|*.bmp|""Windows Icon(*.ico)|*.ico|""Graphics Interchange Fo 阅读全文
posted @ 2017-10-25 15:27 dyfisgod 阅读(380) 评论(0) 推荐(0)
摘要:代码网上有的是,多是需要窗体焦点直接show出扫码信息(usb,模拟键盘,hook) 怎样才能真的无焦点获取? 用串口方式 usb转串口 以接收串口通讯消息的方式获取扫码信息 阅读全文
posted @ 2017-10-19 10:38 dyfisgod 阅读(1202) 评论(0) 推荐(0)
摘要:使用 瑞工 RG-P80A/B型号 小票打印机时(C#代码调用系统默认打印机打印) 遇到一个很坑爹的问题 首行总是乱码 …… 折腾了半天,解决之 将首行置为空行,即在打印内容前先打印一空行即可 阅读全文
posted @ 2017-10-16 15:05 dyfisgod 阅读(305) 评论(0) 推荐(0)
摘要:1 sr = new StringReader(str); 2 PrintDocument pd = new PrintDocument(); 3 pd.PrintController = new System.Drawing.Printing.StandardPrintController(); 4 ... 阅读全文
posted @ 2017-10-13 11:05 dyfisgod 阅读(255) 评论(0) 推荐(0)