azdbacks
12-18-2003, 08:14 PM
I have a web link setup to a pdf. Using VB, I can open the the link using IE. Does anyone know how to automate printing the page from VB?
Thanks for the help.
Here is the code that I have so far:
Set Explorer = New SHDocVw.InternetExplorer
Explorer.Visible = True
Explorer.Navigate "http:\\phx01.phx.com/reports/issrpts/Allcodes.pdf"
'This is where I need to be able to print the pdf
Set Explorer = Nothing
Thanks for the help.
Here is the code that I have so far:
Set Explorer = New SHDocVw.InternetExplorer
Explorer.Visible = True
Explorer.Navigate "http:\\phx01.phx.com/reports/issrpts/Allcodes.pdf"
'This is where I need to be able to print the pdf
Set Explorer = Nothing