Review a PDF before printing, locate issues on a page preview and produce a repaired copy. PrintCheck runs locally in Java Swing using Apache PDFBox.
Drop one PDF on the window or choose Open PDF. Pick A4, Letter or A3 as the intended paper. Click a finding to open its page. Orange marks the bounds of an image or the first affected glyph of a font. Previous and Next also work on pages with no findings.
| Finding | Action |
|---|---|
| Physical sheet size differs from the target | Repair selected fits and centers the existing page proportionally. It preserves vector content, retains portrait or landscape orientation, and clips to the original sheet. |
| A placed image is below 300 ppi on either axis | Supply higher-resolution artwork of the same aspect ratio. PrintCheck checks the new image at every shared placement and replaces the resource wherever it is used. Review all affected pages. |
| Text draws a glyph from a font that is not embedded | Review the preview, then explicitly approve conversion of that entire page to a 301-ppi RGB print image. This fixes the displayed appearance in place, including any font substitution visible on this computer. It removes searchable text and vector detail on that page. To keep selectable text or restore an incorrect glyph, re-export from the authoring file with its original fonts embedded. |
After each repair, PrintCheck reopens a temporary PDF, rescans it and displays the new preview. Use Save print copy to write a new filename. The saved file is reopened and checked before success is reported. The source and existing destinations are protected.
Open examples/sample-before.pdf with A4 selected. Page 1 has a sheet-size mismatch, a 13.5-ppi image and an unembedded font. Replace the image with examples/original-art.png, fit the paper, then preview and repair the font. Save the copy and compare it with examples/sample-after.pdf.
Install JDK 17+ and Python 3.10+ on the build machine. Run:
python build.py --test
java -jar build/PrintCheck.jarKeep the app jar next to its lib folder. Pass a PDF path as the first argument to open it on launch. The build downloads PDFBox once and checks its SHA-512 digest. The desktop application works offline.
The inspector checks media-box dimensions, placed image resolution and fonts used by text in ordinary page and form content. The target is 300 ppi with a half-ppi rounding tolerance. A high pixel count cannot establish original image sharpness. The scan does not certify color profiles, PDF/X, bleed, spot colors, annotation appearances or printer-specific requirements.
Repairs target static PDFs. Signed or encrypted documents, tagged structures and interactive forms are excluded from repair. Geometry changes and page rasterization also require matching production boxes and an annotation-free target page. Masked, inline and stencil images require editing in the original layout. The app refuses font rasterization while a low-resolution image remains on the page. Rendering and replacement images are limited to 32 megapixels.
See CONTRIBUTING.md, CHANGELOG.md and the MIT license. The separately distributed Apache PDFBox library retains its own license and notices.