How to print currently open webpage from IE add-in?



Hello,

We have developed an add-in for Internet Explorer that basically takes the
current web page, using System.Net.WebClient and saves it to the desktop for
further processing. This method has worked well for un-secured web pages,
however it does not work well for secured pages, especially those with cookie
based security.

As an alternative we would like to just Print the current web page
(something similar to File->Print, but behind the scenes, and to a printer
that we specify in the code).

I haven't been able to find a way to accomplish this so if someone has any
insight, I would greatly appreciate it.

Our Add-in is developed in C#.

Thanks,
Ryan

.



Relevant Pages

  • Time of page add-in for Internet Explorer
    ... Before I start to reinvent round transportation accessories, ... an add-in to Internet Explorer (pref. ...
    (microsoft.public.windowsxp.general)
  • Time of page add-in for Internet Explorer
    ... Before I start to reinvent round transportation accessories, ... an add-in to Internet Explorer (pref. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: COM Add-in called MS Word East European Fonts Tool
    ... and interprets the characters accordingly. ... early formats didn't specify the code page. ... The Eastern European Font Add-In allows you to fix that broken text after ... > the Microsoft Knowledge Base returns no articles at Microsoft. ...
    (microsoft.public.word.customization.menustoolbars)
  • Re: Worksheets in an excel add-in
    ... The data is like a static data which i do not want to specify inside ... the macro code. ... worksheets contained therein. ... But I would add that saving data in the add-in does not sound like good ...
    (microsoft.public.excel.worksheet.functions)
  • Copying and Pasting cells within an Add-In
    ... I am putting together an Excel Add-In for a client. ... I have tried to specify the range to copy to within the copy statement as ... I have also tried to paste the cells after the copy statement as follows: ...
    (microsoft.public.excel.programming)