Printing with JavaScript made easy | Print.js
Описание
PrintJS is a tiny (yet powerful) JavaScript library to help printing from the web.
You can print HTML pages, PDFs, JSON objects, images and much more using this JavaScript library.
If you’re a read/write learner, don’t worry we got you covered as well! Check out our blog post on https://www.theimmigrantprogrammers.com/p/the-easiest-way-to-print-documents
Print.js documentation: https://printjs.crabbly.com/
My JS Fiddles:
Print HTML form with Heading: https://jsfiddle.net/Kritika_Sharma/Lpgar9js/
Print Multiple Stylized Images together: https://jsfiddle.net/Kritika_Sharma/9oa4zt58/
Print JSON data as a table: https://jsfiddle.net/Kritika_Sharma/oskur0fh/
Print Styled JSON data as a table: https://jsfiddle.net/Kritika_Sharma/36j80xcf/
Print.js Error Handling: https://jsfiddle.net/Kritika_Sharma/qt8d7sv5/
--
Timestamps
0:00 Intro to PrintJS
2:33 Printing a Pdf
3:51 Use-cases for PrintJS
5:22 Printing HTML
8:23 Printing Images
10:08 Printing JSON
11:26 Printing Styled JSON
13:01 PrintJS Error Handling
14:18 Wrap Up
--
If you’re just as crazy for tech as us, we’d love to keep you around. You can also find us at:
Twitter: https://twitter.com/prog_couple
Blog/Website: https://www.theimmigrantprogrammers.com
Instagram: https://www.instagram.com/programmer_couple/
Facebook: https://www.facebook.com/ProgrammerCouple
LinkedIn: https://www.linkedin.com/company/prog-couple
We’ll be waiting to catch up with a fellow techie:)
Рекомендуемые видео



















