I have created a form. Whenever someone pastes the url of a website such as https://google.com in that form and after hitting the submit button, it will convert the webpage to pdf and prompt us to save in the disk. Can anyone please tell me how to do this ? I know about DOMPDF
Asked
Active
Viewed 716 times
0
-
Can you share with us what you have tried? – Jay Blanchard Sep 05 '14 at 21:12
-
I am trying to paste the url of a site in a form and after hitting submit button, it should convert webpage of that url to pdf. Just like this one ----> http://www.web2pdfconvert.com/ – stuart_03 Sep 05 '14 at 21:15
1 Answers
0
You can try HTML2PDF library - Html2PDF - We have had good luck with that - however there are several caveats with using it -
- HTML must be correct
- Images must be full path (http:// ... )
- Not all style makes it through.

Keith Grey
- 151
- 7