Hello,
I try to print a PDF with -print-to-default. The documents always prints but I get exitCode 1 all the time.
A batch to reproduce is:
H:\PdfTest>type run.bat
“C:\Program Files\SumatraPDF\SumatraPDF.exe” -new-window -silent test.pdf -print-to-default
if errorlevel 1 echo “RC greater or equal one”
H:\PdfTest>run
H:\PdfTest>“C:\Program Files\SumatraPDF\SumatraPDF.exe” -new-window -silent test.pdf -print-to-default
H:\PdfTest>if errorlevel 1 echo “RC greater or equal one”
“RC greater or equal one”
H:\PdfTest>