6

I have a barcode debugging story. I was working at tier-1 supplier to an auto m...

 2 years ago
source link: https://twitter.com/benji_york/status/1566421109255315458
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Don’t miss what’s happening
People on Twitter are the first to know.

Thread

See new Tweets

Conversation

I have a barcode debugging story.

I was working at tier-1 supplier to an auto maker. Our customer started complaining that they couldn't read some of the labels on parts we were sending them. Can you see the problem?

Image of a Code 128 barcode.
Replying to
Our scanners could read both, but our customer's scanners couldn't. No one could find the problem.
After a while the problem came to me. I was given good and bad examples. After manually breaking down the barcodes with pen and paper I realized that one of the vertical lines was slightly thinner than it should have been.
While trying to figure out why that line was out of spec but all of the others were fine, I realized that there was a very thin white line through the whole label (borders, other text, etc.) that lined up with the edge of the slightly-thinner-than-spec line in the barcode.
It turned out that the printer in question had a dead pixel that left certain barcodes slightly out of spec when the always-white column lined up with a supposed-to-be-black part of the bar code. Our readers tolerated the variance but our customer's did not.
So, what was the fix? Repair the printer? Replace the print head? Throw the printer out?
No, I rotated the labels by 90 degrees.
Now that bad pixel drew a white line longways along the bar code instead, leaving the individual lines intact. The customer's scanner started working reliably and we had a new rule:
Don't print labels such that the lines are drawn vertically. Instead, print them horizontally so that any single stuck pixel will not corrupt the barcode.
Replying to
You can run into another issue of you print non parallel ro print head and your printer has bad speed regulation
If the customer's reader isn't tolerant of a minor error that modern ECM readers can handle, it probably doesn't have support for QR codes at all.
Replying to
Maybe data was missing. Looks like there's a "blank line" running though the print. Possible it could affect the barcode.

Haha, looks like that was the issue. 😆

Great suggestion on label printing though.

Saw the issue right away. Blasted printers. I do like your solution.
Replying to

Yes, immediately.

The school of hard knocks is a good teacher sometimes.

Replying to
Hm. I see a 3d printed message…. I must be mad.
Replying to
Without reading, that looks like a printer banding issue!
Replying to
Good solution 🐱 in Brazil we called this kind of solution as "gambiarra"

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK