Assume you have installed Adobe Reader
Under Powershell :
Dir D:\test\S10010025.pdf | Foreach-Object { Start-Process -FilePath $_.FullName –Verb Print }
Or for batch printing
Dir D:\test\*.pdf | Foreach-Object { Start-Process -FilePath $_.FullName –Verb Print }
Or
AcroRd32.exe /s /o /h /t “FULL_PATH_TO_PDF” “PRINTER NAME” “PRINTER DRIVER NAME” “PORT”
AcroRd32.exe /s /o /h /p “FULL_PATH_TO_PDF” for printing to default printer
Leave a Reply