Hi taalgaard,Many thanks for your reply. Really the prince software is good for converting HTML + CSS to PDF. But my requirement is to convert PDF using perl script.I also tried PDF::API2 module. But the module doesn't support for in-line CSS with in the HTML.Could any give me some solution for this?Thanks in advance.