title>Code 128 - GB/T 18347-2001 - Chinese standardNet - bzxz.net
Home > GB > Code 128
Code 128

Basic Information

Standard ID: GB/T 18347-2001

Standard Name:Code 128

Chinese Name: 128条码

Standard category:National Standard (GB)

state:in force

Date of Release2001-04-09

Date of Implementation:2001-10-01

standard classification number

Standard ICS number:Information technology, office machinery and equipment >> 35.040 Character sets and information coding

Standard Classification Number:Comprehensive>>Basic Standards>>A24 Classification Code

associated standards

Procurement status:idt ISO/IEC 15417:2000

Publication information

publishing house:China Standards Press

other information

Release date:2001-04-09

Review date:2004-10-14

Drafting unit:China Article Numbering Center

Focal point unit:National Logistics Information Management Standardization Technical Committee

Publishing department:State Administration of Quality and Technical Supervision

competent authority:National Standardization Administration

Introduction to standards:

This standard specifies the technical requirements of 128 barcodes, including 128 barcode features, data character encoding, size, decoding algorithm, application parameters that users need to define, and code system identifier prefix string. This standard is applicable to automatic data collection in various fields. GB/T 18347-2001 128 barcodes GB/T18347-2001 Standard download decompression password: www.bzxz.net
This standard specifies the technical requirements of 128 barcodes, including 128 barcode features, data character encoding, size, decoding algorithm, application parameters that users need to define, and code system identifier prefix string. This standard is applicable to automatic data collection in various fields.


Some standard content:

National Standard of the People's Republic of China
GB/T18347—2001
idtIS0/1EC15417:2000
128 Barcode
Code128
Published on April 9, 2001
Implemented on October 1, 2001
State Administration of Quality and Technical Supervision
GB/T183472001
2 Referenced Standards
Terms and Terms
Technical Requirements||t 4.1 Benefits
Symbol Structure
4.3 Symbol Representation
4.4 Dimension Table
Reference Code Method
4.6 Special E Quantity
User Parameters
Data Transmission
Supplement A (Standard Usage)
128-bit Time Characteristics
Time Characteristics
B (Standard Usage) Appendix C (Standard Usage)
Symbol Identifiers
Appendix D (Suggested Use) Appendix E (Appendix for indication)
Relationship between character value and ASCII value
Appendix E (Appendix for indication of quantity)
Rules for minimizing case number length
Application F (Appendix for mixed sampling) GB/T15273.1 (Latin alphabet I) Character set User-defined application parameters
Appendix H (Appendix for indication of time) 128 Application guidelines GB/T183472001
This standard is equivalent to 150/EC15417:2000 E Information Technology - Automatic Identification and Data Collection Technology - 128 code, 128 code is a one-dimensional bar code that can represent various information. It can represent the ASCII symbol set and the extended ASCII symbol set, etc. It has the largest amount of information in all one-dimensional bar code systems. Therefore, 128 code is used for automatic data collection in various fields. Since 128 code has a wide range of applications, it has been widely used in the domestic screen, and it is technically relatively efficient, so this standard adopts the same standard. Before the formulation in 1994, GB/T15425-1994 (128 barcode) was a subset of 128 barcode. It was completely the same as 128 barcode in terms of bar and space combination, character set and other technical contents, but its application in China was limited to the EAN·UCC system. In order to meet the application requirements of 128 barcode in other fields other than EAN·UOC (such as medical and health, industrial production, etc.), the factory formulated 4 standards
Appendix A, Appendix Health and Appendix C of this standard are the most standard appendices, and Appendix D, Appendix F, Appendix G and Appendix B of this standard are the requirements of the standard. This standard was proposed and approved by the China Article Coding Center. The drafting unit of this standard is: China Article Coding Center . The main contributors to this standard are Guo Weidan, Zhang Zhanhai, Li Suoqi, Huang Zezhong GB/T183472001
ISO Foreword
ISO (International Organization for Standardization) and IEC (International Working Committee for Standardization) form a global standardization system. National organizations that are members of ISO and IEC participate in the development of international standards by establishing technical committees to deal with specific technical specifications during their respective organizations. ISO and IEC technical committees cooperate with each other in the creation of mutual interests. Other international organizations, governments, and ISO and IEC work together to draft international standards. The third part gives the period of ISO and IEC's instructions for drafting standards. In the field of information technology, ISO and IEC have established a joint technical committee ISO/IEC JTCL. The draft international standards adopted by the joint technical committee are subject to voting by national organizations. At least 75 national bodies are required to vote as an international standard.
1S0 and C should be noted that the international standard can be applied for by super units. 150 and 1EC are not responsible for stating any patent rights. The Joint Technical Committee (IS)/IEC/JTCI Information Technology Division SG31 Automatic Identification and Data Collection Technical Committee is currently preparing international standards. S0/1EC1517 is the standard for the standard A to C, which is the standard for the international standard. The appendix is ​​also included in the appendix. Scope. National Standard of the People's Republic of China. Code 126. GB/T 18347—2001. IDT IS0/1EC15417:2000. This standard defines the technical requirements for 128 bar codes, including 188 bar codes, digital format encoding, size, detailed code algorithm, application parameters defined by the user, and code system identification. This standard is applicable to various slow automatic data collection. 2 Reference standards
The clauses contained in the following standards, through the use of references in this standard, become the remaining text of this standard. When this standard is issued, the indicated texts are valid. All standard documents are designed to be used by all parties. The parties using this standard should explore the possibility of using the latest version of the following standards. GB/T1688-1998 Information technology - Seven-bit coded characters for information communication (e4V180/1EC646:1951) GB/T12906-2000 Bar code terminology
GB13900.1-1993 Information technology - Multiple-bit coded characters (UCS) - Part 1: Structure and basic multilingual plane (dt1S0/FC15645-:1993)
GB/T15273.1-1994
Single-bit byte code graphics - Part 1: Uniform information processing
(idt (50 3959-1,1987)
IS0/IEC15424 Information Technology
IS0/IEC15416
Information Technology
3 Terms and Definitions
Automatic Identification and Data Acquisition Technology
Automatic Identification and Data Acquisition Technology
This standard adopts the terms and definitions in GB/T 12905-000. 4 Technical Requirements
4.1 Bar Code Characteristics
The characteristics of the 128 bar code are as follows:
) Encodable character set:
New font/symbol identification
Bar code printing throughput test specification
1) All 128 ASCII characters, that is, characters with ASCII value L27, the same as GB1988-1998. 2) ASCll value coupons 2a to 2nd grade Ning characters can also be coded 3) 4 non-teaching character lines,
4) 4 character set selected characters.
5) 3 start characters, etc.
6) 1 stop character,
b) Numbering type: continuous end type,
) Each number (except the end character) is composed of 6 units, including 3 bars and 8 spaces, each bar (or chapter) is 1.2 in width, 3 to 4 modules,
National Quality and Technical Supervision and Approved on 2001-04-09 and 2001-10-01.
) Case verification: yes
e) Symbol length: variable,
0 bidirectional coded, even
GB/T 18347-2001
) Numbering effect symbol: one, required (model A1). h) Multiple characters, each line number has 11 modules (each line number has 5.5 modules), D non-data reserved: 3 non-module
42 zero number
18 The code number consists of the following parts:
a) left blank area,
b> start character, etc.
) One or more control characters representing the number extension and special character. d) Line number check character.
e) integer stop character.
)Right blank area
Figure 1 is a 128-bar code for encoding the text \AIM\. In the blank F area
Zhao Chu Zheng Zheng
The number is actually chargedbzxZ.net
The number is cast into service 7
Figure 1 represents the 128-bar code of \AIM\
Sea stop character part
4.3 Special number representation
Table 1 gives the end code word set of the 188-bar code, where the value in the unit width to represents the number of modules. 4.31 The number of characters in the number is the sum of the number of characters, the sum of the number of characters is the sum of the number of characters, the sum of the number of characters is the sum of the number of characters, the number of characters in ...
Figure 3 The equal sign character with a value of 5
GB/T18347—2001
Figure 4 is the symbol representation of the 12th complex code termination character, etc. 33589020
4.3-2 Digital abbreviation code
Representing the termination character 188 code number
The 12th line has 3 independent learning symbols, see Table 1 for set A, set 1 and set C, in the column where the learning character A, character set B and character set C are located, the selection method of representing the data character, etc. is given. The selection of the semi-special set depends on the start character STARTA (B is C) and the character CU is replaced DEA (n to C) is the conversion character. If the equal sign starts with the matching character STARTA, the character set A is first determined. If the line number starts with the starting character STARTB, the character set B is first determined. If the year number starts with the starting character STARTC, the character set C is first determined. By using the switch character CODFA (B or C) or the transfer character (SHT), the character set can be redefined in the symbol (see 4.3.4.2 for the use of these special characters). By using different starting characters, cut-off characters and conversion characters, different 12-digit special characters can represent the same number period, and it is not necessary to specify the use of the old character set in their position. The appendix gives the rules for minimizing the length of the code. The code group should be able to interpret the symbol for the valid combination of starting characters, initial stability and replacement strategies that are different from those described in the appendix. Each case is given a value, which is used to calculate the stored number verification function value. It is also used to provide conversion between ASCII values. (See Appendix D) 4.3.3 Character Set
4.3.31 Special A
Character A includes all human letters, numeric characters, reserved characters, and classic characters. Character set B includes all uppercase letters, punctuation marks, lowercase letters, etc. (A8CI value is 32-127) and 100 digits (00-99) and 3 special characters. When using character set C, use a special line to install two digits. t||rate special set
table 1128 bar code code character special fee
school special set
unit width
(module number)
bar. space row
Bsas8s1ax45s
school style
school difference dye
school symbol set
school special body
GB/T16347-2007
table (line)
single display solidity
half flower fluorine B||tt ||Student funds raised
(clearance)
5588050001543830m
Enjoyment value
Student medicine collection
Student collection A
Student income
GB/T18347—200
Table 1 (edited)
Student work collection B
Tuition fees
Net amount per gram
C (limited approval)
Competition, space holding list
Student meal value
CODR C
Study quantity
Study line set
Start A
eunt e
Start C
GB/T 163472001
Table <Continued)
AScll sales
Study special film 3
Single complete richness
(extreme skin number)
Home, empty shoe management
534538101
Li Nong Mian
Study Shu set
Word line A
GB/T 18347-2007
Table 1)
The main function of the character set B is to terminate the character set with 4 bars and 3 spaces, and the character set B is composed of 13 lines. The bar and space protection list is s123467913
4.3.4 Characters
The last character in character set A and character set 7 (character value 96~102) and the last 3 semi-characters in character set C (character value 100~102) are permanent non-data characters and have no corresponding ASC characters. They have specific meanings to the device that recognizes the character set. 4.3.4.1 Character switching and conversion In a code, the conversion from one character set to another requires the conversion of characters or the conversion of characters. a) Switch character will
Initially change to CodeA (B or C) Change the symbol set from the previous semi-character set to the new character set specified by the switch character. This special language uses all the characters after the switch character until the match is completed or another switch character is used or the switch character is changed. b) Switch character SFIFT will convert a character after the conversion from character set A to character set B or from character set B to character set A. After the conversion, the character set will be restored to the character set or character set B defined before the conversion. The converted symbol cannot be a cut character, etc. 4. 3.4.2 Functional Characters The character line (FNG) is used to indicate the special operations and applications allowed by the barcode reader. FNC1 is used to perform special information defined in the financial information B.) F>C2 (Information No.) Instructs the barcode reader to store the data in the signature contained in FNC2 and send it as the preamble of the next number. This can be used to connect the next number before transmission. The character box can appear at any position in the number. When the number of valid data is very important, it is necessary to determine the correct order of the number selection.) FNCS (Initialization) Instructs the low-code reader to read the bill containing the FNCS character as a new initialization instruction to the reader to restart the barcode. The number that is not connected to the barcode is not transmitted. The character can appear at any position in the number. 4) FNC1 is used to represent the A5CI character set specified in GB/T15273.1 or in the virtual specification (value 138-866). If you use an FNC4 character, add 18 to the ASCII value of the number after the character. If you need to convert the following data to a different set, leave a change sign after the FNC4 character, and the following characters will be converted to the standard ACⅡ character set. If you use a subsequent FNC4 character, the ASCII value of all the numbers following it is 125 as above, and the end of the FNC4 character or the equal sign is. If a single FNC4 is received in the ASCI sequence of this section, only the first data word after it is forwarded to the standard ASCI code. In the sequence, the conversion character and the switch character have their normal function. The default zero character of the extended ASCI value 188-866 will be set to the corresponding set of GR/T 15273.1, see Appendix F, but the application specification may define or consider other sets with byte values ​​128 to 253. 4.3.4.3 Start and end characters STARTA (B I C) define the corresponding set of characters used at the beginning of the symbol, and the end characters of the new set are the same.
The device does not transmit the start and end characters 4.3.5 Check character
The last character of the symbol check area can be calculated from the definition in the appendix. The symbol is not indicated in the human-readable character, and the encoder does not transmit it. 4.4 Dimension requirements
128 bar code number 1 requirements are as follows,
GB/T-183472001
4.4.1 Module width ((X)
Should meet the application requirements and be related to the characteristics of the equipment that produces and misreads the symbol. The dimensions should remain unchanged in the identification symbol. 4.4.2 White area width
The minimum width of the blank area is 10X,
4.5 Notes on the evaluation
Multiple obstacles to the design of the reading system are to be able to recognize defective special numbers within the actual allowable range. In the selected state book of this camp In the evaluation algorithm, the calculation of the codeability can be found in 150/TEC15415. For each small strip of milk, the minimum value b is calculated as follows: 1. Calculate the value b (Figure 5)
Figure 5 Code size
2) The sum of 6 and finally obtain a service size value EE, E, and has been expressed as the module completeness (E) of the whole letter, the calculation method of the first value is as follows:
1.5e/1152.5p/11.3E-2
plus 2.5/1103.50/11.0R, = 3
plus 35/1704.5/11.2=4
plus 4.5/115≤5.5p/11. Then F,=5
plus 5.5p/11≤5.5p/1, period E=6;
nest 6.52/11:5e7.5p/11. Example 6-7
whether the character is recognized correctly.
3) Take 4 characters E, E, E and E as the key to find the key in the code table. (See Table 3). 4) In the table, the bit of the checksum V of the character should be consistent with the modulus of the specific text of the character. 5) Check the following formula
(w-1.75)p/11 ≤(+a+h)(V+1.75)p/11. If it does not hold, the character is recognized incorrectly.
This algorithm indirectly uses the character's randomness to find errors in a single module that is not systematic. Using this method, the first character is encoded, such as the first character, and the symbol is encoded in the normal direction. If it is not a start character but an end character, all characters are encoded in the same direction. When all characters have been translated, make sure there is a valid start character, a valid end character, and the symbol is correct.
Based on the characters used in the number, the character conversion process converts the character from character set A, character set B, and character set C into a suitable digital character.
Taking into account the error equipment and application environment, you can perform a first-level inspection of the blank area, optical acceleration, timing and wind quality.
Note: In the calculation of this answer, use an overdue relative environment () plus a figure plus a ruler to calculate the total white of three items.
Tip: This standard content only shows part of the intercepted content of the complete standard. If you need the complete standard, please go to the top to download the complete standard document for free.