plz help me how to convert php(or)html to pdf

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Raj Kumar

    plz help me how to convert php(or)html to pdf

    Hi

    i used fpdf class for html to pdf converter.

    I generated pdf but it shows without style sheet implementation and
    gif images are not show in generated PDF

    how to solve gif imge error and style sheet not applicable error...

    Please help me...

    Thank u...

    with regards,
    S.Rajkumar..

  • The Hajj

    #2
    Re: plz help me how to convert php(or)html to pdf

    start here http://www.fpdf.org/en/tutorial/index.php

    I'm a bit more familiar with ZendPdf so I won't be much use here. If
    it's anything like ZendPdf, you'll have to extend it to stylize i.e.
    write a few functions or extend ZendPdf with more methods.

    I'll see if I can dig up my code for wordwrap and centering text, mid
    you it's for ZendPdf but could be modified.

    Comment

    • Mark van S

      #3
      Re: plz help me how to convert php(or)html to pdf

      When you can get shell access you can also use xsl-fo to generate PDF
      files.

      Comment

      • NC

        #4
        Re: plz help me how to convert php(or)html to pdf

        On Aug 7, 12:11 am, Raj Kumar <rajkumar.sa... @gmail.comwrote :
        >
        i used fpdf class for html to pdf converter.
        >
        I generated pdf but it shows without style sheet implementation and
        gif images are not show in generated PDF
        Check out dompdf:



        Cheers,
        NC

        Comment

        • Raj Kumar

          #5
          Re: plz help me how to convert php(or)html to pdf

          On Aug 8, 2:33 am, NC <n...@iname.com wrote:
          On Aug 7, 12:11 am, Raj Kumar <rajkumar.sa... @gmail.comwrote :
          >
          >
          >
          i used fpdf class for html to pdf converter.
          >
          I generated pdf but it shows without style sheet implementation and
          gif images are not show in generated PDF
          >
          Check out dompdf:
          >

          >
          Cheers,
          NC
          Thank u very much for ur reply...

          i will try this....

          Comment

          Working...