diff --git a/src/escpos/printer.py b/src/escpos/printer.py index 47834f6..7a0f7f3 100644 --- a/src/escpos/printer.py +++ b/src/escpos/printer.py @@ -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: