The text of a manual · part 22 of 26
TriCoder Users Manual, pages 211 to 220
Pages 211 to 220 of 246
The original document is the PDF (4.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Worth Tricoder T61, Worth Tricoder T62, Worth Tricoder T63, Worth TriCoder LT63, Worth Tricoder T50, Worth TriCoder T52 and Worth TriCoder T53
Page 211
Page 212
Appendix K
UPC Specifications UPC symbols are found on almost all grocery products and many other retail items. The UPC code most people are familiar with (UPC-A) is a fixed-length (12 digits) numeric only code, with the first digit controlled by UPC coding assignments and the last digit a checksum. UPC-E and UPC-E1 are variations of the standard UPC-A code. Each digit is constructed of two bars and two spaces. UPC has very precise standards of code size, structure, and numbers to be used. EAN is an international superset of UPC. EAN-13 has 13 digits, with the first two digits representing a country code. The final digit is, as with UPC, a check digit. EAN-8 is a shorter version on the EAN-13 code containing seven data digits and ending again with a checksum.
The exact UPC/EAN symbol specifications are available from: Uniform Code Council, Inc. 7887 Washington Village Drive, Suite 300 Dayton, OH 45459 937-435-3870 937-435-7317 info@uc-council.org 8:00 a.m. to 6 p.m. EST Specifications are also available via the internet at: http://www.uc-council.org Keep the following guidelines in mind when printing UPC bar codes: • If you plan to use a "supermarket-type" in-counter scanner to read the codes, specify a bar code height of at least .9" for an optimal first read rate. • Make it an early practice to observe the numbering conventions of the UPC Council. Do not label unmarked merchandise with a bar code whose numbers may conflict with those already assigned. If products with these numbers are not in your store now, they are likely to be in the future, causing conflicts in your inventory system. • The leading Number System Character, (the first number of the 11 digits to be entered) should conform to these UPC assignments:
K-1
Page 213
0,6,7,8
Regular UPC 12 digit codes with numbers assigned by the UPC Council. (Do not use 0 as the leading number for in-store marking).
2
Store-marked random weight items of meat and produce.
3
Reserved for National Drug Code and Health Related Items.
4
Use this leading digit for in-store marking of non-food items.
5
Reserved for coupons. Do not use this today, or you will not be able to process coupons through your system tomorrow.
UPC 2 and 5-character supplemental codes The UPC standards include the addition of a 2 or 5-character supplemental code used with magazines and paperback books. To read the supplements, you must first enable them using the TriCoder Setup Menu. NOTE: Enabling the supplements disallows the reading of UPC codes from right to left to assure that the supplement does not get missed.
UCC/EAN Extended Coupon Code Enabling supplements also allows reading of the Extended Coupon Codes, providing that the UPC’s NSC is a 5 or the EAN’s country code is 99. The supplement is a Code 128 bar code in an Extended Coupon Code.
ISBN Specifications ISBN (International Standard Book Numbering) bar codes are essentially EAN-13 with a 5 digit supplement, where the first 3 digits are the Bookland country codes of 978 for books and 977 for periodicals. Although the bar code contains 18 characters, the ISBN format uses only 9 of them, along with a newly calculated Mod-11 check digit. For example, a bar code containing the numbers 978055337062153495 would transmit as 0553370626 in the ISBN format. The TriCoder has the option of transmitting in the ISBN format.
ISBN 0-553-37062
K-2
Page 214
ISBN specifications are available from: American National Standards Institute Customer Service nd 11 West 42 St. New York, NY 10036 http://web.ansi.org document ISO 2108:1992
The UPC/EAN checksum character The last character in a UPC-A, UPC-E, UPC-E1, EAN-13 or EAN-8 bar code is the checksum. For reference, these are the methods of calculation:
Checksum calculation for UPC-A, EAN-13 and EAN-8 Use Worth Data’s phone number (it's not a real UPC-A code) as sample data: 18314589938 Assign even and odd positions, starting at the right and moving left: 8
3
9
9
8
5
4
1
3
8
1 odd even odd even odd even odd even odd even odd
1. Starting with the leading digit, 8, take the sum of all the characters in the odd positions. 8 + 9 +8 + 4 + 3 + 1 = 33 2. Multiply the result of step 1 by 3. 33 x 3 = 99 3. Now take the sum of all the even-position characters. 3 + 9 + 5 + 1 + 8 = 26 4. Add the result in Step 2 to the result in Step 3. 99 + 26 = 125 5. Subtract the result from the next higher multiple of 10. Next higher multiple of 10 over 125 = 130 130 - 125 = 5 5 is the Modulo-10 check character. The data to be printed becomes: 183145899385 This same formula is used for EAN-13 (using the 1-12 digits) and EAN-8 (using the 1-7 digits).
K-3
Page 215
UPC-E Checksum Calculation Use the sample data of 123456 to demonstrate the UPC-E checksum calculation: 1.
The 6 digit UPC-E code is converted to a 10-digit code, using an expansion scheme based on the sixth digit:
If the code ends in:
UPC-E Data
Insertion Digits
Insertion Position
10 digit code
0 1 2 3 4 5 6 7 8 9 abcde0 abcde1 abcde2 abcde3 abcde4 abcde5 abcde6 abcde7 abcde8 abcde9
00000 10000 20000 00000 00000 0000 0000 0000 0000 0000
3 3 3 4 5 6 6 6 6 6 ab00000cde ab10000cde ab20000cde abc00000de abcd00000e abcde00005 abcde00006 abcde00007 abcde00008 abcde00009
Because the sample UPC-E code ends in a 6, the insertion digits 0000 are inserted at the sixth digit (insertion position 6): 1234500006 2.
Add the Number System Character of 0 to the sample data: 01234500006
3.
Use the UPC-A check digit calculation described in the previous section to produce a check digit as if it were a UPC-A code. The check digit for the sample data is: 5
4.
The complete 8 digit code consists of the Number System Character, the original 6 digit code and the check digit: 01234565
K-4
Page 216
Appendix L
Codabar Specifications Codabar is widely used in libraries, blood banks, the cotton industry and transportation industries. Its' character set consists of numbers 0 through 9, and punctuation characters + . - / : and $. Symbols a, b, c, d, t, n, * and e are used as start and stop characters. Characters are constructed of four bars and three spaces.
a12345b
Codabar is a numeric-only code, but different combinations of start and stop characters can be used to identify different types of labels. Codabar's variable data length and extremely low error rate make for a versatile bar code.
Codabar start/stop transmission The Codabar section on the TriCoder Setup Menu lets you determine whether Codabar start/stop characters are transmitted or not. If you are varying start/stop characters with different types of labels, you'll want to "Enable Stop/Start character Transmission". Start/stop character transmission can also be helpful if you want your program to differentiate between data coming from the TriCoder and data coming from the keyboard. If neither of these situations apply, you'll probably want to disable it.
L-1
Page 217
Page 218
Appendix M
MSI/Plessey Specifications Plessey is a variable length numeric only bar code. MSI Bar Code is a variable length, numeric-only code with an automatically appended Modulus 10 check digit. MSI is sometimes called Modified Plessey Code. If the user specifies an additional check digit, the MSI code can be 14 digits long, otherwise it has a maximum length of 13 characters. This is how the MSI check digit(s) are calculated:
The MSI Mod 10 check digit is calculated as follows: The example bar code data is: 82345 1.
Form a number from the odd positions, starting in the units position. 835
2.
Multiply the new number by 2 (835) x 2 = 1670
3.
Add the digits of product 1 + 6 + 7 + 0 = 14
4.
Add the even digits of the original number to the result in 3 2 + 4 + 14 = 20
5.
Subtract the result from the next highest multiple of 10 20 - 20 = 0
6.
New Check Digit 0
7.
Data with check digit is: 823450
M-1
Page 219
The MSI Mod 11 check digit is calculated as follows: The example bar code data is: 943457842 Assign a checking factor to each number, starting with the units position of the number (in this example, the 2) up to the highest order position (the 9). Use checking factors of: 2,3,4,5,6,7,2,3,4,5,6,7... Multiply the checking factor with its assigned number and add the products: 4 + 12 + 32 + 35 + 30 + 28 + 6 + 12 + 36 = 195 Divide the sum by 11 195/11 = 17 remainder 8 Subtract remainder from 11 11 - 8 = 3 New Check Digit 3 (If the remainder is 10, no check digit is added.) Data with check digit is: 943457823
M-2
Page 220
Appendix N
Code 93 Specifications Code 93 is variable length, continuous, bi-directional, compact code. Code 93 is an alphanumeric bar code which consists of 43 data characters (0-9,A-Z,$/+%.and Space), 4 control characters, and a unique start/stop character. The entire set of 128 ASCII characters is represented in Code 93 using combinations of control characters and data characters. The control characters are , , , and . Full ASCII 93 is created by pairing these control characters with normal data characters. It is almost identical to the pairings for Code 39; Code 39 uses $M to produce a Carriage Return (ASCII 13) character -- Code 93 uses Return.
M to produce the Carriage
Code 93's two built-in check digits greatly minimize the possibility of reader substitution errors. These check digits are never transmitted by the bar code reader. Code 93's Start and Stop characters are also never transmitted. The Code 39 features of Accumulate Mode, Caps Lock ON and Caps lock OFF also apply to Code 128. If you have not decided which bar code type to use for your application and are considering using Code 93, while we agree that Code 93 is an excellent code, we believe that Code 128 is generally preferable because less space is required. Two space disadvantages of Code 93 are: 1.
Code 93 does not have the numeric compression capability that 128 does, (compression results in 128’s significantly less space for equivalent codes), and
2.
Code 93 requires pairings to make all Full ASCII characters while 128 does not, (more space is required for lower case and upper case than Code 128).
N-1