Print Specific Parts of a Page With jPrintArea

2

Posted by Scott Spear in Javascript,Web 2.0,Webmaster | Tags: , ,

Wednesday, November 19, 2008

If you have ever wanted/needed to be able to print just part of a page before, now you can. jPrintArea will allow you to print only the contents of a specific element (Ex: div). There aren't a lot of extra bells & whistles that go along with this jQuery plugin, but it works great. It does exactly what is need with only a few lines of code so there is little extra overhead added to your page load time.

There is a sample usage, a demo, and source code (download and view) available from the website. I have included a sample demo below as well.

Demo

User ID Username Email
1 test1 test1@test.com
2 test2 test2@test.com
3 test3 test3@test.com
4 test4 test4@test.com
5 test5 test5@test.com

Print Table

About the author: Scott Spear

I have been designing and programming on the web for 10 years and still have so much more to learn. I hope to use what I have learned from my MBA to mix business with web technologies in future endeavors.

2 comments

Post your own

someone Reply Thursday, July 23, 2009

is not work in IE :S :(

[...] Print Specific Parts of a Page With jPrintArea “If you have ever wanted/needed to be able to print just part of a page before, now you can. jPrintArea will allow you to print only the contents of a specific element (Ex: div). There aren’t a lot of extra bells & whistles that go along with this jQuery plugin, but it works great. It does exactly what is need with only a few lines of code so there is little extra overhead added to your page load time.” [...]

Leave a Reply