This tutorial will show you how to print a Webpage its simple but useful. Be careful how you use this.. Don't bug the user with the printing dialog lol
Make this between the <html>:-
Well I don't know how I can explain this, it's too simple
As Always Feedback is welcome and the full source is attached!!