In IE7 and IE8 MSHTML core can print content on printer DC via IHTMLElementRender::DrawToDC().
Now, IE9 dose not todo this work.
My app use MSHTML as ActiveX Control for render and print some statica reports. It use IOleObject::SetExtent() for setup exntents of printing zone and IHTMLElementRender::DrawToDC() for print content, but after update to IE9 Beta this feture is not working.
Rendering to Enhanced metafile DC throw IHTMLElementRender::DrawToDC() is not woking too, resulting image has corrupted background and many artifacts on tables and text.
As of Windows Internet Explorer 9, this method is deprecated and should not be used.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP