在windows10中尝试使用EscaposPrinter python库打印收据时出现其他错误
我正在开发酒店账单系统,使用热敏打印机打印账单收据,但我被困在 [Errno None]其他错误 蟒蛇3.9 库:escaposprinter& libusb-1.0, 平台:Windows10 热敏打印机:xlab xp-58III在windows10中尝试使用EscaposPrinter python库打印收据时出现其他错误,python,thermal-printer,escpos,Python,Thermal Printer,Escpos,我正在开发酒店账单系统,使用热敏打印机打印账单收据,但我被困在 [Errno None]其他错误 蟒蛇3.9 库:escaposprinter& libusb-1.0, 平台:Windows10 热敏打印机:xlab xp-58III 从EscaposPrinter导入* 尝试: Epson=printer.Usb(0x0416、0x5011) text('Hello World') 爱普生切 例外情况除外,如e: 打印(“打印机错误:”,e)您能提供准确的代码吗?确切的产量是多少?此外,您的
从EscaposPrinter导入*
尝试:
Epson=printer.Usb(0x0416、0x5011)
text('Hello World')
爱普生切
例外情况除外,如e:
打印(“打印机错误:”,e)
您能提供准确的代码吗?确切的产量是多少?此外,您的变量值没有被引用。如果您有打印机供应商提供的串行端口设备驱动程序,您可以尝试其他库或直接使用PySerial。我已通过post编辑,请提供建议