How do I automate opening a PDF in Preview, opening Print, Save as PDF--without opening preview??!
I have PDFs with form field data I have to annotate. I can't annotate them because macOS thinks they are locked. I can open them in Preview without any problem. However I have to Print, then Save as PDF, then open that new PDF to annotate them. It is perhaps the most annoying task I have to do on my Mac on a day to day basis and I have to do it dozens of times.
I'm desperately trying to automate this task using Automator, or Script Editor, or Shortcuts--however no solution works. The closest I've been able to get is macOS creating a new PDF which I can edit, but it strips out all the form field data.
- macOS can't flatten a PDF with form field data if it's locked
- macOS can't use OCR on a PDF if it's locked
Is there any way to automate opening a PDF in preview, clicking Print, then Save as PDF 1) without actually opening Preview and 2) without installing 3rd party software?
I know this is an incredibly common task on macOS for a multitude of users and I can't believe Apple wouldn't provide a way to automate this by 2025--so I assume it's here and I'm simply not discovering the right path here.