SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: making a PDF

  1. #1
    SitePoint Zealot ChestRockwell's Avatar
    Join Date
    Nov 2003
    Location
    New Jersey
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    making a PDF

    Hello,
    I know there is a way to create a PDF in php using some library. I am pretty new to it and I was just wondering exactly how that works. Can I create a PDF from an uplodaded word document? can I write a program that takes multiple documents like, 2 word files, an HTML file, and another PDF and combine them into one giant PDF?

    Thanks
    -- Joe C --
    "Do or do not. There is no try..."
    - Yoda

  2. #2
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,443
    Mentioned
    82 Post(s)
    Tagged
    3 Thread(s)
    I tried this out a couple of years ago; it worked but I didn't need it: http://www.fpdf.org/

    Searching google for "php pdf" comes up with 218,000,000 results !

    Anthony

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2006
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi
    this file will help you
    thanks
    Attached Files Attached Files

  4. #4
    SitePoint Zealot
    Join Date
    Apr 2005
    Location
    Helsingborg, Sweden
    Posts
    168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do a search for:
    fpdf
    html2fpdf
    fpdi (to make a larger pdf with several smaller ones)
    ufpdf (unicode support for fpdf - not completely compatible with html2fpdf but I've managed to get it to work)

    If you can't get the info you need on these pages feel free to ask and here again and maybe I'll be able to help you.
    The word files I'm not sure how to solve though.... Maybe you can use http://doc2pdf.sourceforge.net/ but that seems to use a webservice and not something you run locally.


Bookmarks

Posting Permissions

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