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

Steve Winter steve at bluecrocodile.co.nz
Fri Jun 26 00:59:32 MDT 2009


Hi John,

Looks a nice option... I do note that it says in the read-me that it's  
only been tested for IE6, which likely means that when you try and use  
it in 'proper' browsers that it won't quite display correctly so you  
might have to do a bit of mucking about to get it cross-browser  
compatible... (hence the advantage of the GD/image based class I was  
suggesting, since it generates an image which you can embed within  
HTML, but which will always display the same (admittedly it won't  
display at all if the user has images turned off ;-)

Best wishes
Steve

On 26 Jun 2009, at 02:47, John Funk wrote:

> Thanks for the tips, I found html barcodes by Mark Ryan at:
> http://phpclasses.elib.com/browse/package/3603.html, a php class for  
> making
> barcodes. Seems to work good.
> John
>
>
> On 6/25/09 4:01 PM, "Dale Bengston" <dbengston at tds.net> wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> 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


Steve Winter
steve at bluecrocodile.co.nz
m: +44 77 7852 4776
3 Calshot Court, Channel Way
Ocean Village, Southampton SO14 3GR

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090626/acb89b76/attachment-0001.html


More information about the FX.php_List mailing list