Interleaved 2 of 5


Interleaved 2 of 5 is a continuous two-width barcode symbology encoding digits. It is used commercially on 135 film, for ITF-14 barcodes, and on cartons of some products, while the products inside are labeled with UPC or EAN.
ITF encodes pairs of digits; the first digit is encoded in the five bars, while the second digit is encoded in the five spaces interleaved with them. Two out of every five bars or spaces are wide. The digits are encoded to symbols as follows:
Where "n" is a narrow line and "W" a wide line. The wide lines form a two-out-of-five code with consecutive values of 1, 2, 4, 7, and 0, where the code 0 has a value of 11. This is similar to the POSTNET bar code.
Before the actual pairs there is a start code consisting of nnnn, and after all symbols there is the stop code consisting of Wnn.
Because digits are encoded by pairs, only an even number of digits can be encoded. Typically an odd number of digits is encoded by adding a "0" as first digit, but sometimes an odd number of digits is encoded by using five narrow spaces in the last digit.
A checksum can be added as last digit, which is calculated in the same way as UPC checksums.
There are specific constraints on the height and width of the bars and the width of the "quiet areas", the blank areas before the start and after the stop symbol.
On 135 film canisters it is used to identify the manufacturer, the film type, number of exposures and proprietary information in 6 digits. The barcode is located between the electrically read silver and black DX Camera Auto-Sensing Code and the film can exit lip. It is optically scanned by many film-processing machines when the cartridge is inserted for developing.
Identcode and Leitcode are variants of interleaved 2 of 5 with check digits used by Deutsche Post.