本文介绍了使用C#中的winspool.drv从USB端口读取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我想使用pjl命令从usb打印机读取数据,有人说,我们可以使用winspool.drv文件进行读写。 所以每当我在winspool api上写命令,然后从打印机读取数据后,它将给出空值, 所以任何人都可以帮助我,我怎么读在打印机上写命令后直接输入数据。 提前谢谢。I want to read data from usb printer using pjl commands, some one said, we can read and write is using winspool.drv file.So whenever i write the commands on winspool api, and then after read a data from printer then it will gives the null value,so any one can help me, how i can read data directly after writing commands on printer.Thanks in advance.推荐答案 这篇关于使用C#中的winspool.drv从USB端口读取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-26 20:58