mirror of
https://github.com/python-escpos/python-escpos
synced 2025-12-02 09:43:30 +00:00
add function to print full images including resizing and fix band printing
This commit is contained in:
committed by
Patrick Kanzler
parent
1614298863
commit
598c893943
@@ -43,7 +43,7 @@ class Usb(Escpos):
|
||||
""" Search device on USB tree and set it as escpos device """
|
||||
self.device = usb.core.find(idVendor=self.idVendor, idProduct=self.idProduct)
|
||||
if self.device is None:
|
||||
print("Cable isn't plugged in")
|
||||
raise USBNotFoundError("Device not found or cable not plugged in.")
|
||||
|
||||
check_driver = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user