[FX.php List] Creating a PDF label and show on a web page

Dale Bengston dbengston at tds.net
Thu Jun 25 15:01:16 MDT 2009


Hi John,

The easiest way to get GD is to go to entropy.ch and get Mark  
Liyanage's build of PHP and use it instead of the default one. It  
works great, and includes GD, among many other things.

Now, back to FPDF, which is also what I use to create PDF from PHP.  
FPDF is great for doing this, and very precise. Also, there is an  
extension for FPDF called FPDI that allows you to open a pre-made PDF  
template, draw data on it with FPDF and save it out. It's double cool.

FPDF allows you to place graphics, which is how I'd handle the bar  
codes. You could use other PHP graphics creators (like the one Steve W  
recommended) to save your bar codes as image files and place them with  
FPDF.

Hope this helps,
Dale



  --
Dale Bengston
Streamline Studio, LLC
www.streamline-studio.com


On Jun 25, 2009, at 1:33 PM, John Funk wrote:

> The barcode number will be in the database but the forms created in
> FileMaker will not be used for the same purpose as the html forms.
> Thanks for the lookout..
>
>
> On 6/25/09 1:17 PM, "Joel Shapiro" <jsfmp at earthlink.net> wrote:
>
>> Hi John
>>
>> Just a thought:
>> If you plan to have barcodes in the database, they could be different
>> than the barcodes generated by this PHP script, so you'd probably
>> want to check on that.
>>
>> Best,
>> -Joel
>>
>>
>> On Jun 25, 2009, at 11:00 AM, John Funk wrote:
>>
>>> I like this idea, any tips on how to use to shorten my learning  
>>> curve?
>>> It looks like I put the barcode.php in my site folder and in the
>>> html of my label place the barcode like an image but use <IMG
>>> SRC="barcode.php?barcode=HELLO&quality=75"> wth parameters?
>>> Seems simple enough.....
>>> Could I put barcode.php in my includes folder?
>>> Thanks,
>>> John Funk
>>>
>>>
>>> On 6/25/09 12:36 PM, "Steve Winter" <steve at bluecrocodile.co.nz>  
>>> wrote:
>>>
>>>> The other thing which you could look at is a bar-code image
>>>> creation class (like http://www.sid6581.net/cs/php-scripts/
>>>> barcode/ pretty old now, but still works really well ;-) and then
>>>> simply generate the label in pure HTML rather than using a pdf at
>>>> all...
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list




More information about the FX.php_List mailing list