rasbian免驱动连接打印机

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