Printing PDF files from vbscript
I want to print some pdf files using a simple vbscript running on XP. I tried this and it didn't work:
Set objAcroPDF = CreateObject("AcroPDF.PDF")
objAcroPDF.LoadFile("C:\D2\Scanner\test.pdf")
objAcroPDF.PrintAll
Set objAcroPDF = Nothing
I got the script from this website.
http://www.aspfree.com/c/a/Windows-Scripting/Printing-Documents-in-WSH/4/
But anyway, it doesn't work. Maybe it used to work and adobe changed
something or I am doing something wrong.
So my question is, how do I print pdf documents from vbscript.
I have Acrobat 9 standard installed, and so will all the users of this script.
This is vbscript running on the client.