Print form information to a prinable hard copy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mankolele
    New Member
    • Sep 2006
    • 63

    #1

    Print form information to a prinable hard copy

    Hi all.
    I need to have a print button on the page where I have a form. The form is filled in and sent to the database at the same time the information must be filled to the document to print (a word or pdf) out the form for it to be signed by hand. Where do I start with that I have no idea. Any ideas out there will be appreciated.

    Thanx in advance
  • TheMadMidget
    New Member
    • Oct 2006
    • 98

    #2
    If you want to make it print w/o internet header automatically you might want to look into VBScript, Ruby/Rails, Flash, or Java Applets.

    Comment

    • ronverdonk
      Recognized Expert Specialist
      • Jul 2006
      • 4259

      #3
      You don't have to look outside the PHP environment, as suggested in a previous reply. You can easily generate a PDF document from PHP itself. Have a look at the free FPDF (PHP) class at FPDF class
      This site contains al documentation, tutorials and code necessary to generate PDF from your PHP program. Some features:

      - Choice of measure unit, page format and margins
      - Page header and footer management
      - Automatic page break
      - Automatic line break and text justification
      - Image support (JPEG and PNG)
      - Colors
      - Links
      - TrueType, Type1 and encoding support
      - Page compression
      - FPDF requires no extension (except zlib to activate compression) and works with PHP4 and PHP5.

      Check it out.

      Ronald :cool:

      Comment

      • TheMadMidget
        New Member
        • Oct 2006
        • 98

        #4
        Sorry if I am continuing with wrong info, but I was trying to say that any print commands from PHP will result with browser header and footer info like URL, date, etc. I know that PHP can make PDFs but I thought it couldn't "open" it and print as Adobe would, not alone.

        Comment

        • mankolele
          New Member
          • Sep 2006
          • 63

          #5
          Originally posted by TheMadMidget
          Sorry if I am continuing with wrong info, but I was trying to say that any print commands from PHP will result with browser header and footer info like URL, date, etc. I know that PHP can make PDFs but I thought it couldn't "open" it and print as Adobe would, not alone.
          Thanks for the replies still trying it out will come back if I get stuck.
          Thanks again

          Comment

          • mankolele
            New Member
            • Sep 2006
            • 63

            #6
            Originally posted by mankolele
            Thanks for the replies still trying it out will come back if I get stuck.
            Thanks again
            I see I first need to download the fpdf.php class I am not sure which one to use I am using php4 and mysql 4.1 amy idea which one to download.

            Thanks

            Comment

            Working...