kinzi-print

1.3.1 • Public • Published

Kinzi Print


JQuery Printing Plugin, Print specific HTML element with Header and Footer on every page
Try the demo

Features

  • Print specific DOM element
  • Preserve page CSS/styling
  • Preserve form entries
  • Print Header and Footer on every page

Usage

$('selector').kinziPrint();

Options

debug (boolean)

Debug leaves the iframe visible on the page after kinziPrint runs, allowing you to inspect the markup and CSS.

importCSS (boolean)

Copy CSS <link> tags to the kinziPrint iframe. True by default.

importStyles (boolean)

Copy CSS <style> tags to the kinziPrint iframe. False by default.

printContainer (boolean)

Includes the markup of the selected container, not just its contents. True by default.

loadCSS (string or array of strings)

Provide a URL(s) for an additional stylesheet to the kinziPrint iframe. Empty string (off) by default.

printDelay (number)

The amount of time to wait before calling print() in the kinziPrint iframe, Defaults to 500 milliseconds.

base (string)

The BASE tag in the kinziPrint iframe.

header and footer (string)

$('selector').kinziPrint({
header: $('.print-header-content').html(),
footer: $('.print-footer-content').html()
});

Readme

Keywords

none

Package Sidebar

Install

npm i kinzi-print

Weekly Downloads

7

Version

1.3.1

License

MIT

Unpacked Size

181 kB

Total Files

7

Last publish

Collaborators

  • mousaalsheikh