3

I am a complete rookie in js libraries. I want to create an offline application in chrome, which will as a result convert an html file into pdf.

I discovered that it could be done by Mozilla's pdf.js? How can I start it? I am trying to understand the tutorial, but I am missing smth.

I have html page and a javascript file. Where and what shuold I import, and how to export this html file (forms, text and images) into pdf.

Thanx

4

1 Answer 1

8

You can't use pdf.js for this. It can only render (some) files. It does not produce PDF, nor does it handle HTML input.

Not the answer you're looking for? Browse other questions tagged or ask your own question.