Zone Industrielle Ouled Saleh — 20180 Bouskoura, Morocco

The barcode, drawn in the sand of Florida

An engineer sitting on a beach draws dots and dashes in the sand, then pulls them out with his fingertips. He has just invented the barcode. It would take twenty-five years and a pack of chewing gum for a checkout to read one. On a bottle, the code remains temperamental: curvature, edges and material decide whether it scans first time.

Parallel lines of different widths drawn by finger in sand, next to a white bottle
Illustration — Lines drawn in the sand, like Woodland's in 1949.

Dots and dashes in the sand

In 1948, at the Drexel Institute of Technology in Philadelphia, a graduate student, Bernard Silver, overhears a conversation. A supermarket executive is asking the dean of engineering whether products could be read automatically at the checkout. The dean says no. Silver mentions it to a friend, Norman Joseph Woodland, a young mechanical engineering lecturer. Their first attempt, with ultraviolet ink, fails: the ink fades too quickly and costs too much.

Woodland believes in it. He quits his job and moves into a family apartment in Florida. One day, on the beach, he thinks about the problem again. He remembers Morse code, learned in the Boy Scouts. He draws dots and dashes in the sand, then pulls them downwards with his fingers. The dots become thin lines, the dashes thick ones. "I just extended the dots and dashes downwards and made narrow lines and wide lines out of them," he would recall. The barcode is born: a two-dimensional Morse code.

A patent ahead of its time

To read these lines, Woodland borrowed the technology of optical soundtracks in cinema: a 500-watt bulb lit the paper, and a photomultiplier tube from a film projector picked up the light. With Silver, he filed a patent on 20 October 1949. It was granted on 7 October 1952. The patent also covered a circular, bull's-eye version that could be read from any direction.

But the invention was not yet commercially viable. IBM, which Woodland had joined in 1951, did not develop it. The two inventors sold their patent to Philco in 1952 for 15,000 dollars. It passed to RCA, which tried to develop it through the 1960s, until it expired in 1969.

Troy, Ohio, 8:01 a.m.

The barcode came back through supermarkets. In 1973, the American grocery trade associations chose a symbol. The winner was IBM's, designed by George Laurer, with vertical bars that printed better than the circular bull's-eye. Woodland, by then at IBM, had helped Laurer write his proposal.

On 26 June 1974, at 8:01 a.m., at the Marsh supermarket in Troy, Ohio, the first item marked with the universal code went over a scanner: a 10-pack of Wrigley's Juicy Fruit chewing gum. The register rang up 67 cents. A facsimile of the pack went on display at the Smithsonian's National Museum of American History in Washington.

The European EAN code then extended the American code to thirteen digits: the EAN-13 barcode, which carries the GTIN, the item's global trade number. Its first three digits identify the GS1 member organisation the manufacturer has joined. They do not necessarily say where the product was made.

Three pitfalls on a bottle

A barcode is made for a flat surface. On a bottle, three difficulties arise.

  • Curvature. On a cylinder, the bars on the sides curve away and the scanner no longer sees them. GS1 distinguishes two orientations. In "picket fence", the bars are perpendicular to the surface the pack stands on. In "ladder", the code is turned a quarter turn. Picket fence is preferred when curvature allows. But on a curved surface, GS1 requires ladder orientation, so that both ends of the code are visible to the scanner at the same time. The tables in the GS1 General Specifications give the diameters below which picket fence is no longer allowed.
  • Edges. The code should be at least 8 mm, and no more than 100 mm, from the nearest edge. Experience has shown that the 5 mm margin once recommended was inadequate: cashiers often grab items by the edges with their thumbs.
  • Material. Polyethylene and polypropylene have low surface energy: ink beads up instead of bonding. The surface is treated before printing, by flame or corona discharge. See bottle decoration.

Barcode placement starts at the design stage

The right location is decided when the bottle is designed, not when it is labelled. GS1 recommends placing the code in the lower right quadrant of the back panel, with its quiet zones, the clear margins on either side of the bars, respected. A flat or gently curved area, without ribs, parting line or mould engraving under the label, makes scanning more reliable. See bottle design.

Two rules complete the picture. An item must never carry two different codes. And contrast matters as much as shape: dark bars on a light background. For medicines, two-dimensional codes such as DataMatrix, often laser-marked, also carry the batch number and expiry date; see laser marking.

Woodland drew his first bars in the sand, on a perfectly flat surface he could wipe clean with the back of his hand. A bottle offers neither that flatness nor that forgiveness. That is why a barcode is placed when the bottle is drawn, where both its ends stay visible and its bars stay sharp.

Glossary

Barcode
A series of bars and spaces of varying widths encoding a number readable by an optical scanner.
EAN-13
The thirteen-digit European barcode, an extension of the American UPC.
GTIN
Global Trade Item Number, assigned under GS1 rules and encoded in the EAN.
Quiet zone
The clear margin to the left and right of the bars, essential for scanning.
Ladder orientation
A code turned a quarter turn, with bars parallel to the ground, for curved surfaces.
Corona treatment
An electrical discharge that raises a plastic's surface energy before printing.

Further reading