Sub topic 14
Verifying the Exported File
This chapter assumes you can export a PDF/X file from your layout application and that you know what trim, bleed, output intent and ppi mean. Your layout application's export dialog reports what it intended to write. A separate check shows what the file actually contains. Run that check before anything goes to the printer.
Why verify independently
Export settings can be overridden by a preset, a missing font, or a placed file the application flattened differently than you expected. A second tool, ideally not the one that made the file, reads the PDF as the printer's software will. Four command-line tools cover the main checks.
Check the page boxes
pdfinfo -box job.pdfCompare the output with the printer's specification. The TrimBox should equal the finished size, for example 210 x 297 mm for A4, which is about 595.28 x 841.89 points. The BleedBox should extend past the TrimBox by the requested amount, usually 3 mm (about 8.5 points) on each side. If the TrimBox is missing, or equals the MediaBox when you added bleed, the file will be trimmed in the wrong place.
Check the fonts
pdffonts job.pdfRead the emb column. Every row should say yes. A no means the printer's system may substitute another font and reflow your text. Subset fonts show a prefix such as ABCDEF+ in the name, which is normal.
Check the images
pdfimages -list job.pdfLook at the color column and the x-ppi and y-ppi columns. Any rgb entry in a CMYK job needs a decision. For PDF/X-1a it is an error, and for other PDF/X versions it is acceptable only if the output intent covers the conversion. Effective resolution below the printer's minimum, commonly 300 ppi for photos, means a soft or pixelated result.
Check ink coverage
gs -o - -sDEVICE=inkcov job.pdfGhostscript prints the cyan, magenta, yellow and black coverage for each page as a fraction of the page area. A page that should be black and white but shows nonzero C, M or Y values has stray color. A page with very high values may exceed the printer's total ink limit, which you must check against the specification.
Open it in a viewer
Tools read structure, but only your eyes catch some faults. Open the PDF in Acrobat or another viewer. Turn on overprint preview, then step through every page. Look for missing images, shifted text, unexpected knockouts, and elements that moved during export. Check that the PDF/X conformance shows in the document properties.
A repeatable routine
- Re-run your preflight profile on the exported file, not only the source.
- Run the four commands above and compare each result with the printer's specification.
- Review the pages visually with overprint preview on.
- Record the results next to the file name and export date.
Exercise
pdffonts job.pdf lists one font with no in the emb column, and pdfimages -list job.pdf shows one rgb image in a CMYK job. What should you do before sending the file?
Show answer
Do not send it. Fix the source: embed or replace the font, and convert the RGB image to CMYK or confirm the output intent allows it. Then re-export and repeat all the checks, because a fix can change other results.
Exercise
pdfinfo -box shows a TrimBox of 210 x 297 mm and a BleedBox identical to it. The printer asked for 3 mm bleed. What is wrong?
Show answer
The bleed was not exported. The BleedBox should be 216 x 303 mm, which is 3 mm larger on every side. Check the bleed setting in the layout document and the export dialog, then re-export.