Sub topic 14
Preflight: catching problems before the printer does
This chapter assumes you can set up a document with bleed and a safe area, and that you know what effective resolution means. It also assumes you have exported at least one PDF. Here you learn what preflight is and how to read its warnings.
What preflight does
Preflight is an automated check of a file against a set of rules before it goes to print. The rules describe what the printer can accept. The check reports each place where the file breaks a rule. It does not fix anything. You decide whether each warning matters.
You can run preflight at two points. Run it in your layout application while you work, so problems show up early. Run it again on the exported PDF, because export settings can introduce new problems, such as a dropped bleed.
Common warnings and what they mean
Each warning points back to an earlier chapter. The table maps the usual ones to a cause and a fix.
| Warning | Likely cause | Fix |
|---|---|---|
| Missing or insufficient bleed | Bleed was not set, or the background stops at the trim edge | Extend the artwork 3 mm (0.125 in) past trim and re-export with bleed on |
| Low-resolution image | Effective resolution is below the target, often because the image was enlarged | Replace it with a larger original, or reduce the placed size |
| RGB color found | An RGB image or swatch was left in a CMYK job | Convert to the requested CMYK profile |
| Missing font | The font was not embedded in the PDF | Embed the font, or convert the text to outlines |
| Text outside the safe area | Text sits close to the trim edge | Move it inside the safety margin |
| Missing or unlinked image | The linked file was moved or renamed | Relink the file, or embed it |
Not every warning is an error. A low-resolution warning on a photo that is meant to look soft may be acceptable. A missing-bleed warning almost never is.
Checking the PDF boxes yourself
A preflight report can be long. For a quick check that bleed and trim were exported, read the page boxes directly. The pdfinfo tool from poppler-utils prints them.
pdfinfo -box flyer.pdfFor an A4 flyer with 3 mm bleed, the TrimBox should measure 595.28 x 841.89 points. The BleedBox and MediaBox should be larger by about 8.5 points on each side. If the BleedBox equals the TrimBox, the PDF has no bleed.
Recomputing an image check
When a report says an image is too small, you can check the numbers yourself. This reuses the effective resolution formula from earlier.
def effective_ppi(pixels, placed_length_inches):
"""Effective resolution of an image once it is scaled in the layout."""
return pixels / placed_length_inches
def check_image(pixels, placed_inches, minimum_ppi=300):
ppi = effective_ppi(pixels, placed_inches)
status = "OK" if ppi >= minimum_ppi else "TOO LOW"
return f"{ppi:.0f} ppi: {status}"
print(check_image(1800, 6)) # 300 ppi: OK
print(check_image(1800, 9)) # 200 ppi: TOO LOWUsing the printer's profile
Most printers publish their own preflight profile or a list of requirements. Load it if one exists. It encodes their minimum resolution, color profile, bleed amount, and whether they want crop marks. A generic profile is a reasonable fallback, but the printer's own rules take priority when the two differ.
Exercise
A preflight report on your exported brochure PDF shows "Insufficient bleed" and "Low-resolution image (212 ppi)". The image is a 1272 px wide photo placed 6 inches wide, and the printer requires 300 ppi. What should you check for each warning, and what is the maximum width at which that photo meets the requirement?
Show answer
For the bleed warning, check that the background artwork extends past the trim edge in the source document and that bleed was turned on in the export settings. You can confirm it with pdfinfo -box. For the image, 1272 / 6 = 212 ppi, which matches the report. To reach 300 ppi, the maximum placed width is 1272 / 300 = 4.24 inches. Otherwise, replace the photo with one that has at least 1800 px across.