Results 1 to 3 of 3
  1. #1
    MarkWilson is offline Member
    Join Date
    Jun 2008
    Location
    us
    Posts
    47
    Rep Power
    0

    Default convert html page to pdf

    hi all,

    i want to convert html page to pdf

    how i can do that ?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    Get the software from someone.

  3. #3
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    The conversion consists of three steps:

    1. Convert the HTML to XHTML
    2. Convert the XHTML document to XSL-FO using an XSL stylesheet and an XSLT transformer
    3. Pass the XSL-FO document to a formatter to generate the target PDF document

    Let us start,download JTIDY,ask google for it.I think it is on sourceforge site.JTidy is a Java port of the Tidy HTML parser. In the process of translating to XHTML, JTidy also adds missing close tags to create a well-formed XML document.

    read the article about that:

    Convert HTML content to PDF format - Java World
    Last edited by serjant; 09-03-2008 at 09:08 AM.

Similar Threads

  1. How to open html page?
    By smartsubroto in forum New To Java
    Replies: 8
    Last Post: 08-16-2012, 12:13 PM
  2. How to view applet from html page.
    By jwzumwalt in forum Java Applets
    Replies: 2
    Last Post: 11-24-2007, 04:21 AM
  3. convert html to text using java
    By praveen@asia-mail.com in forum New To Java
    Replies: 1
    Last Post: 11-14-2007, 02:08 PM
  4. convert html to plain text
    By vissu007 in forum New To Java
    Replies: 3
    Last Post: 07-07-2007, 02:39 PM
  5. HTML page
    By bbq in forum New To Java
    Replies: 1
    Last Post: 07-05-2007, 03:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •