QR codes & barcodes
Barcodes that scan reliably
A code that scans clean on your screen can still fail once it's on paper. The good news: the causes are few and every one is preventable. This is the checklist.
Why codes fail on paper
Screens are backlit, pixel-perfect and viewed up close. A printed code has to survive ink spread, registration wobble, a matte or curved surface, and a scanner swiped at speed from a foot away. When a barcode won't scan, it's almost always one of five things: it's too small, its margin is clipped, its contrast is weak, its bars are squashed, or the art was rasterized somewhere along the way. Fix those and your scan rate takes care of itself.
Keep the quiet zone
Every barcode needs a band of empty space around it — the quiet zone. Scanners use it to find where the code starts and stops; without it, the reader can't lock on.
Popcorn Editor bakes the quiet zone into the object's bounds. The Quiet field (default 4 modules) sets that margin in module widths, and it travels with the code as part of its footprint. So the rule is simple:
- Never place text, a logo or another graphic inside that margin.
- Never crop or mask the code tight to the bars.
- Don't drop Quiet below the default for anything that gets physically printed.
The margin looks like wasted space. It isn't — it's the single most common reason a retail barcode fails at the register.
Give it enough module size
The Module field is the width of the narrowest bar (or QR cell) in pixels. Push it too thin and the bars smear together on press, and the scanner sees mush instead of a pattern.
You have two ways to make a code bigger: raise Module, or just scale the whole object up on the Canvas — both keep it crisp because the art is vector. As a rule of thumb, a retail EAN or UPC code should print at roughly its nominal size — around 80–200% of the standard — and never shrunk to fit a gap. When in doubt, bigger scans.
Bar height matters (1D)
For linear barcodes (Code 128, EAN, UPC, ITF-14), the Height field sets how tall the bars are — 10 mm by default. Height isn't decoration: taller bars give the scanner more signal to catch on a fast, angled swipe, so the beam doesn't have to cross the code dead-level.
Resist the urge to squash a barcode's height to make it fit a layout. A short, wide 1D code is one of the quickest ways to tank your first-scan rate.
Contrast is everything
Scanners read a barcode as light and dark. Maximum contrast means dark bars on a light background — and the safest pairing by far is black on white.
The foreground Color field sets the bars (or modules); the background is transparent. That transparency is where designs get into trouble:
- If the code sits on a dark or photographic area, put a solid light rectangle behind it first. Don't rely on the artwork underneath being light enough.
- Avoid low-contrast pairs like red on orange, and skip gradients or patterns behind the code entirely.
- Remember some scanners read warm colors (reds, oranges) as "light," so a red-on-white code can misread even though it looks fine to you.
Print it as vector, not a screenshot
Both barcodes and QR codes are generated as true vector paths, not pasted images. That's why they stay razor-sharp at any size and export cleanly to a print-ready PDF and SVG — no blur, no anti-aliasing halos on the bar edges.
Keep it that way. Don't screenshot the code, don't drop in a downscaled PNG of one, and don't flatten it to a raster somewhere in your workflow. Keep the native barcode object all the way to export and the printer receives clean, mathematically exact edges.
Spot-linking for special inks
If your label is printed with a named ink — or you simply want the bars on their own plate — link the code's Color to a spot color. The barcode then exports on its own separation and stays 100% solid, so there's no CMYK misregistration nudging the layers apart and fuzzing the bar edges.
For the same reason, keep barcodes on plain process black rather than a rich or four-color black. A rich black relies on four inks landing perfectly on top of one another; if the press is even slightly out of register, the bars blur. One solid ink is always sharper. See marks, overprint & rich black for the full picture.
Test before you commit
Two quick checks catch almost everything:
- On screen — scan the code on your Canvas with your phone before you export. If your phone can't read it, neither will a register.
- After export — open the finished PDF and scan it at 100% zoom, not fit-to-window, so you're testing the real printed size.
The preflight print checks run automatically at export and flag related problems — low-resolution images, spot colors that would be lost — before the file leaves your hands. They won't scan the code for you, but they catch the production mistakes that often ride alongside a bad barcode.
Next: brush up on adding a barcode and adding a QR code, or follow the practical walkthrough in Create scannable QR codes & barcodes for products.