print-area-js
v1.0.2
Published
Prints a specific area of the page. Using json settings, the printed area is either opened in a popup or in a hidden iframe.
Downloads
24
Readme
jQuery PrintArea
Use bower install
to install dependencies for the demo or development
You can specify 2 modes of printing:
- IFRAME-mode
- Popup-mode
Other options were added as the need arose, such as adding css to the page printed document, retaining attributes of the source element, adding elements to the head of the document printed and specifying several predefined document standards (the default is html5), even the popup was not part of the original plan.
Npm installation
npm i print-area-js
IFRAME-mode
IFRAME-mode is unobtrusive while popup mode opens a separate browser window.
Popup-mode
Popup mode allows for the option of leaving the window open or automatically closing after printing.
LICENSE
This software is licensed under the MIT agreement. Please see LICENSE for any additional requests.