请问条形码的问题。各位帮帮忙

问题描述

stringstrTmp=str.ToString();stringcode=strTmp;strTmp=strTmp.ToLower();doubleheight=ch;doublewidth=cw;strTmp=strTmp.Replace("0","_|_|__||_||_|");;strTmp=strTmp.Replace("1","_||_|__|_|_||");strTmp=strTmp.Replace("2","_|_||__|_|_||");strTmp=strTmp.Replace("3","_||_||__|_|_|");strTmp=strTmp.Replace("4","_|_|__||_|_||");strTmp=strTmp.Replace("5","_||_|__||_|_|");strTmp=strTmp.Replace("7","_|_|__|_||_||");strTmp=strTmp.Replace("6","_|_||__||_|_|");strTmp=strTmp.Replace("8","_||_|__|_||_|");strTmp=strTmp.Replace("9","_|_||__|_||_|");strTmp=strTmp.Replace("a","_||_|_|__|_||");strTmp=strTmp.Replace("b","_|_||_|__|_||");strTmp=strTmp.Replace("c","_||_||_|__|_|");strTmp=strTmp.Replace("d","_|_|_||__|_||");strTmp=strTmp.Replace("e","_||_|_||__|_|");strTmp=strTmp.Replace("f","_|_||_||__|_|");strTmp=strTmp.Replace("g","_|_|_|__||_||");strTmp=strTmp.Replace("h","_||_|_|__||_|");strTmp=strTmp.Replace("i","_|_||_|__||_|");strTmp=strTmp.Replace("j","_|_|_||__||_|");strTmp=strTmp.Replace("k","_||_|_|_|__||");strTmp=strTmp.Replace("l","_|_||_|_|__||");strTmp=strTmp.Replace("m","_||_||_|_|__|");strTmp=strTmp.Replace("n","_|_|_||_|__||");strTmp=strTmp.Replace("o","_||_|_||_|__|");strTmp=strTmp.Replace("p","_|_||_||_|__|");strTmp=strTmp.Replace("r","_||_|_|_||__|");strTmp=strTmp.Replace("q","_|_|_|_||__||");strTmp=strTmp.Replace("s","_|_||_|_||__|");strTmp=strTmp.Replace("t","_|_|_||_||__|");strTmp=strTmp.Replace("u","_||__|_|_|_||");strTmp=strTmp.Replace("v","_|__||_|_|_||");strTmp=strTmp.Replace("w","_||__||_|_|_|");strTmp=strTmp.Replace("x","_|__|_||_|_||");strTmp=strTmp.Replace("y","_||__|_||_|_|");strTmp=strTmp.Replace("z","_|__||_||_|_|");strTmp=strTmp.Replace("-","_|__|_|_||_||");strTmp=strTmp.Replace("*","_|__|_||_||_|");strTmp=strTmp.Replace("/","_|__|__|_|__|");strTmp=strTmp.Replace("%","_|_|__|__|__|");strTmp=strTmp.Replace("+","_|__|_|__|__|");strTmp=strTmp.Replace(".","_||__|_|_||_|");strTmp=strTmp.Replace("_","<spanstyle='height:"+height+"mm;width:"+width+"mm;background:#FFFFFF;'></span>");strTmp=strTmp.Replace("|","<spanstyle='height:"+height+"mm;width:"+width+"mm;background:#000000;'></span>");if(type_code==1){returnstrTmp+"<BR>"+code;}else{returnstrTmp;}

请问这样的条形码是遵守什么标准。在读码器中读不出来,

解决方案

解决方案二:
楼主问题很尖锐。..俺真没办法拿个扫描枪过来给你测一下

时间: 2024-08-03 21:09:18

请问条形码的问题。各位帮帮忙的相关文章

json-各位大神 请问我序列化时数据库数据应该做成什么格式的呢?帮帮忙 小弟初学

问题描述 各位大神 请问我序列化时数据库数据应该做成什么格式的呢?帮帮忙 小弟初学 我要从数据库中将数据放到datetable中然后序列化成下边这种json格式的数据 请问我数据库中数据应该怎么存贮呢? . json数据 [{"CountryName": "阿拉伯联合酋长国","Province": [{"ProvinceName": "Bahrani","City": [{"

c++-请问我的list为什么popback会不好使,请麻烦各位帮帮忙,谢谢

问题描述 请问我的list为什么popback会不好使,请麻烦各位帮帮忙,谢谢 #include using namespace std; template struct list_node { list_node* next; // 指向下一个节点的指针 list_node* prev; // 指向前一个节点的指针 T data; //list 数据 }; template class list; template class list_iterator { public: friend cl

各位大虾帮帮忙!:) 请问在水晶报表里如何使用得到这个函数呢? padleft(*,&amp;amp;quot;*&amp;amp;quot;)

问题描述 请问在水晶报表里如何使用得到这个函数呢?padleft(*,"*")急用!请各位大虾帮帮忙~~先谢了! 解决方案 解决方案二:先使用Length函数求长度,再加上指定个数的字符即可解决方案三:该回复于2014-07-18 10:31:24被版主删除解决方案四:该回复于2015-08-29 09:06:28被版主删除

重复包含-刚入门学习c++,出现了问题,各位高手来帮帮忙,谢谢

问题描述 刚入门学习c++,出现了问题,各位高手来帮帮忙,谢谢 ==10.cpp #include #include #include "10.h" using namespace std; using namespace A_A; extern void geta(A22&); int AA::aa = 0; AA::AA(char* ss) { strcpy(s,ss); } void A22::show() const { cout<<aa<<en

c++-关于clang语法树AST操作。求大神帮帮忙。

问题描述 关于clang语法树AST操作.求大神帮帮忙. 我需要将c++代码利用clang生成语法树,在语法树上进行改动,再变回代码. 请问应该怎么做? clang生成的语法树信息存在哪里,怎么提取?怎么将AST再转成c++代码?

android线程的问题 大哥大姐帮帮忙

问题描述 android线程的问题 大哥大姐帮帮忙 public class MainActivity extends Activity { static final String UPPER_NUM="upper"; EditText et; CalThread calThread; //定义一个线程类 class CalThread extends Thread{ public Handler handler; public void run(){ Looper.prepare()

strcpy-新人求好心好心大神帮帮忙 Visual C遇到char溢出问题

问题描述 新人求好心好心大神帮帮忙 Visual C遇到char溢出问题 我遇到一个好纠结的问题,一直不知道原因在哪,蛋都碎了: 主工程: char Msg[1024]; check(Msg);//dll Addstring(Msg): DLL: int check(*msg) { cstring buff=""; strcpy(msg,""): buff.format("xxxxxx%d,%d",int1,int2); strcat(msg,&

new-请问各位大师,程序应该怎样改才能运行稍大一点的皇后数?额外的申请空间该怎样解决?拜托大家帮帮忙

问题描述 请问各位大师,程序应该怎样改才能运行稍大一点的皇后数?额外的申请空间该怎样解决?拜托大家帮帮忙 #include #include using namespace std; int n; class ResultTreeNode{public: int *result; //存储结果,result[i]=k 表示第 i+1 排第 k+1 个位置摆个皇后 int currRow; //当前记录的结果到了第几行 : 1~n ~ResultTreeNode() { if (result!=N

menu-熟悉android5.0或者对源码熟悉的大神帮帮忙。。。。。困扰好几天了。。。。在下感激不尽

问题描述 熟悉android5.0或者对源码熟悉的大神帮帮忙.....困扰好几天了....在下感激不尽 问题描述:android5.0将Menu键取消之后,公司里面在底层加了一个实现Menu的按钮. 放在了actionBar的overflow的位置,虽然它是调用系统的....但显示的位置是在那 个地方...现在的问题是要怎么改变他设计的Menu Button的样式和颜色...(这个样式 是画出来的..),我曾经用Menu的overflow的src属性去覆盖它...但是切屏之后 会消失,而且不能再

工具-如何实现这样一个数据列表,请大神帮帮忙

问题描述 如何实现这样一个数据列表,请大神帮帮忙 各位大神,小弟最近需要弄个数据列表,具体需求是从数据库中查询数据生成表格,这个数据时一行一行的.表格生成之后需要按照某一列的单元格内容进行分组,分组之后的数据可以折叠展开以方便查看(类似excel中行组合). 取数我还勉强能弄,但是前端分组+折叠/展开的功能实在是不会弄(原谅我是个小白,弄不出来就要失业了).请问有什么好的思路或者是现成的工具可以实现这个需求? 解决方案 什么语言什么平台没有说,假设你要的是web的http://download.