Possible Duplicates:
Converting HTML Files to PDF
PDF file generation from XML or HTML
I have a table with content in html format , how do I write that table to PDF file in java?
I kind of get this working. I am using faceless pdf library. I have another doubt related to this still. Since I am writing data of html format in pdf , how can I get to know that I am at the end of page so I can print remaining data on next page? Right now it is writing incomplete data on only one pdf page , remaining data is not written.