News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Enrico Zimuel's Blog:
Convert a spool file to PDF using PHP on i5/OS
February 01, 2010 @ 10:20:55

Enrico Zimuel has a new post to his blog today looking at the translation of a spool file on an (IBM) i5/OS machine into a PDF file using the Zend Core for i5 from Zend.

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.

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.

0 comments voice your opinion now!
zendcore pdf spool is5 ibm tutorial


blog comments powered by Disqus

Similar Posts

Brian Swan's Blog: Running WordPress on SQL Server

Twilio Blog: How to Build a Digital Decoder Ring Using PHP, FilePreviews.io and Twilio MMS

PHPMaster.com: Building Your Own URL Shortener

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 8)

Fernando Bassani's Blog: Putting the PHP/Java Bridge to work - I


Community Events

Don't see your event here?
Let us know!


framework library example podcast unittest php7 community version voicesoftheelephpant language api laravel extension series opinion release wordpress interview introduction laravel5

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework