Print button for page

by MD on 2009/10/02

To add option of printing current page, just add following code anywhere in your page.

<a href="javascript:window.print()">Print Page</a>

To beautify you can a icon of printer before “Print Page” text, for that your could would be like

<a href="javascript:window.print()"><IMG SRC='path-of-printer-icon'>Print Page</a>

You may also like:

Leave a Comment

Previous post:

Next post: