faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 3 people (67%) answered Yes
Recently 2 of 3 people (67%) answered Yes

Entry

How can a generate wed-based barcode, I want to use only the browser connecting to the backend.

Mar 19th, 2008 22:26
ha mo, Edwin Chan, Patrick Wong,


To generate a web-based barcode, you need 2 things:
  1. a barcode truetype font, such as free3of9
  2. convert the barcode to '*<values>*', for example:
       123456
     should use the following code:
<?php
   $barcode=123456;
   echo "<font face='Free 3 of 9'>*".$barcode."*</font>"; 
?>
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com