Financial Contributors on Open Collective npm version # printThis Printing plug-in for jQuery #### [Try the Demo](https://jasonday.github.io/printThis/) ## Features * Print specific & multiple DOM elements * Preserve page CSS/styling ** or add new CSS; the world is your oyster! * Preserve form entries * Canvas support ## Usage ### Basic ```javascript $('selector').printThis(); ``` ### Advanced Features ```javascript $('#kitty-one, #kitty-two, #kitty-three').printThis({ importCSS: false, loadCSS: "", header: "

Look at all of my kitties!

" }); ``` ### Troubleshooting [Check the printThis wiki for common issues and questions](https://github.com/jasonday/printThis/wiki) *Covers common issues related to styling and printing limitations regarding page breaks* ### Options Now with TypeScript definitions. #### debug Debug leaves the iframe visible on the page after `printThis` runs, allowing you to inspect the markup and CSS. #### importCSS Copy CSS `` tags to the printThis iframe. On by default. #### importStyle Copy CSS `