News Feed
Sections




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

ThinkPHP Blog:
Creating press-ready PDF documents on the fly including individual barcodes
July 08, 2006 @ 07:25:37

In this new post on the ThinkPHP blog, Jason Easter demonstrates how, with the help of the PDFlib library for PHP, you can create "press-ready PDF documents" whenever you need to (including barcodes).

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.

There may be other good solutions for that. Anyway, now let's talk about doing that by using PDFLib - in the lite (and therefor free) version.

His example 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.

0 comments voice your opinion now!
pdf dynamic press-ready barcodes tutorial pdflib jpgraph pdf dynamic press-ready barcodes tutorial pdflib jpgraph


blog comments powered by Disqus

Similar Posts

Gonzalo Ayuso's Blog: Building an ORM with PHP

PHPMaster.com: Preventing Code Rot 101: Unit Testing

SitePoint PHP Blog: Creating a Subscription-Based Website with Laravel and Recurly, Part 1

Learn-CodeIgniter.com: Introduction To CodeIgniter

DevShed: Comparing Files and Databases with PHP Benchmarking Applications


Community Events

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


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

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