Skip to product information
1 of 12

PayPal, credit cards. Download editable-PDF and invoice in 1 second!

GB/T 15425-2014 English PDF (GBT15425-2014)

GB/T 15425-2014 English PDF (GBT15425-2014)

Regular price $315.00 USD
Regular price Sale price $315.00 USD
Sale Sold out
Shipping calculated at checkout.
Quotation: In 1-minute, 24-hr self-service. Click here GB/T 15425-2014 to get it for Purchase Approval, Bank TT...

GB/T 15425-2014: Commodity bar code--128 bar code

This Standard specifies contents such as the structure, bar code character set, bar code symbol dimension, quality assurance of GS1 system code 128 (hereinafter referred to as GS1-128 code), and the application parameters, character string encoding and decoding rules of GS1-128 code. This Standard applies to automatic identification and data collection in the bar code system for commodity.
GB/T 15425-2014
GB
NATIONAL STANDARD OF THE
PEOPLE REPUBLIC OF CHINA
ICS 35.040
A 24
Replacing GB/T 15425-2002
Bar code for commodity - 128 bar code
ISSUED ON: SEPTEMBER 03, 2014
IMPLEMENTED ON: FEBRUARY 01, 2015
Issued by: General Administration of Quality Supervision, Inspection
and Quarantine;
Standardization Administration of the PEOPLE Republic of
China.
Table of Contents
Foreword ... 3
1 Scope ... 4
2 Normative references ... 4
3 Terms and definitions ... 5
4 Requirements ... 5
4.1 Symbol structure ... 5
4.2 GS1-128 code character set ... 6
4.3 Size requirements ... 13
4.4 Algorithm of the reference decode ... 13
4.5 Symbol quality ... 16
5 Application parameters of GS1-128 code ... 18
5.1 Symbol height... 18
5.2 Symbol length ... 18
5.3 Human-recognizable characters ... 19
5.4 Symbol grade requirements ... 19
5.5 Transmission data (FNC1) ... 20
6 GS1-128 code character string encoding/decoding rules ... 20
6.1 Basic structure of GS1-128 code that uses the application identifier and the link ... 20
6.2 Link ... 21
6.3 Separating character (FNC1) ... 23
6.4 Mixed use of ITF-14 and GS1-128 code and other symbologies ... 24
6.5 Symbol position ... 24
Appendix A (Informative) GS1-128 code symbol length minimum character set selection and application examples ... 25
Appendix B (Informative) Relationship between bar code character value and ASCII value ... 28
Appendix C (Normative) Calculation method of GS1-128 code symbol check
character value ... 29
Appendix D (Informative) GS1-128 code symbol processing - basic logic ... 30 Foreword
This Standard was drafted in accordance with the rules given in GB/T 1.1-2009. The code 128 which is specified in this Standard is an application subset of GB/T 18347 "Code 128".
This Standard replaces GB/T 15425-2002, ?€?UCC/EAN - 128 bar code?€?;
compared with GB/T 15425-2002, the major technical changes are as follows: -- Change the standard name to ?€?Bar code for commodity - 128 bar code?€?; -- Modify the name of the standardization organization in the Standard
accordingly because the international organization EAN??UCC was
renamed GS1;
-- Add an application example of the minimum symbol length rule in the
informative Appendix A;
-- Make editorial changes according to the new version of "GS1 Specification (V10)".
This Standard is revised by referring to "Linear Bar Code -- GS1-128 Code Specification?€?, Section 4 of Chapter 5 of "GS1 Specification (V10)" which is formulated by GS1, and according to the practical situation of our country. This Standard shall be under the jurisdiction of National Technical Committee 267 on Logistics Information Management of Standardization Administration of China (SAC/TC 267).
The drafting organizations of this Standard: GS1 China, Zhejiang Article Code Center, Shaanxi Institute of Standardization, Ningbo Institute of Standardization, Hunan Institute of Standardization, Henan Institute of Standardization, Beijing Wuzi University.
The drafters of this Standard: Zhang Nan, Ding Wei, Liu Lizhen, Du Jingrong, Zhang Peiying, Zhou Qin, Lou Qinghua, Li Chang, Gong He, Wang Chenglin. The previous versions of the standards which are replaced by this Standard are: -- GB/T 15425-1994, GB/T 15425-2002.
Bar code for commodity - 128 bar code
1 Scope
This Standard specifies contents such as the structure, bar code character set, bar code symbol dimension, quality assurance of GS1 system code 128
(hereinafter referred to as GS1-128 code), and the application parameters, character string encoding and decoding rules of GS1-128 code.
This Standard applies to automatic identification and data collection in the bar code system for commodity.
2 Normative references
The following documents are indispensable for the application of this document. For dated references, only the dated version applies to this document. For undated references, the latest edition (including all amendments) applies to this document.
GB/T 1988, Information technology - 7-bit Coded character set for
information interchange
GB/T 12508, Alphanumeric character sets for optical recognition - Part 2: Character set OCR-B - Shapes and dimensions of the printed image
GB 12904, Bar code for commodity - Retail commodity numbering and bar
code marking
GB/T 12905, Bar code terminology
GB/T 14257, Bar code for commodity - Bar code symbol placement
guidelines
GB/T 16986, Bar code for commodity - Application identifier
GB/T 18347, Code 128
GB/T 18348, Bar code for commodity - Bar code symbol print quality
verification
Character set B includes all standard uppercase English letters, digital characters 0 ~ 9, punctuation characters, lowercase English alphabet
characters (characters whose ASCII value is 32 ~ 127) and 7 special characters. 4.2.4.3 Character set C
Character set C includes 100 two-digit numbers 00 ~ 99 and 3 special
characters. When character set C is adopted, each bar code character
represents two digits.
4.2.5 Special character
4.2.5.1 Special character range
The last 7 characters of character set A and character set B (character values of 96 ~ 102) and the last 3 characters of character set C (character values of 100 ~ 102) are special non-numeric characters, of which there is no
corresponding ASCII character. They have special meaning for the scanner. 4.2.5.2 Switch character (CODE) and escape character (SHIFT)
In a GS1-128 code symbol, the switch character and the escape character are used to switch one character set to another character set, where:
a) Switch character
The switch character CODE A (CODE B or CODE C) switches the
previously determined character set to the new character set A (character set B or character set C) that is established by the switch character. This switch applies to all characters after the switch character, until the end of the symbol or another switch character or escape character is
encountered.
b) Escape character
The escape character SHIFT switches a character after the escape
character from character set A to character set B or from character set B to character set A. The characters after the switched character will
automatically be restored to character set A or character set B which is defined before the escape character.
4.2.5.3 Function character (FNC)
The function character is used to indicate allowed special operations or applications to the bar code scanner, among which:
a) The FNC1 after the start character Star A (Start B or Start C) is reserved specifically to identify the GS1 system. FNC1 can be used as a check
character.
b) FNC2 (information addition) is used to indicate the bar code scanner to temporarily store the information that contains the FNC2 character and
transmit it as the prefix of the next symbol content. Before the transmission, it is possible to link several symbols. The character can appear in any position of the symbol. If the order of the data is meaningful, it?€?s necessary to make sure that the symbols are read in the correct order.
c) FNC3 (initialization) is used to indicate the bar code scanner to use the data in the symbol that contains the FNC3 character as an initialization instruction or to reprogram the bar code scanner. The character can
appear in any position of the symbol.
d) FNC4 is not used in GS1 system.
4.2.5.4 Start character and stop character
The start character Start A (Start B or Start C) defines the character set that is used at the beginning of the symbol. The stop character Stop is the same for all character sets.
4.2.6 Check character
The check character is the last character before the stop character of the bar code symbol. See Appendix C for its calculation method. The check character is not identified in the human-recognizable characters.
4.2.7 GS1-128 code start character
GS1-128 code adopts a double-character start character; its structure is: Start A (Start B or Start C) + FNC1.
This double-character start character can be used to distinguish the GS1-128 code from the ordinary Code 128.
If a Code 128 starts with this double-character start character, it must be a GS1- 128 code symbol; otherwise, it must not be a GS1-128 code symbol.
FNC1 can be used as a symbol check character (the probability is less than 1%). When multiple application identifiers and their data fields are put in a bar code symbol, FNC1 is used as a separating character.
Start A uses the GS1-128 code to start with character set A.
Start B uses the GS1-128 code to start with character set B.
b) Switch e1, e2, e3, and e4 to general dimension values E1, E2, E3, and E4; express them as integer multiples of the module width (X). The calculation method of the ith value is as follows:
If 1.5p/11???ei< 2.5p/11, then, Ei=2;
If 2.5p/11???ei< 3.5p/11, then, Ei=3;
If 3.5p/11???ei< 4.5p/11, then, Ei=4;
If 4.5p/11???ei< 5.5p/11, then, Ei=5;
If 5.5p/11???ei< 6.5p/11, then, Ei=6;
If 6.5p/11???ei< 7.5p/11, then, Ei=7;
Otherwise, the bar code character is wrong.
c) Use the 4 values E1, E2, E3 and E4 as keywords to search for characters in the decoding table (see Table 2).
d) Find the self-checking value V of the character in the table; the value of V shall be equal to the number of modules of the bar that is defined by the character.
e) Check the following formula:
If it is not true, the character is wrong.
The algorithm indirectly uses the odd-even of the bar code character to find non-systematic errors at the edge of a single module.
Use the above 5 steps to decode the first character. If the first bar code character is the start character, decode from left to right; if the first bar code character is not the start character but the stop character, decode all bar code character sequences in the opposite direction.
After all bar code characters have been decoded, ensure a valid start character, a valid stop character and a correct symbol check character.
According to the start character, switch character and escape character that are used in the bar code symbol, translate the characters of the symbol into appropriate data characters from character set A, character set B or character set C.
5 Application parameters of GS1-128 code
5.1 Symbol height
The bar height of the GS1-128 code symbol is usually 32 mm (1.25 in). The actual symbol height shall be determined according to specific application requirements.
5.2 Symbol length
5.2.1 Calculation of symbol length
The length of the GS1-128 code symbol depends on the number of encoded
characters:
1 start character 11 modules
FNC1 11 modules
1 symbol check character 11 modules
1 stop character 13 modules
N bar code characters N??11 modules
Total: (11N+46) modules
Where N is the number of bar code characters in the symbol, including
additional characters (switch characters and escape characters) which are contained in the data.
A module is equal to the X dimension in the symbol.
Character set C is allowed to express two digits in a bar code character. Therefore, when character set C is used to encode numbers, it is twice the density of other characters.
The clear area on both sides of the symbol is necessary; the minimum width is 10X.
The total length of the symbol, including the clear area, is: (11N+66)X. 5.2.2 Maximum symbol length
There are two parameters that determine the symbol length of the GS1-128 code: the physical length depends on the number of the encoded characters and the width of the used modules (X dimension); the number of characters includes additional characters.
Figure 6 -- GS1-128 code symbol structure
All GS1 bar codes that use GS1 application identifiers allow multiple element data strings to be encoded in one bar code symbol. This encoding method is called link. The encoding method of link saves more space than encoding each string separately, because the symbol control character is used only once. At the same time, one scan is more accurate than multiple scans; different element strings can be transmitted in a bar code scanner as a complete character string. Refer to Figure 6 for details.
For different character strings which are transmitted from the linked bar code symbols, it?€?s necessary to analyze and process. In order to simplify the operation and reduce the length of the symbols, perform preset for the length of some character strings (see Table 4). For the character string that does not appear in Table 4, if it is not at the end of the symbol (before the check character), it must be followed by a FNC1 symbol character to identify the edge of the character string and distinguish it from the following character strings. 6.1.2 Application identifier of predefined length
Table 4 contains all the application identifiers that have been predefined in length and do not require a separating character. For details, see GB/T 16986. Table 4 -- Table of indicators of predefined length
The number of characters listed in Table 4 is a limited character length and will never change. The numbers in brackets are reserved application identifiers that have not yet been assigned.
6.2 Link
6.2.1 Link of character strings of predefined length
Appendix A
(Informative)
GS1-128 code symbol length minimum character set selection and
application examples
A.1 General requirements
In the GS1-128 code symbol (or other code 128), the same data can be
expressed differently by using different combinations of start, switch and escape characters.
Put the following rules in the printer control software to minimize the number of bar code characters for a given data symbol (minimize the symbol width). A.2 Selection of the start character
The selection of the start character generally follows the following principles: a) If the data starts with a numeric data character of 4 or more bits, use the start character C;
b) If an ASCII control character (such as NUL) appears before a lowercase alphabetic character in the data, use the start character A;
c) In other cases, use the start character B;
A.3 If the start character C is used and the number of bits is odd, insert character set A or character set B before the last number. For specific use of character set A or character set B, refer to A.2 b) and A.2 c).
A.4 If a numeric character of 4 or more bits appears in character set A or character set B at the same time:
a) If the number of the numeric data character is an even number, insert CODE C character before the first number to switch the character set to character set C.
b) If the number of the numeric data character is an odd number, insert CODE C character after the first number to switch the character set to
character set C.
A.5 When character set B is used and ASCII control characters appear in the data:
a) If a lowercase alphabetic character appears after the control character, or before another control character, insert an escape character before the control character;
b) Otherwise, insert CODE A before the control character to switch the
character set to character set A.
A.6 When character set A is used and lowercase alphabetic characters appear in the data:
a) If a control character appears after the lowercase alphabetic character and before another lowercase alphabetic character, insert an escape
character before the lowercase alphabetic character;
b) Otherwise, insert CODE B before the lowercase alphabetic character to switch the character set to character set B.
A.7 If a non-numeric character appears in character set C, insert CODE A or CODE B before the non-numeric character; refer to A.2 b) and A.2 c) for specific applications.
Note 1: In the above rules, the meaning of "lowercase?€? refers to characters whose character value is 64 ~ 95 (96 ~ 127 for ASCII value) in
character set B. That is, all lowercase alphabetic characters and
characters "?€?, {, |, }, ~, DEL". The meaning of "control character" is the character whose character value is 64 ~ 95 (00 ~ 31 for ASCII value)
in character set A.
Note 2: If FNC1 appears in the first position after the start character or in the odd position in the number field, take FNC1 as 2 bits to determine the
appropriate character set.
A.8 Application examples
Figure A.1 is an application example in which only "numeric data of 4 or more bits use CODE C" is considered, and the odd-even of the number of numeric data characters in A.3 is not considered, and the symbol length has not reached the minimum, so that one more bar code character is in the character string. Figure A.1 -- Application example where the symbol length is not the
minimum
Appendix C
(Normative)
Calculation method of GS1-128 code symbol check character value
GS1-128 code symbol check character is calculated according to the following method:
1) Check Table 1 for the value of the character.
2) Assign a weight to each bar code character position. The weights of the start character and the FNC1 symbol character are both 1; then, the
weights from left to right after the start character and the FNC1 symbol character are 2, 3, 4, 5, ..., n; none of these characters include the check character itself. N represents the number of characters for all identification data and special information except the start character, FNC1 symbol
character, stop character and check character.
3) Multiply the value of each character by its corresponding weight.
4) Sum the results from step 3.
5) Divide the sum of step 4 by 103.
6) The remainder which is obtained in step 5 is the value of the symbol check character.
Example: Refer to Table C.1 for the steps to calculate the check character value of the data "AIM1234".
Table C.1 -- Steps to calculate the check character of "AIM1234?€?

View full details