<?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>Tue, 18 Jun 2013 02:20:50 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Enrico Zimuel's Blog: Convert a spool file to PDF using PHP on i5/OS]]></title>
      <guid>http://www.phpdeveloper.org/news/13943</guid>
      <link>http://www.phpdeveloper.org/news/13943</link>
      <description><![CDATA[<p>
<i>Enrico Zimuel</i> has <a href="http://www.zimuel.it/blog/?p=360">a new post</a> to his blog today looking at the translation of a spool file on an (IBM) i5/OS machine into a PDF file using the <a href="http://www.zend.com/en/products/core/core-for-i5os">Zend Core for i5</a> from Zend.
</p>
<blockquote>
Zend Core for i5/OS provides the i5 Toolkit for PHP, an API system to call i5 functionalities from PHP. One of the function of this API is the i5_spool that is able to manage spool files for specific i5 users. In this post I present a class to convert a spool file in PDF using the Zend_Pdf class of the Zend Framework.
</blockquote>
<p>
He includes the quick twelve line code you'll need to get the job done. It reads in the spool file with some built-in functions and calls the "toPdf" method to export the result. There's also a few parameters you can include as a second parameter that let you define things like font size and margins.
</p>]]></description>
      <pubDate>Mon, 01 Feb 2010 10:20:55 -0600</pubDate>
    </item>
  </channel>
</rss>
