Automatically print pdf in folder
I highly recommend using Sumatra PDF, the only one printing then exiting easily.
You need to install a PDF Reader with the possibility to print from command line:
- Acrobat Reader DC
AcroRd32.exe /p <filename>
Open and go straight to the print dialog
- Foxit Reader
FoxitReader.exe /p <filename>
Print the document with default printer
- Sumatra PDF
SumatraPDF.exe -print-to-default -exit-when-done <filename>
Prints all files indicated on this command line to the system default printer. After printing, SumatraPDF exits immediately (check the error code for failure).