How to Print a web page
-
Hi all, 1) i want to print a web page using vc++ 6.0.Please Guide how it can be done if the default web browser is IE(i am using IE 5.0). 2)Is there any way that we can print a web page without worrying much about the web browser we are using? Please Help! Thanks in anticipation! Regards, Ankush Mehta Ankush Mehta
-
Hi all, 1) i want to print a web page using vc++ 6.0.Please Guide how it can be done if the default web browser is IE(i am using IE 5.0). 2)Is there any way that we can print a web page without worrying much about the web browser we are using? Please Help! Thanks in anticipation! Regards, Ankush Mehta Ankush Mehta
You could load it into a HTML view (or with a bit more manual labour directly into a IE window), and call IHTMLWindow3::print on it.
We say "get a life" to each other, disappointed or jokingly. What we forget, though, is that this is possibly the most destructive advice you can give to a geek.
boost your code || Fold With Us! || sighist -
Hi all, 1) i want to print a web page using vc++ 6.0.Please Guide how it can be done if the default web browser is IE(i am using IE 5.0). 2)Is there any way that we can print a web page without worrying much about the web browser we are using? Please Help! Thanks in anticipation! Regards, Ankush Mehta Ankush Mehta
Is this of any help: rundll32.exe C:\WINDOWS\system32\mshtml.dll,PrintHTML c:\myfile.htm
"Take only what you need and leave the land as you found it." - Native American Proverb
-
You could load it into a HTML view (or with a bit more manual labour directly into a IE window), and call IHTMLWindow3::print on it.
We say "get a life" to each other, disappointed or jokingly. What we forget, though, is that this is possibly the most destructive advice you can give to a geek.
boost your code || Fold With Us! || sighistHi Peter, As i am not much informed on this topic, can u olease elaborate. possibly give some code snippet. Regards, Ankush Ankush Mehta
-
Is this of any help: rundll32.exe C:\WINDOWS\system32\mshtml.dll,PrintHTML c:\myfile.htm
"Take only what you need and leave the land as you found it." - Native American Proverb
Hi DavidCrow, As i am not much informed on this topic, can u please elaborate. possibly give some code snippet. Regards, Ankush Mehta
-
Hi DavidCrow, As i am not much informed on this topic, can u please elaborate. possibly give some code snippet. Regards, Ankush Mehta
Use
ShellExecute()
with the command I provided.
"Take only what you need and leave the land as you found it." - Native American Proverb