-1

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.

user3078580
  • 67
  • 1
  • 11
  • 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
  • 1
    what's the problem with third party plugins ? –  Feb 14 '14 at 23:32

2 Answers2

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
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

Community
  • 1
  • 1
xeor
  • 5,301
  • 5
  • 36
  • 59