EAN-139780790743998   EAN-13 barcode 9780790743998
Product NameCasablanca
CategoryElectronics / Photography: A/V Media: Movie / TV
Short DescriptionWeight:0.25 pounds
Web Link
Amazon.comA Buy on Amazon ~ 6305736650
Price New3.59 US Dollars    (curriencies)
Price Used0.01 US Dollars    (curriencies)
RatingPG - Parental Guidance Suggested
TrailerWatch The Trailer
Run Time102 minutes
Aspect Ratio1.33:1
CastHumphrey Bogart, Ingrid Bergman, Paul Henreid, Claude Rains
DirectorMichael Curtiz
Width5.38 inches    (convert)
Height0.6 inches    (convert)
Length7.5 inches    (convert)
Weight4 ounces    (convert)
Release Year1942
FormatMultiple Formats, Black & White, NTSC, Subtitled, Digital Sound
Run Time139 minutes
Long DescriptionThe story of Rick Blaine, a cynical world-weary ex-patriate who runs a nightclub in Casablanca, Morocco during the early stages of WWII. Despite the pressure he constantly receives from the local authorities, Rick's cafe has become a kind of haven for refugees seeking to obtain illicit letters that will help them escape to America. But when Ilsa, a former lover of Rick's, and her husband, show up to his cafe one day, Rick faces a tough challenge which will bring up unforeseen complications, heartbreak and ultimately an excruciating decision to make.
Similar Items9780767898805: Lawrence of Arabia
0883929555222: Citizen Kane 75th Anniversary
0883929303717: African Queen
0883929266777: Singin' in the Rain
0883929176151: Treasure of the Sierra Madre
0883929157853: North By Northwest
0883929154296: Maltese Falcon
0883929120345: Doctor Zhivago
0883929103348: Gone With the Wind
0883929057436: Gone With the Wind
0043396094314: Lawrence of Arabia
0025192154638: Rear Window
0025192073663: To Kill a Mockingbird 50th Anniversary Edition
0012569793361: Bogie and Bacall - The Signature Collection
0012569676862: To Have and Have Not
0012569676848: Key Largo
0002519215463: Rear Window
Created11-26-2012 1:40:20am
Modified04-10-2020 4:22:51pm
Search Googleby EAN or by Title
Query Time0.0301950

Article of interest

The interleave symbology stores digits in 2 sets of 5 stripes alternating black and white. Each set encodes a digit and these digits are interleaved together. One digit is made from the black stripes and one from the white stripes. Thus the name... Interleave 2 of 5.

Interleave 2 of 5 barcode

Each stripe in the symbol is either black or white and each of those can be narrow or wide. A wide stripe is 2 or 3 times as thick as a narrow stripe. This ratio must be consistant throughout the symbol. This means if your wide stripes start out 2 times as wide as a narrow, they must always be 2 times as wide throughout the entire symbol. You can't have some wide stripes 2 times and others 3 times as wide as a narrow stripe.

Each wide stripe has a value based on its position. The sum of these values determines which digit is represented. Every number is made up of 2 wide and 3 narrow stripes so the digit zero has a mnemonic value of 11 (eleven). This seems odd until you look at the chart below. You will see that to have a value of zero would otherwise require a single wide stripe and this would be a bigger problem than switching a mnemonic value of 11 into the digit 0 (zero).

Weight 1 2 4 7 0 Mnemonic
Digit black or white width (using weight)
0 n n W W n 4+7 (force 0)
1 W n n n W 1+0
2 n W n n W 2+0
3 W W n n n 1+2
4 n n W n W 4+0
5 W n W n n 1+4
6 n W W n n 2+4
7 n n n W W 7+0
8 W n n W n 1+7
9 n W n W n 2+7

Interleave 2 of 5 can only encode even numbers of digits. In many cases, the last digit is used as the check digit and this is calculated in the same way that UPC or EAN check digits are calculated. Often, this final digit is not displayed under the barcode because it is not part of the original number. In these case where the check digit is part of the encoded number, there are an ODD number of usable digits plus the check digit. When a check digit is not used, all of the digits are significant. There is nothing in the barcode to identify if the last digit is being used as a check digit or not. You must know this based on your application. In the event you need to encode an odd number of digits without the check digit (or an even number plus the check digit) a leading zero is added to the number to cause the end result to be an even number of digits total. The barcode also starts with a start marker made up of 4 narrow lines (black white black white) and stop mark is always located at the end also which is one wide stripe and two narrow stripes (black white black).

In our example image below, the start and stop marks are identified in yellow. The digits pairs are identified by the blue and green stripes. We are using a check digit in our example and although it doesn't show in the actual barcode (shown above), we have marked it in red in the sample below so you can see where it is being calculated in. For the example, the check digit works out to be the number 5.

Interleave 2 of 5 is prone to have partial scans. If the scanner is allowed to slip off the top or bottom of the barcode, trailing digits could be missed and the scanner could think that it has done its job. There are a couple solutions for this problem.

  1. Use a check digit as we have done in our examples. The application that makes use of the scanned numbers would also calculate the check digit and if it doesn't match what is expected the entire number is discarded. Using our example 1, 2, 3 ... 8, 9 give us a check digit of 5. So if only the first 5 digits scan properly, the program would use 1, 2, 3 and 4 to calculate a check digit which should be 8. Because the 5th digit of our example is 5 not 8 we know we didn't get the entire number so we discard it all.
  2. You could always use a fixed number of digits and left pad with zero. Then you application could check the length of the entire number including leading zeros and if it isn't what you are expecting, again you discard the entire number.
  3. Lastly would be to use guide bars on the top and bottom of the barcode. The guide bars must touch the top and bottom of each stripe and run straight accross in the scanning direction. These bars must also be at least 3 times wider than a narrow bar to make sure they aren't mistaken for an actual bar. If the scanner slips off the top or bottom of the symbol, these bars prevent a valid scan. There is an example shown below.

If you are interested in creating your own free Interleave 2 of 5 barcodes, you can visit our barcode page and make them and save them for your use.