- Home
- Barcode Control
- Barcode Technology
- Barcode News
- Our Partners
- Contact Us
- Problems
- Tel: 010-84827961
Current Location: Barcode Control net > Barcode Control Technical Articles > > body teach you to read Code128 barcode publishing time:2014-10-28 Code128 code into three categories, i.e. 128A, 128B, 128C. The difference is that the corresponding character map is not the same. So how do you read Code128 yards? Take a look at the following picture: From left to right is a black and white bar code, black called "Bar" (B), White is called "Empty" (S). If you look closely, both the bar and the empty have 4 different widths. We give it a few values of 1, 2, 3, 4, from thin to coarse. Then we begin to read the bar code according to the value of the thickness, the result is as follows: 211232231131221213131222212222221224121213121211321132331112 Note the result is black and white. Don't just read the "article" and forget it's empty. There's a total of 61 people here. Code128 code has a first and a tail. The tail is always 2331112, which represents the end of Code128. The rest of the section is 6 bits for a block, including the head. There are 3 kinds of head: a) 211412 B) 211214 C) 211232. This indicates, respectively, what type this Code128 is. (ABC one of them) we will read out the code, remove the head and tail, re-divided the block: 231131 | 221213 | 131222 | 212222 | 221224 | 121213 | 121211 | 32113 is exactly 6 bits for a piece. The last block (except the trailing segment) is a check digit that checks whether the barcode is correctly encoded. Then, we have a character descriptor. (It should be said that I have this table) this character corresponds to what each number represents. This is the code128c type. C-Codes are purely numeric, and each block corresponds to a 2-digit number. Check the table can be 50 09 05 00 01 91 91. With this knowledge, we can try to write a program to generate barcodes and identify barcodes. In fact, the generation is relatively simple, and the identification is more troublesome. Usually the supermarket uses the barcode gun, through the optical principle to the barcode recognition, because the black and white stripe's reflective characteristic is different. If you use software to identify images, it can be a bit of a hassle. But that's exactly what we're going to do. : Code128 character list: You can see that Class A and Class B are the same from the first 64 characters of 0-63. Some of these control characters, such as COdea represents a block in this field that temporarily uses characters from the code128a character table. There are some other, not very common, interested friends who can refer to the GBT 15425-2002 EAN UCC System 128 code standard. NOTE: ABC is 128A class, 128B class, 128C class character descriptor. Some class B characters are empty and the same as Class A. b,s,b,s,b,s//A b C 2,1,2,2,2,2,//sp 00 2,2,2,1,2,2,// ! 2,2,2,2,2,1,//" 1,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 4,3,1,1,1,1,//^ 1,1,1,2,2,4,//_ 63 1,1,1,4,2 , 2,//NUL ' 1,2,1,1,2,4,//SOH A 1,2,1,4,2,1,//STX B 1,4,1,1,2,2,//ETX C 1,4,1,2,2,1,//EOT D 1,1,2,2,1,4,//ENQ E &NBSp 1,1,2,4,1,2,//ACK F 1,2,2,1,1,4,//BEL g 1,2,2,4,1,1,//BS &nbs P;h 1,4,2,1,1,2,//HT i 1,4,2,2,1,1,//LF j 74 2 , 4,1,2,1,1,//VT k 2,2,1,1,1,4,//FF l /4,1,3,1,1,1,//CR   ; m 2,4,1,1,1,2,//so n 1,3,4,1,1,1,//SI o 1,1,1,2,4,2,//DLE p 1,2,1,1,4,2,//DC1 q Bayi 1,2,1,2,4,1,//DC2 R & nbsp 1,1,4,2,1,2,//DC3 s 1,2,4,1,1,2,//DC4 t 1,2,4,2,1,1,//NAK &NB Sp U 4,1,1,2,1,2,//SYN v 4,2,1,1,1,2,//ETB W 87 4,2,1,2,1,1,/ /CAN x 2,1,2,1,3,1,//EM y 2,1,4,1,2,1,//SUB Z   ; 90 4,1, 2,1,2,1,//ESC { 1,1,1,1,4,3,//FS | 1,1,1,3,4,1,//GS &NBSP ;} 1,3,1,1,4,1,//RS ~ 94 1,1,4,1,1,3,//US del 95 1,1,4,3,1, 1,//FNC3 fnc3 96 4,1,1,1,1,3,//FNC2 fnc2 97 4,1,1,3,1,1,//shift shift 98 1,1,3,1,4,1,//CodeC C Odec 1,1,4,1,3,1,//codeb FNC4 codeb 3,1,1,1,4,1,//FNC4 codea codea 4,1,1,1,3,1,//FNC1 FNC1 F NC1 2,1,1,4,1,2,// starta 2,1,1,2,1,4,// &NBSP;STARTB 2,1,1,2,3,2,// &NBSP ; STARTC 2,3,3,1,1,1,2,// Stop
- Previous: Two-dimensional barcode recognition system design principle
- Next article:
Featured Products
- Barcode Xpress
- Datamatrix Fontware
- Aspose.barcode. Net
- Vintasoftbarcode.net Library
- Barcode Reader SDK for. NET
- Barcode Professional for Silverlight
- Barcode Professional for WPF
Barcode Control News
- Add barcode generation and print functionality to. NET application Control barcode Professional for Windows forms update
- Aspose.barcode for Reporting Services update Barcode control preview mode
- Aspose.barcode control update improves Silverlight architecture stability and quality
- QR code high Efficiency low cost features may replace barcode
- Great potential for barcode scanning technology
- Check the barcode to check the true and false consumption trap
- How is the barcode applied?
- Labeling method based on unique thermal properties of nanoparticles invisible barcode
- Barcode Control Aspose.barcode Update improves the performance of datamatrix processing large pictures
- Mobile phone barcode can open supermarket locker
More
Barcode Control Development Code
- [C # code] Vintasoftbarcode.net reading the barcode from the picture file
- [C # code] Vintasoftbarcode.net reading barcodes from multi-page TIFF files
- Neodynamic Barcode Identification A simple example code
- Binding bar code data to a WPF XML source
- Print vector barcodes in a console program or Windows service
- . NET Drawing EAN13 Commodity Barcode Technology code example
- Barcode Barcode Making Tutorial
- Java generates Jbarcode barcode code
- EAN13 Barcode Generation Barcode Control Application Example
- PPLB Vertical Printer C # Barcode printing code
More
- Two-dimensional code control
- Barcode Software
- Barcode Control
- Contact Us
- Add to Favorites
- Site Map
Beijing long Bo Zhongke Software Co., Ltd. website
Webmaster Statistics
Share toShare to:
Teach you to read Code128 barcode