Merge pull request #462 from AlejandroJaez/patch-1
add call to self.open() to get physical printer works.
This commit is contained in:
commit
1e3024eaa9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue