很好用的產生BarCode的自訂Tag

來源:互聯網
上載者:User
今天看到的一個比較好用的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>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.