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

Merge branch 'master' into dependabot/github_actions/actions/checkout-2.3.5

This commit is contained in:
Patrick Kanzler
2021-10-30 17:57:50 +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: