To print a PDF from the command line using Adobe Reader you just need to prompt one single command into the CMD
> "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" /t "path/file.pdf"
The first part specifies the location of Acrobat Reader (AcroRd32.exe), if you don't know where it actually is installed in your computer you can search for it using Windows search.
The second part is /t and it reefers to printing a file suppressing the print dialogue box.
In the third part, the full path of where is the PDF file we want to print.
More info:
http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Acrobat10_SDK_HTMLHelp&file=DevFAQ_UnderstandingSDK.22.31.html
I know this is pretty stupid, but I hope I can do something useful with it and create a batch printing solution.
- victor -
No comments:
Post a Comment