If you are looking for a way to convert HTML to PDF, check out this post. This article continues the PDF series but addresses a slightly different task. In PHP, generating files is easy, but sometimes you need to have complete control over the content generation such as how documents are generated for printing. This is when using PDF files is handy because they give you a greater amount of control than HTML or other document types. Here, I will walk you through how to create PDF files dynamically using PHP a free tool called Free PDF library (FPDF)… View full post »
Posts Tagged ‘pdf’
Convert HTML to PDF with PHP and html2pdf
January 3rd, 2011 Leave a comment 4 commentsThere are cases when a web application may need to create a custom PDF file. There are several methods for accomplishing this as well. Recently, I worked on a project that involved an employment application. For this project, I needed to provide a HTML preview of the completed application as well as a PDF. Since I was going to be formatting the application with HTML anyway, I wanted to find a method to turn this into a PDF. The solution I found was html2pdf, a series of scripts for turning an HTML page into a… View full post »




