HTML to PDF converter

Discussion in 'PHP' started by php-lover, Apr 30, 2009.

  1. #1
    Hi guys,

    I'm wondering if anyone knows any kind of software that I can buy to install in a linux server that can automatically convert HTML to PDF format.

    I do search on google but it doesn't help me much.

    Your help will be much appriciated.

    cheers
     
    php-lover, Apr 30, 2009 IP
  2. sliver

    sliver Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think it can be do with cups or use the command-line programs html2ps and ps2pdf, then concatenate them with pdfjoin.
     
    sliver, May 1, 2009 IP
  3. mfscripts

    mfscripts Banned

    Messages:
    319
    Likes Received:
    4
    Best Answers:
    8
    Trophy Points:
    90
    Digital Goods:
    3
    #3
    mfscripts, May 1, 2009 IP
  4. php-lover

    php-lover Active Member

    Messages:
    261
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Hi,

    No I'm not looking for a pdf class or library. I'm looking for a product that I can buy to install on linux server platform. This pdf product is able convert any html page to pdf format.

    I found many product, but they all run on Microsoft platform.:confused:
     
    php-lover, May 3, 2009 IP
  5. diligenthost

    diligenthost Peon

    Messages:
    685
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #5
    diligenthost, May 3, 2009 IP
  6. fourfingers

    fourfingers Peon

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    http://sourceforge.net/projects/html2fpdf will do the trick

    1. Just set up a database to store all the pages you want to make PDFs.
    2. Set up a cron that scrapes the next page in the db and sends it to fpdf
    3. save new PDF to a folder

    It's probably a 2 hour project
     
    fourfingers, May 5, 2009 IP
  7. php-lover

    php-lover Active Member

    Messages:
    261
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    58
    #7
    Thanks guys, but the reason I'm looking for a html to pdf product, because all the open source pdf library is lack of css support.

    I developed many reports in dompdf library but there's more of requirement that dompdf doesn't support like css absolute position and etc..

    cheers.
     
    php-lover, May 6, 2009 IP