Wednesday, 24 April 2013

Coding For Download a File as PDF

Download:pdf converter


<fieldset style="background-color:#000;color:#FFF;height:250px;padding:20px;
letter-spacing:3px;width:800px;text-align:center;border:1px solid red;margin:50px 50px 0 150px;">
<center><form method="post" action="pdf6.php"> 
<p>Here we have to see how to convert (or) current webpage as pdf file We alreadydiscuss the thing about conversion of webpage as MS-Word document file.Similar tothis we have to convert current webpage as pdf  on current  webpage itself.Most of the websites willing to provide their document as pdf instead MS-Word because in pdf the data can't be changed by user.From this information from pdf is unique.Somost of website add a link to download as pdf.Let see how it can developed in php.For designing and import content of webpages  we have include the coding of pdf toolkit here.Download the pdf creator html2fpdf add extractthe files and  add fewfiles in the html2fpdf folder.The download link for pdf creator toolkit is html2fpdf</p>
<input type="submit" name="submit" value="Download As PDF" />


Output (header("Content-Disposition: attachment; Filename=pdff.pdf;Content-type: application/pdf;"));




  1. This is an interesting information..... Keep updating your blog. Thanks a lot for the share.... Thanks!
    Adobe Support