html2pdf.it icon indicating copy to clipboard operation
html2pdf.it copied to clipboard

Option for offline html

Open kasperpeulen opened this issue 12 years ago • 4 comments

I really like your app. Very good output. The only thing I'm missing is the option to turn offline html into pdf.

kasperpeulen avatar Sep 25 '13 23:09 kasperpeulen

:+1:

gladson avatar Feb 13 '14 04:02 gladson

  • How would you specify that HTML, just passed as a string?
  • What about images?
  • What about linked stylesheets/javascript?

ebdrup avatar Feb 22 '14 00:02 ebdrup

A valid workaround is, to create an html page in a temporary folder, possibly including styesheets, javascripts and images, and delete it after the conversion.

l5 avatar Mar 07 '15 20:03 l5

Hi @ebdrup, I have a html form content which contains stylesheets and images in base 64 encoded, and the content is just a long string. Is there anyway for me to generate a pdf document from the html content?

Thank you

TP

tpham21 avatar Nov 20 '16 08:11 tpham21