10 Best JavaScript Printing Plugins To Print Specific Elements
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.
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.
3. Print Specified Area Of A Page - PrintArea
PrintArea is a jQuery Plugin that allows your visitors to a specific area of the page.
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.
5. Print Specific Content While Preserving Styling – Printout.js
A JavaScript printing library to print specific DOM elements while maintaining their visual aspect.
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.
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.
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.
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.
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.
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.