[FIX] hw_drivers: Update windows printer driver

Fix version of GHostscript

closes odoo/odoo#129051

X-original-commit: 97b8edef9750fa00f1c5d5e4cfcd5141471270ec
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
lejeune quentin
2023-07-20 05:03:02 +02:00
parent fef1ce7eda
commit 3d15c2fe05
2 changed files with 3 additions and 3 deletions
@@ -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}',
+2 -2
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