Any Html Elements Printing Plugin For jQuery - printMe

Any Html Elements Printing Plugin For jQuery - printMe
File Size: 55 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

printMe is 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.

How to use it:

1. Load the latest version of jQuery library and the jQuery printMe plugin in the document.

<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="jquery-printme.js"></script>

2. Call the plugin on the target element you wish to make it printable.

$("table").printMe();

3. Custom the document title and print stylesheet.

$("table").printMe({

// an external stylesheet
path: "",

// custom document title
title: "",

});

Change log:

2016-10-21

  • Error correction external style sheets

2015-12-13

  • Fixed issues in external css print

This awesome jQuery plugin is developed by menusal. For more Advanced Usages, please check the demo page or visit the official website.