Wednesday, April 18, 2007

[browser technique] print a web page without print dialog box popup

Thousands of materials in web are talking about this topic, but I found none of them works..
So I just trying that all by myself..
just copy and paste the following html code into your web page and test, then you can get a fancy result..
(PS. Please don't ask me why javascript counterpart cannot hide the print dialog box, since I also don't know.. Orz)
* I guess maybe that's M$ strategy to force you to write stuff on VBScript instead of Javascript..

No comments: