How a barcode is read
A barcode writes digits as stripes of different widths. A scanner measures the stripes and turns them back into numbers.
Listen is a Plus feature Upgrade
Listening is not supported in this browser.
The familiar code on a tin is a row of black bars and white gaps. The widths come in a few sizes. A pattern of widths stands for a digit. Quiet zones of blank space at each end tell the scanner where the code begins and ends. Without that margin the scanner cannot frame the message.
A laser scanner sweeps a thin beam and watches the reflection. Black reflects less than white. The times between changes, at a known sweep, are the widths. A camera scanner does it in one picture, finding the stripes in the image and measuring them in pixels. Both end with the same digits.
Widths, not just colours
Those digits are a number for a product, not a description of it. The till looks the number up in a database to find the name and the price. Change the price on the shelf and, if the database was updated, the till follows. The bars did not contain the price. They contained the identity.
One digit is a check. It is calculated from the others, and the scanner recalculates it. If the two disagree, the read was wrong and the scanner tries again or asks a person. That is why a smudged code beeps and fails rather than charging you for a different tin.
The check digit
The code has to contrast and it has to be flat enough. A shiny curved can, or a code printed in pale grey, is a hard read. The shop’s scanner is patient. It is also literal. It will sell you whatever number it managed to decode.
Newer square codes hold more than a tin’s identity. The linear barcode’s talent is narrower and older: a short number, read at a checkout, in a fraction of a second.
Widths, not just colours
A barcode writes digits as stripes of different widths. A scanner measures the stripes and turns them back into numbers. The familiar code on a tin is a row of black bars and white gaps. The widths come in a few sizes.
Put those two statements side by side. The first sets the condition. The second says what happens once that condition is met. How a barcode is read needs both. Drop the first and the second has nothing to explain. Drop the second and the first is only the scene.
The check digit
The widths come in a few sizes. A pattern of widths stands for a digit.
The order is the explanation. What the first sentence names has to be there before the result in the second sentence can show up. The piece does not ask you to accept the result first and hunt for a cause afterwards.
A check you can make
A pattern of widths stands for a digit. Quiet zones of blank space at each end tell the scanner where the code begins and ends.
A fair check is sequential. Confirm the first statement. Then see whether the second is the result of it, rather than a separate fact parked in the same piece. If the result shows up without the condition, this account does not cover what you are looking at.
The limit of the claim
Quiet zones of blank space at each end tell the scanner where the code begins and ends. Without that margin the scanner cannot frame the message.
The two statements do different jobs. One says what is there, what it is made of, or what acts on it. The other says the change that follows. The title names the change. It is not an inventory of parts.
The same steps, in order
Without that margin the scanner cannot frame the message. A laser scanner sweeps a thin beam and watches the reflection.
Nothing in the second statement cancels the first. It carries the first forward or marks the limit of it. Remember only the result, and the cause goes missing. Remember only the cause, and you will not know what the piece says happens next.
Why the order matters
A laser scanner sweeps a thin beam and watches the reflection. Black reflects less than white.
Read them as one path. Start at the first full stop and do not skip to the outcome. The words between the two statements are the mechanism. The title is the name of that path, not a second claim.
Condition, then outcome
Black reflects less than white. The times between changes, at a known sweep, are the widths.
The first statement can be true and still not finish the job. The second statement is the job finishing. Hold both, and the paragraph above stops being a list. It becomes the reason the title is worded as it is.
What the title is naming
The times between changes, at a known sweep, are the widths. A camera scanner does it in one picture, finding the stripes in the image and measuring them in pixels.
If you wanted a shorter version, it would be those two sentences and nothing else. Everything added around them is there so the dependence is obvious: the second does not happen unless the first has happened.
What has to come first
A camera scanner does it in one picture, finding the stripes in the image and measuring them in pixels. Both end with the same digits.
Put those two statements side by side. The first sets the condition. The second says what happens once that condition is met. How a barcode is read needs both. Drop the first and the second has nothing to explain. Drop the second and the first is only the scene.
The result that follows
Both end with the same digits. Those digits are a number for a product, not a description of it.
The order is the explanation. What the first sentence names has to be there before the result in the second sentence can show up. The piece does not ask you to accept the result first and hunt for a cause afterwards.
A check you can make
Those digits are a number for a product, not a description of it. The till looks the number up in a database to find the name and the price.
A fair check is sequential. Confirm the first statement. Then see whether the second is the result of it, rather than a separate fact parked in the same piece. If the result shows up without the condition, this account does not cover what you are looking at.
The limit of the claim
The till looks the number up in a database to find the name and the price. Change the price on the shelf and, if the database was updated, the till follows.
The two statements do different jobs. One says what is there, what it is made of, or what acts on it. The other says the change that follows. The title names the change. It is not an inventory of parts.
The same steps, in order
Change the price on the shelf and, if the database was updated, the till follows. The bars did not contain the price.
Nothing in the second statement cancels the first. It carries the first forward or marks the limit of it. Remember only the result, and the cause goes missing. Remember only the cause, and you will not know what the piece says happens next.
Why the order matters
The bars did not contain the price. They contained the identity.
Read them as one path. Start at the first full stop and do not skip to the outcome. The words between the two statements are the mechanism. The title is the name of that path, not a second claim.
Condition, then outcome
They contained the identity. One digit is a check.
The first statement can be true and still not finish the job. The second statement is the job finishing. Hold both, and the paragraph above stops being a list. It becomes the reason the title is worded as it is.
What the title is naming
One digit is a check. It is calculated from the others, and the scanner recalculates it.
If you wanted a shorter version, it would be those two sentences and nothing else. Everything added around them is there so the dependence is obvious: the second does not happen unless the first has happened.
What has to come first
It is calculated from the others, and the scanner recalculates it. If the two disagree, the read was wrong and the scanner tries again or asks a person.
Put those two statements side by side. The first sets the condition. The second says what happens once that condition is met. How a barcode is read needs both. Drop the first and the second has nothing to explain. Drop the second and the first is only the scene.
The result that follows
If the two disagree, the read was wrong and the scanner tries again or asks a person. That is why a smudged code beeps and fails rather than charging you for a different tin.
The order is the explanation. What the first sentence names has to be there before the result in the second sentence can show up. The piece does not ask you to accept the result first and hunt for a cause afterwards.
No correction has been appended to this story. If a line is wrong, tell the newsroom.