欧美成人精品手机在线观看_69视频国产_动漫精品第一页_日韩中文字幕网 - 日本欧美一区二区

LOGO OA教程 ERP教程 模切知識(shí)交流 PMS教程 CRM教程 開發(fā)文檔 其他文檔  
 
皇帝

Asp生成條形碼

allen
2013年10月21日 21:28 本文熱度 4404
一個(gè)用asp生成條形碼的例子代碼。(注意:生成的圖形為html代碼,而非圖片,打印時(shí),請(qǐng)?jiān)贗E的Internet選項(xiàng)=>高級(jí)=》打印 選定“打印背景顏色和圖像”) 演示地址:http://www.51windows.net/Asp_samples/codeflag.asp 更簡(jiǎn)單的方法就是使用條形碼字體,下載 條形碼字體 [code] Asp生成條形碼 <% '條形碼生成程序 '海娃@2004-4-4 'http://www.51windows.Net function haiwaocde(zfstr) zf = zfstr zf = replace(zf,"0","_│_│__││_││_│") zf = replace(zf,"1","_││_│__│_│_││") zf = replace(zf,"2","_│_││__│_│_││") zf = replace(zf,"3","_││_││__│_│_│") zf = replace(zf,"4","_│_│__││_│_││") zf = replace(zf,"5","_││_│__││_│_│") zf = replace(zf,"7","_│_│__│_││_││") zf = replace(zf,"6","_│_││__││_│_│") zf = replace(zf,"8","_││_│__│_││_│") zf = replace(zf,"9","_│_││__│_││_│") zf = replace(zf,"a","_││_│_│__│_││") zf = replace(zf,"b","_│_││_│__│_││") zf = replace(zf,"c","_││_││_│__│_│") zf = replace(zf,"d","_│_│_││__│_││") zf = replace(zf,"e","_││_│_││__│_│") zf = replace(zf,"f","_│_││_││__│_│") zf = replace(zf,"g","_│_│_│__││_││") zf = replace(zf,"h","_││_│_│__││_│") zf = replace(zf,"i","_│_││_│__││_│") zf = replace(zf,"j","_│_│_││__││_│") zf = replace(zf,"k","_││_│_│_│__││") zf = replace(zf,"l","_│_││_│_│__││") zf = replace(zf,"m","_││_││_│_│__│") zf = replace(zf,"n","_│_│_││_│__││") zf = replace(zf,"o","_││_│_││_│__│") zf = replace(zf,"p","_│_││_││_│__│") zf = replace(zf,"r","_││_│_│_││__│") zf = replace(zf,"q","_│_│_│_││__││") zf = replace(zf,"s","_│_││_│_││__│") zf = replace(zf,"t","_│_│_││_││__│") zf = replace(zf,"u","_││__│_│_│_││") zf = replace(zf,"v","_│__││_│_│_││") zf = replace(zf,"w","_││__││_│_│_│") zf = replace(zf,"x","_│__│_││_│_││") zf = replace(zf,"y","_││__│_││_│_│") zf = replace(zf,"z","_│__││_││_│_│") zf = replace(zf,"-","_│__│_│_││_││") zf = replace(zf,"*","_│__│_││_││_│") zf = replace(zf,"/","_│__│__│_│__│") zf = replace(zf,"%","_│_│__│__│__│") zf = replace(zf,"+","_│__│_│__│__│") zf = replace(zf,".","_││__│_│_││_│") haiwaocde = zf end function code_H = 52 '每個(gè)字符高度 code_W = 2 '每個(gè)字符寬度 function dragcode(ccode) c = ccode c = replace(c,"_","") c = replace(c,"│","") dragcode = c end function function dragtext(ccode) c = ccode dragtext = "" for i=1 to len(c) dragtext = dragtext&""&mid(c,i,1)&"" next dragtext = dragtext end function Function CheckExp(patrn,str) Set regEx=New RegExp regEx.Pattern=patrn regEx.IgnoreCase=true regEx.Global=True CheckExp = regEx.test(str) End Function code = request("c") if code = "" then code = "*51windows.net*" else if Checkexp("^[abcdefghijklmnopqrstuvwxyz1234567890\+\-\*\/\%\$\.]*$",code) then code = "*"&code&"*" else code = "*51windows.net*" errstr = "
含有非法字符
" end if end if ocode = code code = lcase(code) %>
合法字符:ABCDEFGHIJKLMNOPQRSTUVWXYZ 1234567890 + - * / % $ .

" size="25" maxlength="15">
<%=dragcode(haiwaocde(code))%>
<%=(ocode)%>
<%=errstr%> [/code]

該文章在 2013/10/21 21:56:35 編輯過
關(guān)鍵字查詢
相關(guān)文章
正在查詢...
點(diǎn)晴ERP是一款針對(duì)中小制造業(yè)的專業(yè)生產(chǎn)管理軟件系統(tǒng),系統(tǒng)成熟度和易用性得到了國(guó)內(nèi)大量中小企業(yè)的青睞。
點(diǎn)晴PMS碼頭管理系統(tǒng)主要針對(duì)港口碼頭集裝箱與散貨日常運(yùn)作、調(diào)度、堆場(chǎng)、車隊(duì)、財(cái)務(wù)費(fèi)用、相關(guān)報(bào)表等業(yè)務(wù)管理,結(jié)合碼頭的業(yè)務(wù)特點(diǎn),圍繞調(diào)度、堆場(chǎng)作業(yè)而開發(fā)的。集技術(shù)的先進(jìn)性、管理的有效性于一體,是物流碼頭及其他港口類企業(yè)的高效ERP管理信息系統(tǒng)。
點(diǎn)晴WMS倉(cāng)儲(chǔ)管理系統(tǒng)提供了貨物產(chǎn)品管理,銷售管理,采購(gòu)管理,倉(cāng)儲(chǔ)管理,倉(cāng)庫管理,保質(zhì)期管理,貨位管理,庫位管理,生產(chǎn)管理,WMS管理系統(tǒng),標(biāo)簽打印,條形碼,二維碼管理,批號(hào)管理軟件。
點(diǎn)晴免費(fèi)OA是一款軟件和通用服務(wù)都免費(fèi),不限功能、不限時(shí)間、不限用戶的免費(fèi)OA協(xié)同辦公管理系統(tǒng)。
Copyright 2010-2025 ClickSun All Rights Reserved