-
When I print from my webbrowser with
On Local Error Resume Next
WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DODEFAULT
the background image and colors won't print, which is due to the default tool->internet options->print background picture and colors check box not being set.
Anyone know how to check this from within VB6?
-
there's prbably an API call you can use but alternatively you could edit the registry key
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Print_Background"="yes"
there are examples in http://www.vb-world.net/tips/