Merge branch 'master' into dependabot/github_actions/actions/setup-python-2.2.2
This commit is contained in:
commit
dcfb8fec30
|
@ -364,6 +364,7 @@ if _WIN32PRINT:
|
||||||
else:
|
else:
|
||||||
self.printer_name = win32print.GetDefaultPrinter()
|
self.printer_name = win32print.GetDefaultPrinter()
|
||||||
self.hPrinter = None
|
self.hPrinter = None
|
||||||
|
self.open()
|
||||||
|
|
||||||
def open(self, job_name="python-escpos"):
|
def open(self, job_name="python-escpos"):
|
||||||
if self.printer_name is None:
|
if self.printer_name is None:
|
||||||
|
|
Loading…
Reference in New Issue