Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: How can I generate a pdf from html with css?

by samtregar (Abbot)
on Feb 16, 2009 at 19:37 UTC ( [id://744182] : note . print w/replies, xml ) Need Help??


in reply to How can I generate a pdf from html/css?

Not possible, at least not with the tools I've used to create PDFs. I've used htmldoc but that doesn't have much support for CSS. I've also seen PDF::Template in action, but that uses an abstract XML format, not HTML+CSS.

I think you'll need to approach building a PDF as a new format, not as a way to layout your existing HTML format.

-sam

  • Comment on Re: How can I generate a pdf from html with css?