交叉25码(ITF)编码方式
- 格式:doc
- 大小:48.00 KB
- 文档页数:4
交叉25码编码规则
交叉25码是一种线性分组码,其编码规则和纠正错误的方法具有较高的实用价值。
下面将详细介绍交叉25码的编码规则,包括生成码字、计算冗余位、校验和、编码规则以及纠正错误等方面。
1.生成码字
交叉25码的生成码字采用多项式编码方法,其生成多项式为x^25 + x^10 + 1。
在编码过程中,将输入数据分成5位一组,然后根据生成多项式进行编码,得到5位长的码字。
每个码字的第5位是冗余位,后面的码字以循环移位的方式产生。
2.计算冗余位
交叉25码的冗余位是通过对前一个码字的最后4位进行异或运算得到的。
具体来说,每个码字的第5位是前一个码字的第1位和第4位的异或值。
这种冗余位的计算方法可以增加码字的纠错能力。
3.校验和
交叉25码的校验和采用奇校验方式。
具体来说,将每个码字的二进制值相加,然后取模2得到校验和。
如果校验和为0,则表示该码字是正确的;如果校验和为1,则表示该码字有错误。
4.编码规则
交叉25码的编码规则是将输入数据分成5位一组,然后根据生成多项式进行编码。
对于每个码字,第1位为数据位,后面4位为冗余位。
冗余位的计算方法是将前一个码字的最后4位进行异或运算得到。
5.纠正错误
交叉25码可以纠正一位错误和检测两位错误。
当接收到的码字存在一位错误时,可以通过对第5位进行异或运算得到正确的码字。
当接收到的码字存在两位错误时,可以通过对第4位和第5位进行异或运算得到正确的码字。
如果存在两位以上的错误,交叉25码无法纠正错误。
有关“工业条码”的种类
有关“工业条码”的种类如下:
1.Code39 码(标准39 码):这是一种常见的条码类型,可表示数字、字母等信息,广
泛应用于工业、图书及票证的自动化管理。
2.Codabar 码(库德巴码):主要用于表示数字信息,常用于物流、仓储等领域。
3.Code25 码(标准25 码):包含两个粗条和三个细条,条之间的间距是固定宽度。
曾
经被广泛使用,但由于其密度低,现在可能不那么受欢迎。
然而,它仍在一些仓库中使用。
4.ITF25 码(交叉25 码):与工业25码类似,但采用不同的启始符和终止符。
5.Matrix25 码:这是另一种数字型条码,只能表示数字0到9。
当采用Matrix25码的编
码规范,而采用ITF25码的启始符和终止符时,生成的条码就是中国邮政码。
6.UPC-A 码和UPC-E 码:UPC码是美国统一代码委员会制定的一种商品用条码,主要用
于美国和加拿大地区。
UPC-A码包含12位数字,而UPC-E码是UPC-A码的缩短版,仅包含6位数字。
7.EAN-13 码和EAN-8 码:EAN码是国际物品编码协会制定的一种商品用条码,通用于
全世界。
EAN-13码是标准版,包含13位数字,而EAN-8码是缩短版,包含8位数字。
我国的通用商品条码与其等效,日常购买的商品包装上所印的条码一般就是EAN 码。
8.PDF417:这是一种二维条码,由美国SYMBOL公司发明。
PDF417条码由4个条和4个
空共17个模块构成,可以表示数字、字母或二进制数据,也可表示汉字。
如何在条码打印软件中制作带有外围框的交叉25码条码交叉25码条码打印软件条码是我们现如今用途最广泛的标识。
也是智能化管理一大突破。
至今使用的条码类型非常多。
随着各行业的发展,智能化普及以及经济的多样性,形成了如今类型繁多的条码。
不同的行业,条码类型不同,有根据其应用范围的精细分类,划分出了多种条码类型。
比如说可以显示商品生产地制造厂家、商品名称的商品条码;用来管理书刊图书的条码;用来记录永久起止点、类别等信息的条码;还有就是用来进行物流管理的条码等等。
所以条码在很多领域都得到了快速发展和应用。
作为主要用来进行集装箱标识、运输的交叉25码也是众多条码中的一种。
根据用户的需求,交叉25码在条码打印软件中的表现形态也有多种。
在条码打印软件中制作这类条码的时候,有些不带外围框,有些则带有外围框。
交叉25码在码制上实际是ITF码制的一类。
它是基于标准25码的一种非定长、连续、具有自动校验功能的双向条码类型。
这类条码是高密度条码,可以嵌入任意数量数字,并且长度可变,属于数字条码,也就是说它的条码内容是0-9这些数字。
之所以称这种条码位双向条码是因为,标准25码是用“黑色条”来表示0-9的,而交叉25码即用“黑色条”,也用“空白条”来表示0-9这些数字。
一般在物流管理中常采用交叉二五码,它的特点是符号占用空间小,信息密度较大。
在条码打印软件中会用interleaved 2 of 5这类表达方式表示交叉25码。
这种条码外形有时根据需要会在外围加上条码框。
那么如上图所示的这种类型的交叉25码,在领跑标签条码打印软件中的设置方法为:1、打开领跑标签条码打印软件,在空白标签文档里里绘制一维码。
然后右击条码,选择属性,打开图形属性,如下图所示。
在该窗口可以对条码的位置,尺寸,外观,颜色,内容,字体大小,字体颜色等等进行设置。
2在条码打印软件中选择条码类型,并对条码内容进行输入编辑。
在图形属性窗口下,选择“条码”,然后在条码类型中选择interleaved 2 of 5(交叉25码)。
交插25码
交插25码是连续型、非定长、具有自动校验功能的双向条码,交叉25码的编码是以两个字符为一组(上下各一个)进行编码,其中一个字符以条编码,另一个字符以空编码,每个字符由5个单元组成(3个窄单元,2个宽单元),两个字符的条空相互交叉组合在一起。
交叉25码的起始符窄条--窄空--窄条--窄空;终止符宽条--窄空--窄条
交插25码的字符集包括数字0到9如下图示
0~9与条或空的关系是什么?
奇数位用条表示,偶数位用空表示;若字符个数是奇数,前面补0。
分析0~9与条或空关系,过程如下:
1奇数位用条表示:宽—窄---窄--窄---宽 10001
2偶数位用空表示:窄---宽---窄--窄---宽01001
3奇数位用条表示:宽---宽---窄—窄--窄11000
4偶数位用空表示:窄—窄--宽---窄---宽00101
5奇数位用条表示:宽---窄--宽—窄---窄10100
6奇数位用空表示:窄--宽—宽---窄---窄01100
7奇数位用条表示:窄—窄---窄--宽--宽00011
8偶数位用空表示:宽--窄—窄--宽----窄10010
9奇数位用条表示:窄—宽--窄--宽----窄01010
0偶数位用空表示:窄--窄—宽--宽----窄00110
在一个图里描术如下:
实例分析
图2.7中0、2、1、5对应的宽窄表示如下:
0奇数位用条表示:窄--窄--宽--宽--窄00110 2偶数位用空表示:窄--宽--窄--窄--宽01001 5奇数位用条表示:宽--窄--宽--窄--窄10100 1偶数位用空表示:宽--窄--窄--窄--宽10001 上述数值与前面0至9数值的分析是一致的。
交插25码
交插25码是连续型、非定长、具有自动校验功能的双向条码,交叉25码的编码是以两个字符为一组(上下各一个)进行编码,其中一个字符以条编码,另一个字符以空编码,每个字符由5个单元组成(3个窄单元,2个宽单元),两个字符的条空相互交叉组合在一起。
交叉25码的起始符窄条--窄空--窄条--窄空;终止符宽条--窄空--窄条
交插25码的字符集包括数字0到9如下图示
0~9与条或空的关系是什么?
奇数位用条表示,偶数位用空表示;若字符个数是奇数,前面补0。
分析0~9与条或空关系,过程如下:
1奇数位用条表示:宽—窄---窄--窄---宽 10001
2偶数位用空表示:窄---宽---窄--窄---宽01001
3奇数位用条表示:宽---宽---窄—窄--窄11000
4偶数位用空表示:窄—窄--宽---窄---宽00101
5奇数位用条表示:宽---窄--宽—窄---窄10100
6奇数位用空表示:窄--宽—宽---窄---窄01100
7奇数位用条表示:窄—窄---窄--宽--宽00011
8偶数位用空表示:宽--窄—窄--宽----窄10010
9奇数位用条表示:窄—宽--窄--宽----窄01010
0偶数位用空表示:窄--窄—宽--宽----窄00110
在一个图里描术如下:
实例分析
图2.7中0、2、1、5对应的宽窄表示如下:
0奇数位用条表示:窄--窄--宽--宽--窄00110 2偶数位用空表示:窄--宽--窄--窄--宽01001 5奇数位用条表示:宽--窄--宽--窄--窄10100 1偶数位用空表示:宽--窄--窄--窄--宽10001 上述数值与前面0至9数值的分析是一致的。
交叉25码
编辑:國聚科技日期:2010-03-10
所谓Interleave,意思是指在过去的原色版画集等中,为了使墨水不洇入相邻页,而在每一页中夹入的白纸,Interleaved表示已经夹入了白纸的意思。
正如其名,在表示前字符的黑条之间夹入表示后字符的白条,用5个黑条和5个白条表示2位数字。
由于外观上可用5个条表示2位数字,因此与其它的2of5相比密度要高。
由于能够通过二进制级别的条形码进行较为粗糙的印刷,因此多使用于UPC标准物流代码及日本的标准物流符号等包装箱印刷中。
Interleaved 2 of 5 条形码长度没有限制,但是其资料内容必须为偶位数、条形码长度较短,因为交错式且2码为一组条形码较节省空间。
条码生成规则
序列号:2345678
校验位:
1、序列号奇数位的总和乘以3
2、序列号偶数位的总和
3、步骤1+步骤2的总和
4、步骤3的值,整除10,所得余数即为校验位
条码生成:
有校验规则时,序列号必须为奇数位,用校验位在序列号后面补齐,使之成为偶数位。
没有校验规则,系列号必须为偶数位。
条码是按序列号两两校验生成的,按照下面的对应规,两位数字代表的ITF CODE码对应的ASCII码为条码字符,按下表生成字符串之后,在前后交上START “Ë”,STOP
“ Ì”,即为生成的I25F码。
例如:2345678
1、(2+4+6+8)*3=60
2、3+5+7=15
3、(10-(60+15)%10)%10=5
4、加校验位系列号为23456785
5、23->’8’,45->’N’,67->’d’,85->’v’23456785 Ë8NdvÌË8NdvÌ。
交叉二五码实验报告专业班级姓名学号课程物流供应链管理与编码技术指导教师一、实验题目交叉二五码实验二、实验目的熟悉并掌握交叉二五码的编码方式,在编码实验的过程中体现编码原则,最终生成交叉二五码。
三、实验原理交叉25码是一种高密度的,可以嵌入任意数量数字的,长度可变化的数字条形码。
该条形码是基于标准25码的规范改进而得来,它比标准25码有更高的密度与数据存储能力。
交叉25码主要运用在物流行业与仓储业中。
标准25码只用黑色条码代表数字0-9,而交叉25码既使用黑色条码也使用白色条码来代表0-9的数字。
例如,标准25码会用前五个黑色条码表示第一个数字,用紧接着的五个黑色条码表示第二个数字;而交叉25码是使用前五条黑色条码表示第一个数字,而用介于前五个黑色条码中的白色条码表示第二个数字。
这也是交叉25码名称的来源。
交叉25码是连续型、非定长、具有自动校验功能的双向条码,交叉25码的编码是以两个字符为一组(上下各一个)进行编码,其中一个字符以条编码,另一个字符以空编码,每个字符由5个单元组成(3个窄单元,2个宽单元),两个字符的条空相互交叉组合在一起。
交叉25码的起始符为:窄条--窄空--窄条--窄空,0000交叉25码的终止符为:宽条--窄空--窄条,100交插25码的字符集包括数字0到9如下图示:起始符:0000,非条码字符,终止符:100,非条码字符。
奇数:条;偶数位:空字符集;数字0~9宽度调节编码法:编码方法以窄单元(条或空)表示逻辑值“0”,宽单元(条或空)表示逻辑值“1”。
宽单元通常是窄单元的2~3倍。
0~9与条或空的关系分析例子如下:0偶数位用空表示:窄—窄—宽—宽—窄001101奇数位用条表示:宽—窄—窄—窄—宽 100012偶数位用空表示:窄—宽—窄—窄—宽010013奇数位用条表示:宽—宽—窄—窄—窄110004偶数位用空表示:窄—窄—宽—窄—宽001015奇数位用条表示:宽—窄—宽—窄—窄101006奇数位用空表示:窄—宽—宽—窄—窄011007奇数位用条表示:窄—窄—窄—宽—宽000118偶数位用空表示:宽—窄—窄—宽—窄100109奇数位用条表示:窄—宽—窄—宽—窄01010总结:起始—00001—100012—010013—110004—001015—101006—011007—000118—100109—010100—00110终止—100四、实验步骤1.先打开visual c++并新建项目。
code25码编码标准-回复代码25码(Code 25)编码标准,是一种离散字符编码方案,用于在条码和标签上的数据传输和识别。
25码编码标准由两个宽度相等的条和间隙组成,每个字符由5个单元组成,每个单元可以是条或者间隙。
本文将详细介绍25码编码标准的原理和应用。
第一步,我们先了解25码编码标准的基本结构和字符集。
25码编码标准由数字0-9和特殊字符*+-./组成。
其中,数字字符由5个单元的条/间隙组合表示,特殊字符有不同的表示方式。
在25码中,每个字符的起始和结束都有一个条作为起点和终点的标识。
接下来,我们介绍25码编码标准的字符表示方法。
对于数字0-9,每个字符使用5个单元的条/间隙组合表示,每个单元可以是短条(1)或者短间隙(0)。
例如,数字0的编码是00011,数字1的编码是10001,以此类推。
对于特殊字符,每个字符的编码方式不同,比如的编码是11010,-的编码是01100。
第三步,我们介绍25码编码标准的校验码。
校验码是为了验证条码的准确性而添加的,它能够帮助检测和修正输入错误。
25码编码标准中的校验码使用算法来计算得出。
校验码的计算通常基于字符的位置和权重,通过将字符和权重相乘,将结果相加,然后取余数得到校验码。
校验码可以在条码中加一个特殊字符来表示。
第四步,我们了解25码编码标准在实际应用中的应用情况。
25码编码标准广泛应用于零售业、物流和仓储管理等领域。
在零售业中,25码常用于商品标签上的条码,供销售员快速扫描和检查商品信息。
在物流和仓储管理中,25码用于标识存储和运输中的包裹和货物,以便跟踪和管理。
第五步,我们介绍25码编码标准的优点和缺点。
25码编码标准具有编码简单、可靠性高、扫描速度快的优点。
它适用于需要快速读取和识别的场景。
然而,25码编码标准的字符密度较低,占用空间较大,不能表示较大字符集,这是它的一个缺点。
最后,总结一下25码编码标准的重要性和应用前景。
25码编码标准是一种常用的条码编码标准,具有广泛的应用前景。
条码生成器如何生成交叉25码(code 2 of 5 Interleaved)
交叉25码(code 2 of 5 Interleaved)是一种黑色线条(Bar)和白色线条(Space)都可以表示信息的高密度、连续、非定长具有自校验功能的双向条形码,广泛应用于仓储、包装、运输等领域。
交叉25码由左侧空白区、起始符、数据符、终止符及右侧空白区构成,第一个数字编码在黑色线条中,第二个编码在白色线条中,这种自检代码提供了高数据容量。
因此,交叉25码只能编码偶数个数字,如果位数是奇数,则前面会自动插入零。
接下来我们看一下条码生成器中生成交叉25码(code 2 of 5 Interleaved)的方法。
在条码生成器中新建标签,设置标签大小行列等信息,标签新建完成之后是一个空白标签,我们可以通过左边工具栏的“绘制一维条码”按钮生成交叉25码。
条码生成器生成的条形码默认的类型是code128,所以我们需要打开条形
码属性,把条形码类型修改为交叉25码(code 2 of 5 Interleaved)。
关于交叉25码的数据可以在条形码属性-数据源中修改添加,数据对象类型支持“手动输入”“数据库导入”“随机生成”“序列生成”等等。
其中“数据库导入”又包含多种方式(TXT、Excel、MySQL、SQL Server等)具体的操作方法可以参考视频教程:如何导入Excel表数据批量生成条形码。
最后通过中琅条码生成器的打印预览按钮,预览查看一下批量生成的交叉25码。
以上就是条码生成器中生成交叉25码(code 2 of 5 Interleaved)的步骤,条形码生成之后,可在条码生成器中直接打印出来,或者输出PDF文档、图片、PPML文档保存。
条形码技术是一种使可以收集数据的识别方法。
不同行业的条形码标准格式都是有所不同的:代码条代码条格式通常用于图书馆、血库以及空运业务。
长度可变的格式允许对下列20 种字符进行编码:0123456789-$:/.+ABCD。
代码条信息的起始字符与结束字符必须为A、B、C 或D。
代码25Code 25(也称为Code 2 of 5)是一种不连续的、长度可变的数字代码格式。
代码25 格式由每个编码字符全部五种条形码中的两种粗条形码组成。
它主要用于库存处理、照片处理封套的识别、航空票务以及行李与货物处理。
代码39Code 39(也称为Code 3 of 9)是在库存及跟踪的非零售市场中使用最普遍的格式。
此格式由三个粗元素(条形码或空格)组成,每个编码字符共有9 个元素。
这种条形码广泛用于制造、军事和医疗应用中。
这种不连续的、长度可变的格式接受下列43 个字符:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.*$/+%星号(*) 用作起始/结束字符,因此不能在条形码正文中使用。
您也可以添加有助于确保条形码安全性的检查数字。
代码39 支持美国海关进出口货物所使用的43 模和xxx-nnnnnnn-c 检查数字格式。
代码128代码128 是一种在航运业和标签业中使用的长度可变的、高密度的字母数字格式。
此代码有106 种条形码和空白图样。
每种图样都可具有三种含义中的一种,具体取决于应用这三个字符集中的哪一个字符集。
一个字符集对所有大写和ASCII 控制符进行编码;另一个对所有大小写字符进行编码;第三个则对介于00 - 99 之间的数字对进行编码。
使用的字符集由起始字符决定。
代码128 还允许您对下列四种功能码进行编码:FNC1 - 保留用于欧洲商品编码(EAN)FNC2 - 用于指示条形码阅读器将条形码符号中的消息与文本符号中的消息链接起来FNC3 - 用于指示条形码阅读器执行重置FNC4 - 在结算系统应用中使用代码128 格式的一种变化是EAN-128。
SCC-14码简单介绍及制作SCC-14(Shipping Container Code)是用于集装箱运输的编码,它并不是一种正式的条码码制,而是应用在某一领域的多种条码类型的统称。
按其用途可以有两种类型的条形码表示:ITF-14条码或UCC/EAN-128条码。
最广泛使用的表示是UCC/EAN-128格式,应用程序标识符(AI)01。
另一种ITF-14码,是基于交叉25码(Interleaved 2 of 5)的一种码制,也经常被使用。
在条码打印软件中,可以根据条码打印软件的具体情况选择适合的可以使用的条码类型来制作SCC-14码。
一、在条码打印软件中UCC/EAN-128码的表现形式。
一般在条码打印软件都有会UCC/EAN-128码,可以很容易的就找到。
比如说中琅条码打印软件二、在条码打印软件中ITF-14码的表现形式。
、在条码打印软件中同样可以用ITF-14码来表现SCC-14。
ITF-14码主要应用与运输包装,是一种连续型、定长、具有自校验功能,并且条、空都表示信息的双向条码。
ITF-14条码的条码字符集、条码字符的组成与交插二五码相同。
所以在条码打印软件中,如果没有ITF-14码可以用交叉25码(Interleaved 2 of 5)来表现这种条码。
而且在有些场合中会将ITF-14码码称为交叉25码。
是有别于EAN 、UPC条码的另一种形式的条码,是印刷条件较差,不允许印刷EAN-13和UPC-A条码时应选用的一种条码。
ITF-14码(Interleaved 2 of 5)以上就是SCC-14码的简单介绍。
具体的使用哪种条码类型来表现SCC-14码可以根据具体的应用需求来定。
在标签制作软件中,也可以制作这两种形式的条码。
以上图片就是用中琅条码打印软件制作的。
INTERLEAVED 2 OF 5 SYMBOLOGY(ITF)INTERLEAVED 2 OF 5 BACKGROUND INFORMATIONInterleaved 2 of 5 is a higher-density numeric symbology based upon the Standard 2 of 5 symbology. It is used primarily in the distribution and warehouse industry.Interleaved 2 of 5 encodes any even number of numeric characters in the widths (either narrow or wide) of the bars and spaces of the barcode. Unlike Standard 2 of 5, which only encodes information in the width of the bars, Interleaved 2 of 5 encodes data in the width of both the bars and spaces. This allows Interleaved 2 of 5 to achieve a somewhat higher density.The symbology is called "interleaved" because the first numeric data is encoded in the first 5 bars while the second numeric data is encoded in the first 5 spaces that separate the first 5 bars. Thus the first 5 bars and spaces actually encode two characters. This is also why the barcode can only encode an even number of data elements.A typical Interleaved 2 of 5 barcode is:Note that the above barcode is physically smaller than its equivalent representation using Standard 2 of 5.NOTE: Interleaved 2 of 5 is essentially identical to Standard 2 of 5 except for the fact that Interleaved 2 of 5 encodes information in both the bars and spaces while Standard 2 of 5 only encodes information in the bars. However, the encoding scheme is the same for both in terms of their use of wide and narrow elements for each element.COMPUTING THE CHECKSUM DIGITInterleaved 2 of 5 is similar to Standard 2 of 5 in the sense that it may include an optional modulo 10 check digit. Please see the section concerning Computing the Checksum digit in the Standard 2 of 5 page. The process for calculating the check digit is the same in Interleaved 2 of 5 as it is in Standard 2 of 5. And, like Standard 2 of 5, the checksum digit is optional.NOTE: In the case of Interleaved 2 of 5, the total length of the value to be encoded must be even. If you are going to compute and append a checksum value, the actual data itself must be odd in length such that when the additional checksum value is appended, the total length will be even.ENCODING THE SYMBOLIn the following text, we will discuss the encoding of the barcode by considering that the number "1" represents a "dark" or "bar" section of the barcode whereas a "0" represents a "light" or "space" section of the barcode. Thus the numbers 1101 represents a double-wide bar (11), followed by a single-wide space (0), followed by a single-wide bar (1). This would be printed in the barcode as:STRUCTURE OF AN INTERLEAVED 2 OF 5 BARCODEAn Interleaved 2 of 5 barcode has the following physical structure:1. Start character, encoded as 1010.2. Each pair of data characters is encoded (see encoding table below).3. Stop character, encoded as 1101.INTERLEAVED 2 OF 5 ENCODING TABLEThis table indicates how to encode each digit of an Interleaved 2 of 5 barcode. Note that theASCII CHARACTER BARCODE ENCODING0NNWWN 1WNNNW 2NWNNW 3WWNNN 4NNWNWNOTE: The above encoding table is identical to that used with Standard 2 of 5. The only difference is that Interleaved 2 of 5 interleaves the encodings in the bars and spaces whereas Standard 2 of 5 only encodes data in the bar widths.ENCODING EXAMPLEWe will now code the above example in Interleaved 2 of 5: "12345670". By this point we would already have calculated the checksum digit as "0" (the last digit of the barcode value) as illustrated in the checksum calculation section illustrated above.Now we need to encode each digit using the encoding table above:1. The digit "1" encoded in bars: WNNNW2. The digit "2" encoded in spaces: NWNNW3. The digit "3" encoded in bars: WWNNN4. The digit "4" encoded in spaces: NNWNW5. The digit "5" encoded in bars: WNWNN6. The digit "6" encoded in spaces: NWWNN7. The digit "7" encoded in bars: NNNWW8. The digit "0" encoded in spaces: NNWWNThat is to say the digits 1 and 2 are encoded together, 3 and 4 are encoded together, 5 and 6 are encoded together, and 7 and 0 are encoded together. The first digit of each pair is encoded in the width of the bars and the second digit of each pair is encoded in the width of the spaces.For example, in the case of the first two digits "12", we encode the "1" in the bars using the sequence WNNNW (Wide bar, narrow bar, narrow bar, narrow bar, wide bar). We encode the "2" in the spaces that separate the bars of the first digit. The digit "2" is encoded in spaces with the sequence NWNNW (narrow space, wide space, narrow space, narrow space, wide space).Assuming "1" is a narrow bar, "11" is a wide bar, "0" is a narrow space, and "00" is a wide space, the above would be encoded as follows:Thus encoding the first two data digits results in the sequence 11010010101100. In other words, a wide bar, a narrow space, a narrow bar, a wide space, a narrow bar, a narrow space,a narrow bar, a narrow space, a wide bar, a wide space.The process for the rest of the pairs of characters is the same. It results in the following:1. START CODE (always the same): 1010.2. 1st and 2nd Digits: 11010010101100.3. 3rd and 4th Digits: 11011010010100.4. 5th and 6th Digits: 11010011001010.5. 7th and 8th Digits: 10101001100110.6. STOP CODE (always the same): 1101.This is shown in the following graphical representation where the barcode has been sectioned-off into areas that reflect each of the 6 components just mentioned.。
条形码ITF-14码与交叉25码的关系
如下图:如何在交叉25码的条码上下方加上横条框?
这个条码确实是交叉25码,如果带有边框,可以把它归类于ITF-14条码类型。
ITF-14码是一个用交叉25码编码为全球贸易项目编号的一种一维条码。
ITF-14码将始终用14位数字编码。
GS1的GEPIR工具可以用来给用ITF-14符号编码的GTIN-14找出公司识别。
厚厚的黑色标志周围的边界被称为BearerBar。
一个BearerBar的目的是扳平的工作在符号的整个表面印刷板的压力,提高阅读帮助减少误读的可能性或短扫描时可能出现的偏态束扫描进入或可靠性退出通过其顶部或底部边缘的条码符号。
明白了这些区别,在Label mx条码软件中选择ITF-14就可以轻松制作出含上下的边框了交叉25码了。
除了上下方加横条之外,软件还可以选择四种加边框以及是否将条码数字放入边框内多种选择.
遇到同样问题的朋友可以试着使用上述方法来解决。
条码生成规则序列号:2345678校验位:1、序列号奇数位的总和乘以32、序列号偶数位的总和3、步骤1+步骤2的总和4、步骤3的值,整除10,所得余数即为校验位条码生成:有校验规则时,序列号必须为奇数位,用校验位在序列号后面补齐,使之成为偶数位。
没有校验规则,系列号必须为偶数位。
条码是按序列号两两校验生成的,按照下面的对应规,两位数字代表的ITF CODE码对应的ASCII码为条码字符,按下表生成字符串之后,在前后交上START “Ë”,STOP“ Ì”,即为生成的I25F码。
150048003006901020066f 160049003117101030067g 170050003227101040068h 180051003337201050069i 19005200344730106006A j 20005300355740107006B k 21005400366750108006C l 22005500377760109006D m 23005600388770110006E n 24005700399780111006F o 250058003A:7901120070p 260059003B;8001130071q 270060003C<8101140072r 280061003D=8201150073s 290062003E>8301160074t 300063003F?8401170075u 3100640040@8501180076v 3200650041A8601190077w 3300660042B8701200078x 3400670043C8801210079y 3500680044D890122007A z 3600690045E900123007B{ 3700700046F910124007C| 3800710047G920125007D} 3900720048H930126007E~ 4000730049I94019700C5Å410074004A J95019800C6Æ420075004B K96019900C7Ç430076004C L97020000C8È440077004D M98020100C9É例如:23456781、(2+4+6+8)*3=602、3+5+7=153、(10-(60+15)%10)%10=54、加校验位系列号为234567855、23->’8’,45->’N’,67->’d’,85->’v’。
INTERLEAVED 2 OF 5 SYMBOLOGY(ITF)INTERLEAVED 2 OF 5 BACKGROUND INFORMATIONInterleaved 2 of 5 is a higher-density numeric symbology based upon the Standard 2 of 5 symbology. It is used primarily in the distribution and warehouse industry.Interleaved 2 of 5 encodes any even number of numeric characters in the widths (either narrow or wide) of the bars and spaces of the barcode. Unlike Standard 2 of 5, which only encodes information in the width of the bars, Interleaved 2 of 5 encodes data in the width of both the bars and spaces. This allows Interleaved 2 of 5 to achieve a somewhat higher density.The symbology is called "interleaved" because the first numeric data is encoded in the first 5 bars while the second numeric data is encoded in the first 5 spaces that separate the first 5 bars. Thus the first 5 bars and spaces actually encode two characters. This is also why the barcode can only encode an even number of data elements.A typical Interleaved 2 of 5 barcode is:Note that the above barcode is physically smaller than its equivalent representation using Standard 2 of 5.NOTE: Interleaved 2 of 5 is essentially identical to Standard 2 of 5 except for the fact that Interleaved 2 of 5 encodes information in both the bars and spaces while Standard 2 of 5 only encodes information in the bars. However, the encoding scheme is the same for both in terms of their use of wide and narrow elements for each element.COMPUTING THE CHECKSUM DIGITInterleaved 2 of 5 is similar to Standard 2 of 5 in the sense that it may include an optional modulo 10 check digit. Please see the section concerning Computing the Checksum digit in the Standard 2 of 5 page. The process for calculating the check digit is the same in Interleaved 2 of 5 as it is in Standard 2 of 5. And, like Standard 2 of 5, the checksum digit is optional.NOTE: In the case of Interleaved 2 of 5, the total length of the value to be encoded must be even. If you are going to compute and append a checksum value, the actual data itself must be odd in length such that when the additional checksum value is appended, the total length will be even.ENCODING THE SYMBOLIn the following text, we will discuss the encoding of the barcode by considering that the number "1" represents a "dark" or "bar" section of the barcode whereas a "0" represents a "light" or "space" section of the barcode. Thus the numbers 1101 represents a double-wide bar (11), followed by a single-wide space (0), followed by a single-wide bar (1). This would be printed in the barcode as:STRUCTURE OF AN INTERLEAVED 2 OF 5 BARCODEAn Interleaved 2 of 5 barcode has the following physical structure:1. Start character, encoded as 1010.2. Each pair of data characters is encoded (see encoding table below).3. Stop character, encoded as 1101.INTERLEAVED 2 OF 5 ENCODING TABLEThis table indicates how to encode each digit of an Interleaved 2 of 5 barcode. Note that theASCII CHARACTER BARCODE ENCODING0NNWWN 1WNNNW 2NWNNW 3WWNNN 4NNWNWNOTE: The above encoding table is identical to that used with Standard 2 of 5. The only difference is that Interleaved 2 of 5 interleaves the encodings in the bars and spaces whereas Standard 2 of 5 only encodes data in the bar widths.ENCODING EXAMPLEWe will now code the above example in Interleaved 2 of 5: "12345670". By this point we would already have calculated the checksum digit as "0" (the last digit of the barcode value) as illustrated in the checksum calculation section illustrated above.Now we need to encode each digit using the encoding table above:1. The digit "1" encoded in bars: WNNNW2. The digit "2" encoded in spaces: NWNNW3. The digit "3" encoded in bars: WWNNN4. The digit "4" encoded in spaces: NNWNW5. The digit "5" encoded in bars: WNWNN6. The digit "6" encoded in spaces: NWWNN7. The digit "7" encoded in bars: NNNWW8. The digit "0" encoded in spaces: NNWWNThat is to say the digits 1 and 2 are encoded together, 3 and 4 are encoded together, 5 and 6 are encoded together, and 7 and 0 are encoded together. The first digit of each pair is encoded in the width of the bars and the second digit of each pair is encoded in the width of the spaces.For example, in the case of the first two digits "12", we encode the "1" in the bars using the sequence WNNNW (Wide bar, narrow bar, narrow bar, narrow bar, wide bar). We encode the "2" in the spaces that separate the bars of the first digit. The digit "2" is encoded in spaces with the sequence NWNNW (narrow space, wide space, narrow space, narrow space, wide space).Assuming "1" is a narrow bar, "11" is a wide bar, "0" is a narrow space, and "00" is a wide space, the above would be encoded as follows:Thus encoding the first two data digits results in the sequence 11010010101100. In other words, a wide bar, a narrow space, a narrow bar, a wide space, a narrow bar, a narrow space,a narrow bar, a narrow space, a wide bar, a wide space.The process for the rest of the pairs of characters is the same. It results in the following:1. START CODE (always the same): 1010.2. 1st and 2nd Digits: 11010010101100.3. 3rd and 4th Digits: 11011010010100.4. 5th and 6th Digits: 11010011001010.5. 7th and 8th Digits: 10101001100110.6. STOP CODE (always the same): 1101.This is shown in the following graphical representation where the barcode has been sectioned-off into areas that reflect each of the 6 components just mentioned.。