Troubleshooting
QR code cut off in a PDF
A QR code cut off in a PDF usually means the artboard or crop box clips it, a mask or frame trims it, or transparency flattening rasterised it at low resolution. Zoom to 400% in a PDF viewer — vector edges stay razor sharp, rasterised ones go soft. Re-export with the code fully inside the artboard and vectors preserved.
Three ways a PDF eats a QR code
- Page and artboard bounds. Anything hanging past the artboard, page box or crop box is clipped at export — silently. A code nudged 2 mm over the edge loses 2 mm of pattern, or just its quiet zone, which is enough on its own.
- Clipping masks and frames. An InDesign frame smaller than the placed graphic, a Figma frame with "clip content" on, a stray mask on a parent group. The layout view often shows the crop; a rushed export is when nobody looks.
- Transparency flattening. If the code touches any transparency — a drop shadow overlapping it, an opacity setting, a blend mode — the exporter may rasterise that region to flatten it. Common flattener presets rasterise affected areas at as little as 150 ppi, well under the 300 DPI floor, so the code survives visually but prints soft and marginal.
The 400% check
Open the exported PDF and zoom to 400% on the code:
- Vector module edges stay razor sharp at any zoom — the code was preserved.
- Rasterised edges go soft or blocky — flattening or a raster placement got it.
While zoomed, also confirm all four quiet zones are present and no edge of the pattern is shaved. This one-minute check catches every fault on this page before a print shop does.
Export settings that preserve the code
- Place the code as vector — SVG, PDF or EPS, not a PNG screenshot. The full workflow is at adding a QR code to a PDF, and the reasoning at print QR codes from SVG.
- Export PDF/X-4 where your print shop accepts it — it keeps transparency live instead of flattening, so nothing gets rasterised.
- Avoid "smallest file size" presets. They exist to make email attachments, not print files, and they downsample images aggressively — around 100 ppi in Acrobat's case.
- Keep effects off the code. No drop shadow touching it, no transparency over it, nothing overlapping the quiet zone. A clean, boring code region gives the flattener nothing to do.
After export, verify the actual file
Do not trust the layout view — test the exported artefact. Zoom in, screenshot the code, and decode the screenshot with our scanner; or run the source artwork through the validator, which renders and decodes it. If the PDF is going to a commercial printer, ask for a proof and scan that too — the printer's own RIP is one more processor in the chain.
FAQ
Why is my QR code cut off in the exported PDF but fine in the design file?
The design view shows the artwork; the export applies the page bounds, masks and frames. Anything outside the artboard or inside a clipping mask is trimmed at export time, which is exactly when nobody is looking.
Why does my QR code look blurry in the PDF at high zoom?
It was rasterised — either it was placed as a raster image, or transparency flattening converted that region to pixels at export, often at 150 ppi. Re-place it as vector and export with transparency preserved, such as PDF/X-4.
What is the safest way to put a QR code in a PDF?
Place an SVG or PDF version of the code, keep it and its quiet zone fully inside the page bounds, keep effects and transparency away from it, and zoom to 400% in the exported file to confirm sharp vector edges.
Do PDF compression settings affect QR codes?
Vector codes, no — they compress losslessly as drawing commands. Raster codes, yes — downsampling and JPEG compression inside the PDF soften module edges exactly like any other image pipeline.
Try it — free, no signup
Related
- QR code not scanning: the checklist — Work through these in order, because they are ranked by how often they are the actual cause: quiet zone, contrast, size for distance, glare, blur from…
- QR code cropped by a printer — Printers leave a 3–5 mm unprintable margin, and borderless modes enlarge the page. Why edge-placed QR codes get clipped, and safe-area rules to fix it.
- How to add a QR code to a PDF — Best route: place the code in the source document before export, as SVG so it stays vector in the PDF. Editing a finished PDF or regenerating also work.
- Why you should print QR codes from SVG — Vector QR codes rasterise at the press's native resolution with exact module edges. The PNG-resample chain is how codes that looked sharp on screen die in print.