今天看到的一个比较好用的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>


barcode
posted on 2006-08-07 18:06  榻榻米  阅读(452)  评论(0)    收藏  举报