How do I output my html to a .pdf document ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jeddiki
    Contributor
    • Jan 2009
    • 290

    How do I output my html to a .pdf document ?

    Hi all

    This is an interesting project:

    I have produced a nice looking document on my website.

    It is made up of text held in a mysql table in a text field (but displayed as html) and images held in the /images directory. The css is in a seperate included file.

    Is it possible to output this as a pdf document instead of an html one ?

    I would like to take what I see and then write it to a pdf file with php.


    Which commands should I use for this ?
    I am not reaaly sure where to start

    Any help mauch appreciated.
  • Ciary
    Recognized Expert New Member
    • Apr 2009
    • 247

    #2
    i'm not sure if it does what you need but it must do something:


    if that doesnt work, maybe you should try using ghostscript

    Comment

    • prabirchoudhury
      New Member
      • May 2009
      • 162

      #3
      hey .. yes you could .. have a look on this tutorials .. easy to build in steps..

      The different examples rapidly show how to use FPDF


      good luck :)

      Comment

      Working...