<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Webmaster Bulletin &#187; pdf</title>
	<atom:link href="http://www.webmasterbulletin.net/tag/pdf/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webmasterbulletin.net</link>
	<description>Rambling around the web publishing industry</description>
	<lastBuildDate>Wed, 21 Jul 2010 09:48:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pdf Generation with PHP</title>
		<link>http://www.webmasterbulletin.net/2008/09/pdf-generation-with-php/299</link>
		<comments>http://www.webmasterbulletin.net/2008/09/pdf-generation-with-php/299#comments</comments>
		<pubDate>Wed, 17 Sep 2008 13:42:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Components]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=299</guid>
		<description><![CDATA[The topic of PDF generation with PHP used to be quite painful : PHP native functions require PDF lib, a library that does not come straight out of the box, and is distributed under commercial license. In spite of this dominant position, other solutions have been implemented and available under opensource license.

fpdf is probably the [...]]]></description>
			<content:encoded><![CDATA[<p>The topic of PDF generation with PHP used to be quite painful : PHP native functions require PDF lib, a library that does not come straight out of the box, and is distributed under commercial license. In spite of this dominant position, other solutions have been implemented and available under opensource license.</p>
<ul>
<li><a href="http://www.fpdf.org/" target="_blank">fpdf </a>is probably the most famous of PHP PDF libraries. FPDF project remained inactive for years but was still very usable in its latest version, dated 2004. And finally after 4 years of inactivity a new version finally came out this august 2008, with important features such as GIF image support and possibility to have different page formats in a single document. Most interesting is the additionnal <a href="http://www.vanxuan.net/tool/pdftable/" target="_blank">PDFTable </a>class, which does a very good job render<strong> HTML table conversion to PDF format</strong>. That&#8217;s in my opinion the easiest way for a webmaster with good knowledge of  HTML to generate PDF documents.</li>
<li><a href="http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf" target="_blank">TCPDF </a>is another example of an advanced PHP PDF generation library but I haven&#8217;t tried it yet. Does seem to support some level of HTML parsing but not to the point of <strong>converting HTML tables to PDF </strong>(see above)</li>
<li><a href="http://framework.zend.com/manual/en/zend.pdf.html" target="_blank">ZendPDF </a>is a good bet as a component of Zend Framework but focuses on low level graphic functions and as such lacks essential features such as automatic word wrapping.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2008/09/pdf-generation-with-php/299/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
