Since we are suggesting alternatives, I use iText for converting HTML into PDF. Here is an example: http://www.rgagnon.com/javadetails/java-html-to-pdf-using-itext.html
Hope that helps, Alin On Fri, Sep 5, 2014 at 1:50 PM, John Hewson <j...@jahewson.com> wrote: > Rendering HTML is very complex, you basically need to use a modified web > browser. > > You might want to try PhantomJS http://phantomjs.org/screen-capture.html > which can produce PDFs. > > -- John > > On 5 Sep 2014, at 01:08, Emre Türker <emre.tur...@coretech.com.tr> wrote: > > > Hi, > > > > > > > > I want export to pdf from html text with using PDFBox. How can I do it? > > > > Please help me. > > > > > > > > Emre. > > > >