in reply to Generating pdf file for and from an html file

Seconding Corion's answer.

Possibly, your problem is, that PDF::FromHTML doesn't speak CSS. In that case, you could look into HTML::HTMLDoc, which also seems to be capable of generating PDF from HTML. (doesn't speak CSS, either)

  • Comment on Re: Generating pdf file for and from an html file