Auto printing pdf files using vb script
Hi,
I would like to know if anyone has a script for printing pdf files from a network printer?
I tried creating a bat file but that would not print.
Below is my script
option explicit
Dim acroAP As New Acrobat.AcroPDDoc
Dim wb 'le classeur
Set acroAP = CreateObject("Acrobat.application")
acroAP.Visible = False
Set Wb = acroAP.document.Open("C:\test\Time.pdf")
Wb.document(1).PrintOut ,,,,"Adobe PDF",True,,"c:\test\Time.pdf"
wb.close false
acroAP.quit
Set Wb = Nothing
Set XlApp = Nothing