Send raw ZPL to Zebra printer via USB

后端 未结 9 1992
死守一世寂寞
死守一世寂寞 2020-12-07 23:14

Typically, when I plug in my Zebra LP 2844-Z to the USB port, the computer sees it as a printer and I can print to it from notepad like any other generic printer. However, m

9条回答
  •  春和景丽
    2020-12-07 23:44

    You can use COM, or P/Invoke from .Net, to open the Winspool.drv driver and send bytes directly to devices. But you don't want to do that; this typically works only for the one device on the one version of the one driver you test with, and breaks on everything else. Take this from long, painful, personal experience.

    What you want to do is get a barcode font or library that draws barcodes using plain old GDI or GDI+ commands; there's one for .Net here. This works on all devices, even after Zebra changes the driver.

提交回复
热议问题