was wondering if there is any way to have the functionality of converting a html page to pdf without the need to third party plugins. So in other words just using PHP, Javascript etc or a combination of web based languages.
Asked
Active
Viewed 83 times
-1
-
php can probably do it, with a third party plugin. You could of course build the "plugin" yourself from scratch to make it non-third party. – Kevin B Feb 14 '14 at 22:39
-
1what's the problem with third party plugins ? – Feb 14 '14 at 23:32
2 Answers
1
Sorry to say this, but in this case a library probably is your best bet. It is possible to write one from scratch, but it's extremely time consuming, since you have to write a function, that renders the HTML/CSS to vector.

Ood
- 1,445
- 4
- 23
- 43
-
Agreed -- rendering HTML + CSS in *anything* is already a fair tall task ... – Jongware Feb 15 '14 at 01:13
0
It depends on what you mean by 3rd party. If you want a native js or php function, then, no. There is no such thing. But if you want to use a library, there are a couple.
A quick google search turned up