Re:Ask HN: Is PDF generation a real pain for developers?
by usladha on Monday April 29, 2013 @05:26AM
(#5624975)
Hi,
You can try using FlyingSaucer (https://code.google.com/p/flying-saucer/) It takes in HTML and gives PDF. It also supports print related CSS3 properties and its open source. May be it cannot compete with Prince, but it is a good open source alternative
Re:Ask HN: Is PDF generation a real pain for developers?
by ashokvarma2 on Monday April 29, 2013 @09:21AM
(#5625929)
PrinceXML doesn't support a lot of the Html5 and CSS3. Canvas support doesnt exist, so I cant print charts.
Re:Ask HN: Is PDF generation a real pain for developers?
by usladha on Monday April 29, 2013 @02:22PM
(#5627786)
I havent tried charts with princexml, but flying-saucer has capability to do custom rendering. So if you want, you can use a service to get image of your chart and then render that in the pdf as image.
[1] http://www.princexml.com/
[2] http://docraptor.com/