今天看到的一個比較好用的barcode產生tag,已經想不起來在哪找到的,總之一定是老外的了,其實barcode的形式粉多種,就看你的實際應用了,技術不是太難,就是把你要用的value傳進去產生它的內碼就ok了。就像在畫畫,^_^。
總共的參數一共有這麼幾個,inputvalue是用來把你要的編碼傳進去,barwidth是每條內碼產生的寬度,barheight是bar的高度,texttop是bar頂部的文本資訊,textbottom是底部的文本資訊[點擊下載]
<table width="100%" cellpadding="8">
<tr>
<cfloop index="i" from="25641" to="25655">
<td>
<CF_barcode39 InputValue="#i#" BarWidth="2" BarHeight="50" TextTop="Bar Code" TextBottom="#i#">
</td>
<cfif #i# MOD 5 EQ 0>
</tr><tr>
</cfif>
</cfloop>
</tr>
</table>
<hr>
<CF_barcode39 InputValue="ABCDEFGHIJ" BarWidth="2" BarHeight="50" TextTop="BarWidth=2 BarHeight=50" TextBottom="ABCDEFGHIJ">
<hr>
<CF_barcode39 InputValue="KLMNOPQRST" BarWidth="3" BarHeight="60" TextTop="BarWidth=3 BarHeight=60" TextBottom="KLMNOPQRST">
<hr>
<CF_barcode39 InputValue="UVWXYZ$/+%" BarWidth="4" BarHeight="80" TextTop="BarWidth=4 BarHeight=80" TextBottom="UVWXYZ$/+%">
<hr>