[FIX] hw_drivers: Update windows printer driver

Fix version of GHostscript

closes odoo/odoo#128906

Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
lejeune quentin 2023-07-18 14:20:47 +00:00
parent a649270088
commit 97b8edef97
2 changed files with 3 additions and 3 deletions

View File

@ -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}',

View File

@ -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