In the first place, I would recommend against using a print button. Support cross-browser can be flaky, and 99% of users are already looking at a much easier, much more reliable Print button (complete with printer icon) on their browser window. IMO adding a print button to a webpage is unnecessary duplication that can leave users clicking on your custom button over and over in a case where their browser doesn't support it. If you simply don't give users the option, then they can much more comfortably print your page exactly the same way they do in every other program.
However, if you still want to do it, you need to understand that printing is a client side job. C# applications that have a print button, simply serve a page with different styles that are printer friendly when the normal page template is a printer's nightmare.
Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe
When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper
Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
Last edited by chroniclemaster1; August 30th, 2010 at 02:28 PM..