Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automating printing to Internet Explorer from MS Access

Status
Not open for further replies.

TomPose

Technical User
Dec 2, 2002
25
US
I am trying to open Internet Explorer from within MS Access using code. I have done the call to Explorer using

Call Shell("""C:\Program Files\Internet Explorer\IEXPLORE.EXE"" & prntid & "&Language=1", vbMaximizedFocus)

where prntid will tell explorer which file to pull. This will load the web page with the correct information but then how do I print that page from within explorer? I can do so by using ctrl-P, but I want to automate. Also, when starting the print, it will always open the print selection box and ask me which printer, and ask to verify the Print by clicking on the print button. All of this seems to really hamper the automate portion of automation.

Any ideas??

Thanks
 
P.S. I need to monitor Explorer to make sure that the page has fully loaded before trying to print it and, by the way, I am opening multiple pages at the same time with different information in each, and need to monitor those as well before printing.

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top