I am trying to print pdf file silently from command line (Windows7)and this is what I am using, but I get "gswin32.exe has stopped working." error message.
gswin32c.exe -sDEVICE=mswinpr2 -dBATCH -dNOPAUSE -dNoCancel -sOutputFile="%printer%Samsung M2020 Series" "c:\test.pdf"
I tried the above in other machine, but same result.
The following line prompts the print dialogue box which I don't want.
gswin32c.exe -sDEVICE=mswinpr2 -dBATCH -dNOPAUSE -dNoCancel -sOutputFile=\\spool "c:\test.pdf"
Is it possible to print silently using ghostscript?
thanks,