Converting html to pdf perl

Hi All,
I have a requirement of converting an html form into pdf using perl.
The html form contains images, tables and css implementation. I tried using various perl modules but failed to achive the target.

      I succeeded in generating a pdf from the html file using HTML::HTMLDoc, but the file was not able to read, is showing I/O error in Acrobat reader.

     Can anyone please suggest how to proceed? Your help is appreciated!

With Regards
Dileep Pattayath

You have made 145 posts and still did not realise that you have to post your code, source, target etc as applicable?

Friend, I am not having any issue, but a requirement. I just want to convert html file to pdf format. It's not a specific file, but an upgrading requirement for a webpage which is my project. I dont know how to do it and am asking the ways to implement it.

My apologies if i made you misunderstand!

Regards
Dileep