Printer Friendly Version Of Your Web Page Content

Some times we need to put an option in our web page so that user can take a print of the content of the page like ‘Click here to Print’ button.
For printing the content we can use JavaScript so that user can print the content of the page only and the other graphics, page layout will be ignored at the time of printing.

Here is the code snippet.

Everything is done. Now any one can get a print out of the content of your web page.

You may also like


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.