Results 1 to 7 of 7

How do I convert HTML to PDF?

This is a discussion on How do I convert HTML to PDF? within the Programming forums, part of the Web Designing & Development category; ...

  1. #1
    Member
    Join Date
    Jul 2016
    Posts
    55

    Thumbs up How do I convert HTML to PDF?

    Before we can jump into rendering PDF straight from the content in our database,there’s a problem we have to overcome. The content we’ve stored contains HTML markup that we can’t simply “drop” into a PDF document. At the same time, the HTML is there for a good reason; it provides useful formatting for the content,positioning text and images correctly, adding links, and so on. We don’t want to lose this formatting information, so we can’t just strip it out; rather, we need to use it somehow to lay out the PDF document. For the solution, we turn toPEAR::XML_HTMLSax[7]. This is a SAX-like parser for “badly formed” XML documents, which will allow us to strip the HTML out of the content and at the same time take advantage of the formatting information it contains. The version used here was 2.0.2.

  2. #2
    Member
    Join Date
    Oct 2016
    Location
    Hyderabad
    Posts
    52

    Default Re: How do I convert HTML to PDF?

    Simple Select all(HTML FILE took it to ms word file then),Give it to Print Command after giving command,A page will open,In that page left hand side some options are available there,There will be a option to save file in to pdf,Actully there will be more format options,If you want any other,Then choose that one and save yor file in format, Which you want.It is the simplest way to convert file html to pdf,Other wise you can install some application i mean convertor.

  3. #3
    Member
    Join Date
    Jan 2016
    Posts
    88

    Default Re: How do I convert HTML to PDF?

    You can convert HTML to PDF using some online tool

  4. #4
    Senior Member
    Join Date
    Apr 2016
    Posts
    147

    Default Re: How do I convert HTML to PDF?

    In Microsoft Word there is an option to convert word to pdf document directly.


    • Go to the file menu and click on save as option.
    • In the drop down select pdf and save it.

  5. #5
    Member
    Join Date
    Nov 2016
    Posts
    31

    Default Re: How do I convert HTML to PDF?

    To convert HTML files to a PDF document, you'll just need to open and print to Win2PDF using any Windows browser (e.g., Internet Explorer, Firefox, Chrome, etc.). First, open the HTML file or load the web site page in your browser window. Then select 'Print...' from the web browser's File menu.

  6. #6
    Junior Member GoLogin's Avatar
    Join Date
    Sep 2020
    Posts
    11

    Default Re: How do I convert HTML to PDF?

    First, open the HTML file or load the web site page in your browser window. Then select 'Print...' from the web browser's File menu. You will then be able to convert the HTML web page to a PDF copy of the page on your computer.

  7. #7
    Newbie
    Join Date
    Dec 2020
    Posts
    1

    Default Re: How do I convert HTML to PDF?

    Thanks for the helps mates!! now i can finish my job.. so i can continue reading at manhuanelo.com

Tags for this Thread