Sripaul
Sripaul

Reputation: 2235

Generate PDF to look like an HTML page?

How do I generate a PDF from in a structured way so that the result looks like an HTML page? (Well formatted.)

Upvotes: 0

Views: 442

Answers (2)

Damo
Damo

Reputation: 11550

If you mean PDF form then there are many ways:

  1. Use Adobe Acrobat (or a cheaper tool like PdfPen Pro)

  2. Render XHTML as PDF using Flying Saucer renderer

  3. Code by hand using iText (I wouldn't recommend this as it's very fiddly)

Upvotes: 0

Gilbeg
Gilbeg

Reputation: 751

  1. PDFBox. It may have all the stuff you need to create a well structured PDF files
  2. iText.

Upvotes: 1

Related Questions