dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: Create custom designed PDF files using php

  1. #1
    Join Date
    May 2014
    Posts
    1

    Create custom designed PDF files using php

    hi

    i am creating a web site having forms. i want to make a print option that generates pdf file.

    i have many application forms in hard copy and i am converting them to be filled online. when user fill the form and want to take print, the out put file should be formatted same as the form in hard copy.

    can any one help?

  2. #2
    Join Date
    Apr 2008
    Location
    Earth
    Posts
    31
    FPDF is a great, I have used it in the past: http://www.fpdf.org/

    Google shows build-in PDF functions, though I have not used them: http://www.php.net/manual/en/ref.pdf.php

  3. #3
    Join Date
    Jan 2014
    Location
    Bonn
    Posts
    1
    Hi,

    you might be interested in my side project: http://template2pdf.com/
    Which is basically an API to generate PDFs out of OpenOffice templates.
    There is php example code available and it is currently free for low volume usage.

    Regards,
    Sven

  4. #4
    Join Date
    Jul 2013
    Location
    Voorheesville NY USA
    Posts
    896
    FPDF is a very good class for generating pdf docs. Of course, you have to create the document from scratch, meaning that you will be using your current paper forms to design and implement computer-generated ones. But - that is the beauty of it! You can make exact copies of your forms with some diligence or design your own newer designs using the data on the screen or from a db. Takes a little experimentation and some learning and remembering your x & y coordinate system but once learned it's a pretty easy tool.

  5. #5
    Join Date
    Apr 2008
    Location
    Earth
    Posts
    31
    Quote Originally Posted by ginerjm View Post
    FPDF is a very good class for generating pdf docs. Of course, you have to create the document from scratch, meaning that you will be using your current paper forms to design and implement computer-generated ones. But - that is the beauty of it! You can make exact copies of your forms with some diligence or design your own newer designs using the data on the screen or from a db. Takes a little experimentation and some learning and remembering your x & y coordinate system but once learned it's a pretty easy tool.
    One ability I wish it had was to add to existing PDF files. Its so much easier to use Adobe to design the PDF. Cheers :wave:

  6. #6
    Join Date
    Apr 2013
    Posts
    31
    Quote Originally Posted by ginerjm View Post
    FPDF is a very good class for generating pdf docs. Of course, you have to create the document from scratch, meaning that you will be using your current paper forms to design and implement computer-generated ones. But - that is the beauty of it! You can make exact copies of your forms with some diligence or design your own newer designs using the data on the screen or from a db. Takes a little experimentation and some learning and remembering your x & y coordinate system but once learned it's a pretty easy tool.
    Dclamp said that it's so much easier to use Adobe to design the PDF. I want to try it just now! Thanks for your info. Good l



    Best regrads,
    Arron

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles