1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

Merge pull request #462 from AlejandroJaez/patch-1

add call to self.open() to get physical printer works.
This commit is contained in:
Patrick Kanzler
2021-10-30 17:57:35 +02:00
committed by GitHub

View File

@@ -364,6 +364,7 @@ if _WIN32PRINT:
else:
self.printer_name = win32print.GetDefaultPrinter()
self.hPrinter = None
self.open()
def open(self, job_name="python-escpos"):
if self.printer_name is None: