CodeCanyon
CodeCanyon
Code
Code
Code
Code
Code
Code

ezPrintJS - Simplify Page Printing

ezPrintJS - Simplify Page Printing

Have you ever wanted to make your complex pages look clean and readable on the paper?

Tired of customizing CSS styles to adapt your pages for printing purposes?

ezPrintJS is here to help you!

ezPrintJS is a tiny JavaScript library which allows to make pretty-looking printable pages without the need of modification even single line of existing code in your CSS styles and HTML markup.

You are free to precisely customize content your visitors will see on the paper.

Why ezPrintJS?

  • Lightweight and fast, no jQuery needed!
  • Print in hidden iframe and new window
  • Add custom watermarks
  • Ctrl+P replacement
  • Deep content modification

Features

  • Zero dependencies (add polyfill if you’re willing to support outdated browsers)
  • No server-side required (no Selenium, PhantomJS or other apps needed)
  • Compatible with almost all modern browsers
  • Print certain region of page using CSS selectors
  • Print in iframe (v1.1.0)
  • Hide or show elements on printable pages
  • Expand scrollable areas (useful when printing tables)
  • Print SVG and 2D Canvas objects
  • Add watermark image on page
  • Set header and footer taglines
  • Override standard ctrl+p hotkey to print with ezPrintJS
  • Many options to make your pages look perfect even on the paper
  • Leverage full control on what users will send to printer with custom content handlers
  • Set printable areas as many as you want
  • ...and many, many more in only ~13KB library

Changelog

v1.1.0 - added new feature - print in iframe (tested in IE 11, actual versions of Chrome and FF); 
added new feature - set custom opacity value for watermark image; 
added new module - override standard 'ctrl+p' hotkey behavior to instantly print using ezPrintJS; 
updated Babel's polyfill JS library;
added demo assets to package for local testing.
v1.0.0 - initial release

Please note, ezPrintJS will not produce PDF, images or other formats. It’s just helps you generate on-the-fly clean looking pages with content your visitors want to see!

See examples at: https://nedgeva.github.io/

by
by
by
by
by
by