10 Best JavaScript Printing Plugins To Print Specific Elements

by jQueryScript,

In general, users can print the entire page directly from the browser by pressing Ctrl + P.

Most modern browsers, however, don't provide an advanced printing feature that enables the user to print specific elements from within the document.

To address this, I listed here the 10 best jQuery and Vanilla JavaScript printing plugins that help you print specific HTML element with additional styles and custom header & footer on the page. Enjoy.

Originally Published Nov 04 2020, updated Mar 26 2025

1. jQuery Plugin To Print Any Part Of Your Page - Print

Print is an easy and simple jQuery plugin that allows the visitor to print only the specified area of your web page.

jQuery Plugin To Print Any Part Of Your Page - Print

[Demo] [Download]


2. A JavaScript Library For Printing Any Elements On The Page – Print.js

A small yet powerful JavaScript library which enables you to preview and print any elements (PDF, HTML, IMAGE, DYNAMIC DATA) on the webpage.

A JavaScript Library For Printing Any Elements On The Page – Print.js

[Demo] [Download]


3. Print Specified Area Of A Page - PrintArea

PrintArea is a jQuery Plugin that allows your visitors to a specific area of the page.

Print Specified Area Of A Page - PrintArea

[Demo] [Download]


4. Customizable Multiple Elements Printing Plugin With jQuery - printThis

Yet another page printing plugin for jQuery that allows the user to print specific element(s) of your webpage, while preserving the page styles (and even additional CSS) and input/form values.

Customizable Multiple Elements Printing Plugin With jQuery - printThis

[Demo] [Download]


5. Print Specific Content While Preserving Styling – Printout.js

A JavaScript printing library to print specific DOM elements while maintaining their visual aspect.

Print Specific Content While Preserving Styling – Printout.js

[Demo] [Download]


6. Print HTML/JSON/PDF/Image From The Web – Print.js

A small yet powerful and customizable JavaScript print library which enables you to print HTML, JSON, PDF, and Image directly from the web.

Print HTML/JSON/PDF/Image From The Web – Print.js

[Demo] [Download]


7. Any Html Elements Printing Plugin For jQuery - printMe

A simple yet useful jQuery plugin which allows the visitor to print specific parts of a webpage, with support for custom print title and CSS styles.

Any Html Elements Printing Plugin For jQuery - printMe

[Demo] [Download]


8. Print Specific Element With Stylesheet And Custom Header/Footer - Kinzi Print

The Kinzi Print jQuery plugin puts a specific element in an iframe and then print it with styles and custom header/footer elements when needed.

Print Specific Element With Stylesheet And Custom Header/Footer - Kinzi Print

[Demo] [Download]


9. Print Specific Part of Web Page – printElements.js

Just another JavaScript printing plugin that allows the user to print only a specific part of the web page. This can help reduce paper waste, save ink, and improve the overall printing experience.

Print Specific Part of Web Page – printElements.js

[Demo] [Download]


10. Print Specific Element With CSS - jQuery divjs

A lightweight and easy jQuery element printing plugin which allows the user to print only a selected HTML element with additional CSS styles.

Print Specific Element With CSS - jQuery divjs

[Demo] [Download]


More Resources:

Seeking more jQuery plugins or JavaScript libraries to help printing on the webpage? See jQuery Printing and JavaScript Print sections for more details.