首页 > 其它 > Windows向打印机发送ESCAPE指令
2016
03-14

Windows向打印机发送ESCAPE指令

由于Windows屏蔽了硬件底层,因此VB完全可以不管是LPT还是USB,只要有打印机驱动,就可以操作打印机。至于发送ESCAPE命令,Windows提供了专门的API:

VB code
Private Declare Function Escape Lib "gdi32" (ByVal hdc As Long, ByVal nEscape As Long, ByVal nCount As……

最后编辑:
作者:第五维
这个作者貌似有点懒,什么都没有留下。