python-escpos源码:
https://github.com/python-escpos/python-escpos
import escpos.printer as ept
pt = ept.Usb(0x0483, 0x070b, 0, out_ep = 0x02)
pt.text('hhh')
pt.cut()
© stonechina0616 | Powered by LOFTER