pdf-generator icon indicating copy to clipboard operation
pdf-generator copied to clipboard

Is posible to convert to PDF the current HTML page?

Open uselessai opened this issue 7 years ago • 3 comments

That's my question.

I only want to print the current HTML page. Is it posible?

Or is posible to call and HTML that is allocated in the app?.. My problem is that ion tags doesn't work when I wrote the full HTML as a data ..

uselessai avatar Aug 04 '17 16:08 uselessai

have you tried passing something like this ? document.getElementsByTagName('html')[0].innerHTML, I think it can work for your case.

cesarvr avatar Aug 04 '17 19:08 cesarvr

It gets the HTML code, but not the ionic tags or styles, etcetc..

uselessai avatar Aug 30 '17 14:08 uselessai

@DetoloX did you find any solution for this ?

MarouaneSH avatar Oct 25 '17 11:10 MarouaneSH