I put a panel underneath the TCppWebBrowser and get this it prints fine when the panel is visible and doesn't print when the panel is invisible! There has to be a workaround.
Sounds like no one has experience with it though.
Cheers, Tom.
not sure about the difference between the 2 forums, this was unanswered in the other...
My goal is to print a html document in C++Builder 5.01 without the user previewing the document, ie.
the html file is not shown to the user. I can print the document successfully by first loading the html...
fyi...The solution is to temporarlly alter the registry settings....
http://support.microsoft.com/support/kb/articles/q236/7/77.asp
... now to print without previewing....
My goal is to print a html document in C++Builder 5.01 without the user previewing the document, ie.
the html file is not shown to the user. I can print the document successfully by first loading the html
file with TCppWebBrowser.Navigate and then calling ExecWB in the
OnDocumentComplete...
I am using TCppWebBrowser to print a html document in C++Builder 5.01. I use ExecWB(Shdocvw_tlb::OLECMDID_PRINT,
Shdocvw_tlb::OLECMDEXECOPT_DONTPROMPTUSER); to print.
How can I stop the header (document title and page #) and footers (filename abd date) being printed?
Thanks, Tom.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.