|
company < testimonials < products & services < supported printers < contact us < |
|||
![]() |
![]() |
| Products and Services | |||||||||||||||||||||||||||||||||||||||
|
Bar code specificationsInterleaved 2 of 5
Solutions available: Windows stand-alone font, Windows font + encoder, AFP, Xerox, PCL, and bespoke solutions. Please email sales@terrapin.co.uk with your requirements and we will find a solution for you.
Interleaved 2 of 5 specification
Interleaved 2 of 5 is a high-density bar code for encoding numeric-only data. The symbol length is variable and can be as long as necessary to store the encoded data. The character set consists of 100 pairs of digits from 00 – 99, and a start and stop character. Interleaved 2 of 5 can only be used for encoding an even number of digits. If you have an odd number of digits, you should insert a '0' at the beginning of the string. The bar code is called 'interleaved' because the first digit is encoded in the bars and the second digit is encoded in the spaces. Each digit consists of 5 elements (two wide and three narrow ones) and is self-checking.
The complete bar code symbol consists of a quiet zone, the start character, the data string, and a trailing quiet zone. A check digit is optional and should be inserted before the stop character. Encoding the symbolExample data 1234567890The 10 individual numbers in the example must be turned into pairs of digits and converted to character positions in the bar code font. This is done by referencing the appropriate character arrangement table. For fonts supplied in TrueType or Type 1 format, a rule can be followed rather than the Windows Character Arrangement Table. This rule is that for pairs of digits 00 – 93, add 32 to the digit pair to determine the character position. For pairs of digits 94 and over, add 67 to the pair. For fonts in Xerox or AFP format, the appropriate character arrangement table must be utlised.
The final string should look like this:
Check Digit Note: the check digit is designated as Modulo 10, but is in fact a surplus to the number 10. Mathematically speaking, Modulo 10 is the remainder of the sum when the total is divided by 10. Beginning with the left-most digit in the string, alternately multiply each number by 3 then 1 then 3 etc.
Character Arrangement Tables
|
||||||||||||||||||||||||||||||||||||||