Print.js

A tiny javascript library to help printing from the web.

MIT License

Downloads
615.4K
Stars
4.3K
Committers
39

Bot releases are hidden (Show)

Print.js - v1.6.0 Latest Release

Published by crabbly over 3 years ago

. Add support for HTML elements as printable param (alternate option to element id).

Print.js - v1.5.0

Published by crabbly about 4 years ago

  • Fix base64 issue when param value is false
  • Fix issues with onPrintDialogClose callback
  • The library will now remove the print iframe from DOM once job is complete
  • Improve browser incompatibility check (IE). Deprecate onOpen property.
Print.js - v1.4.0

Published by crabbly about 4 years ago

Added the css spinner back into the lib available style (optional)
Fixed missing font-size property in style processing

Print.js - v1.3.1

Published by crabbly about 4 years ago

Improve style hiding the print iframe

Print.js - v1.3.0

Published by crabbly about 4 years ago

Add support for PDF printing in Firefox
Fix IE bug when computing target styles

Print.js - v1.2.0

Published by crabbly about 4 years ago

Enable PDF print support on Edge browser
Prevent parentNode call on null when modal element is not found

Print.js - v1.1.1

Published by crabbly about 4 years ago

Fix issue when processing image elements in html template.

Print.js - v1.1.0

Published by crabbly about 4 years ago

Allow use of relative references for pdf
Fix published npm package

Print.js - v1.0.63

Published by crabbly almost 5 years ago

. Update image loading logic

Print.js - v1.0.61

Published by crabbly over 5 years ago

Process computed styles for backwards compatibility

Print.js - v1.0.59

Published by crabbly over 5 years ago

Add custom html deep clone function
Add support for select element (copy user selected option / state)
Add canvas element support
Prevent oversized images from being cut off if no style is passed

Print.js - v1.0.58

Published by crabbly over 5 years ago

Updated Typescript Interface with base64
Fixed issue with image print results showing wrong image order
Open base64 pdf documents into new tags in unsupported browsers

Print.js - v1.0.57

Published by crabbly over 5 years ago

Preload raw-html images

Print.js - v1.0.56

Published by crabbly over 5 years ago

Update TypeScript interface.
The header has been updated to support HTML.

Print.js - v1.0.55

Published by crabbly over 5 years ago

Add onBrowserIncompatible hook
Better type script support
Updated dependencies
PDF print will always preload file before firing job
Support base64 pdf print

Print.js - v1.0.54

Published by crabbly almost 6 years ago

Updated Typescript interface
Fixes Chrome detection
Fixes HTML print bug
Fixes issue when setting JSON column size

Print.js - v1.0.52

Published by crabbly about 6 years ago

Fix undefined default export

Print.js - v1.0.51

Published by crabbly about 6 years ago

Added new onError callback
Fix bug when printing images
Add source maps to the dev build
Added onPdfOpen callback

Print.js - v1.0.50

Published by crabbly about 6 years ago

Fixes issues with IE added in v1.0.48

Print.js - v1.0.48

Published by crabbly about 6 years ago

Update JSON API to accept properties as objects for better data table customization

Package Rankings
Top 0.86% on Npmjs.org
Top 22.81% on Repo1.maven.org
Top 8.17% on Proxy.golang.org
Top 7.29% on Bower.io
Badges
Extracted from project README
Build Status Software License Standard - JavaScript Style Guide npm devDependencies Status dependencies Status