Skip to content

Instantly share code, notes, and snippets.

@bklockwood
Created April 7, 2016 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bklockwood/726b2a2e70e5802b8b0d0ec0413bafab to your computer and use it in GitHub Desktop.
Save bklockwood/726b2a2e70e5802b8b0d0ec0413bafab to your computer and use it in GitHub Desktop.
Print a webpage
$IE = new-object -ComObject "InternetExplorer.Application"
$webpage = "http://bestforpuzzles.com/daily-quick-crossword/puzzles/2016-04/dq1-2016-04-06.html"
$IE.Navigate($webpage)
$IE.ExecWB(6,2)
@bklockwood
Copy link
Author

tested and working - my default printer spit that page right out.
ExecWB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment