<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 20 Jun 2013 03:11:43 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ThinkPHP Blog: Creating press-ready PDF documents on the fly including individual barcodes]]></title>
      <guid>http://www.phpdeveloper.org/news/5748</guid>
      <link>http://www.phpdeveloper.org/news/5748</link>
      <description><![CDATA[<p>
In <a href="http://blog.thinkphp.de/archives/122-Creating-press-ready-PDF-documents-on-the-fly-including-individual-barcodes.html">this new post</a> on the ThinkPHP blog, <i>Jason Easter</i> demonstrates how, with the help of the PDFlib library for PHP, you can create "press-ready PDF documents" whenever you need to (including barcodes).
</p>
<blockquote>
<p>
Often people would like to create a PDF in offset quality out of a big bunch of addresses and create a barcode for each address. Sure, you could do this using the serial-letter-function in Word or any PHP library - the problem is that you have to stick to special standards, e. g. using CMYK colorspace and the like.
</p>
<p>
There may be other good solutions for that. Anyway, now let's talk about doing that by using <a href="http://www.pdflib.de/">PDFLib</a> - in the lite (and therefor free) version.
</p>
</blockquote>
<p>
His <a href="http://blog.thinkphp.de/archives/122-Creating-press-ready-PDF-documents-on-the-fly-including-individual-barcodes.html">example</a> uses the "lite" version of the library and JPGraph to create the barcodes. They create the barcode first (from a value passed in the $_GET string), then insert it into the PDF defined by the code they provide. They even show how to add additional text and an image to round out the look of the newly minted PDF.
</p>]]></description>
      <pubDate>Sat, 08 Jul 2006 07:25:37 -0500</pubDate>
    </item>
  </channel>
</rss>
