from escpos.printer import Usb p = Usb(0x0416, 0x5011, 0, 0x81, 0x03) p.text("=================\\n") #p.image("./barcode/barcode.png") #p.barcode(\'