Worth Data P11/12 user manual UPC-E Checksum Calculation, 01234500006, 01234565

Page 53

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

UPC-E data

Insertion digits

Insertion

10 digit code

 

ends in:

 

 

Position

 

 

 

0

abcde0

0 0 0 0 0

3

ab 0 0 0 0 0 cde

 

 

1

abcde1

1 0 0 0 0

3

ab1 0 0 0 0 cde

 

 

2

abcde2

2 0 0 0 0

3

ab2 0 0 0 0 cde

 

 

3

abcde3

0 0 0 0 0

4

abc0 0 0 0 0 de

 

 

4

abcde4

0 0 0 0 0

5

abcd 0 0 0 0 0 e

 

 

5

abcde5

0 0 0 0

6

abcde 0 0 0 0 5

 

 

6

abcde6

0 0 0 0

6

abcde 0 0 0 0 6

 

 

7

abcde7

0 0 0 0

6

abcde 0 0 0 0 7

 

 

8

abcde8

0 0 0 0

6

abcde 0 0 0 0 8

 

 

9

abcde9

0 0 0 0

6

abcde 0 0 0 0 9

 

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

H-4

Image 53
Contents Worth Data WDP Keyboard Wedge Reader For Model P11/12 Introduction Components of WDP Reader InstallationInternal Installation on PC P11/12 InstallationExternal Wedge Integrated Laser WDP ReadersExternal Wedge Installation on PC or Mac USB Installation on a PC or Mac Configuring the WDP Reader for your computer Application WDP Reader SetupUsing the WDP Reader Setup Menu Code WDP Setup ParametersBeep Tone UPC/EAN 5 Data Length 5 CodeCodabar Disable UCC-128/EAN-128Computer Interface MSI and PlesseyBar Code Data Preamble Data Transmitted PreamblePostamble MagStripe ResetData Transmission Timing Keyboard Country CharactersTerminator Characters Bar-code wands, laser scanners and CCD touch scanners Testing the WDP reader with your computerBar Code and MagStripe Slot Scanners If you are unable to read the Test LabelWands Scanners and Scanning TechniqueWand Scanning Technique Using the Bar Code Slot Scanner Using the MagStripe Slot Scanner Worth Data LZx00 series Laser and CCD ScannersClass II Laser Product CCD Scanners Right Wrong Tips for using CCD’s and LasersEnd Setup Start SetupLaser scanner options CodeFunction and Control Key Support Special FeaturesFunction keys F1 through F10, and numeric-pad keys Function keys F11 and F12Windows Key Macintosh Command and Option Keys on USBShift, Ctrl and Alt keys Accumulate Mode Reader wont beep when reading bar codes TroubleshootingPoor read rate Reader transmits incorrect data to the screenVolt power adapters for external wedge installation Changing the volume of the WDP Readers beeperOpening the WDP Case Slot Installation with Keyboard Cabling ISA Internal Board InstallationNow turn to page 7 to configure the WDP Reader Installing BusKey Slot Installation with Bus CommunicationBusKey Parameters BusKey P=ppp I=iInterrupt Number jumper JP4, the Interrupt Number jumper Jumper SettingsJP7, the Interface Method jumper JP5, the Port Address jumperJP9, the Wand/Magstripe jumper JP8, the Laser Decode Light/Wand jumperSpecifications for Code + 2 + 3 + 33 + 34 + 35 = Mod 43 Check Character108/43 = 2 with a Remainder Value 22 is the Check CharacterFull Ascii Extension to Code Codabar start/stop transmission CodabarUCC-128/ EAN-128 Code 128 SpecificationsMany of the specifications are available online at Even Odd Interleaved 2 of 5 Code+ 1 = + 9 x 3 =60 57 = + 48 =19873 019873UPC Specifications UPC 2 and 5-character supplemental codes Isbn SpecificationsUPC/EAN checksum character 1234500006 UPC-E Checksum Calculation01234500006 01234565MSI Mod 10 check digit is calculated as follows MSI/Plessey SpecificationsMSI Mod 11 check digit is calculated as follows Code 93 Specifications Ascii Code Equivalent Table Firmware Upgrades