Hi Krishan, There are undoubtedly other ways of doing this, but you can use various methods to convert HTML -> XSL-FO then use an XSL FO processor, for example Apache FOP [1], to create PDF. There are several ways to convert HTML to XSL-FO, I believe (though I've never used) DocBook [2] does this, but also the aptly named HTML2FO [3].
If you have any further questions, I'd suggest you use the fop-users mailing list and either I or one of my peers that work on the project would be happy to help you further. Hope that helps [1] http://xmlgraphics.apache.org/fop/ [2] http://docbook.sourceforge.net/ [3] http://html2fo.sourceforge.net/ On 9 August 2012 13:55, Krishan Babbar <[email protected]> wrote: > But its paid. > > > Thanks > Krishan Babbar > > > On Thu, Aug 9, 2012 at 6:22 PM, Mica Cooper <[email protected]> wrote: > > > PD4ML rocks for this! > > > > -----Original Message----- > > From: Krishan Babbar [mailto:[email protected]] > > Sent: Thursday, August 09, 2012 4:16 AM > > To: [email protected] > > Subject: Create PDF document using HTML file/contents > > > > I want to create a PDF document having some dynamic contents. There would > > be > > many rows having dynamic data in each row, so it would be difficult to > > place > > text at predefined locations. > > > > As height of text would be dynamic I am planning to first create HTML > file > > and then create PDF file using those HTML contents/file. > > > > How can I create a PDF using HTML file? > > > > Any pointer/help would be appreciated. > > > > > > Thanks > > Krishan Babbar > > > > > > >

