diff --git a/addons/hw_drivers/iot_handlers/drivers/PrinterDriver_W.py b/addons/hw_drivers/iot_handlers/drivers/PrinterDriver_W.py index c90f9f9357f..c4b31b5f165 100644 --- a/addons/hw_drivers/iot_handlers/drivers/PrinterDriver_W.py +++ b/addons/hw_drivers/iot_handlers/drivers/PrinterDriver_W.py @@ -107,7 +107,7 @@ class PrinterDriver(Driver): printer = self.device_name args = [ - "-dPrinted", "-dBATCH", "-dNOSAFER", "-dNOPAUSE", "-dNOPROMPT" + "-dPrinted", "-dBATCH", "-dNOPAUSE", "-dNOPROMPT" "-q", "-sDEVICE#mswinpr2", f'-sOutputFile#%printer%{printer}', diff --git a/setup/win32/setup.nsi b/setup/win32/setup.nsi index 7f9edca4fc3..1eea7e243c8 100644 --- a/setup/win32/setup.nsi +++ b/setup/win32/setup.nsi @@ -351,8 +351,8 @@ Section $(TITLE_Ghostscript) SectionGhostscript VAR /GLOBAL ghostscript_exe_filename VAR /GLOBAL ghostscript_url - StrCpy $ghostscript_exe_filename "gs1000w64.exe" - StrCpy $ghostscript_url "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1000/$ghostscript_exe_filename" + StrCpy $ghostscript_exe_filename "gs10012w64.exe" + StrCpy $ghostscript_url "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10012/$ghostscript_exe_filename" DetailPrint "Downloading Ghostscript" inetc::get "$ghostscript_url" "$TEMP\$ghostscript_exe_filename" /POPUP