http://qs321.pair.com?node_id=744182


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