[FIX] hw_drivers: Update windows printer driver
Fix version of GHostscript closes odoo/odoo#128906 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
parent
a649270088
commit
97b8edef97
|
@ -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}',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue