What I really want: A command-line preflight tool for PDFs
Creating PDFs is difficult. Creating PDFs for print is even more difficult. Reportlab does a great job, but it defaults to RGB in most cases. This necessitates some tweaking of both Reportlab code and the code using Reportlab. Testing the result is difficult, mostly because I don’t know of any command-line tools to do preflight testing for RGB and CMYK elements.
What I need is a command-line tool to do some basic PDF preflighting (eg. non-CMYK elements, non-embedded fonts, images below 300dpi, characters which may cause difficulties in printing, etc.). Is that so much to ask? When the PDF spec is 1300 pages long, it is. Still, don’t think I won’t try and take a stab at it.
February 4, 2020 at 12:04 pm
I’m afraid I know the answer to this question already but… 12 years on, did you ever find a solution to a CLI tool for PDF Preflight?