2

How can I convert a PDF form into a read-only PDF for sending it to my client?

Currently I am doing this by opening each of the PDF forms in Mac Preview and printing to a PDF. This is a very time consuming process.

I am already using some python scripts to automate some of my project tasks. Is there is a python module, that I can use to make these PDF forms read-only in place of having to open each of them in preview?

Here is code I use to merge PDFs. It merges great but the merged forms are still fillable forms. I need them to be read-only.

from PyPDF2 import PdfFileMerger

merger = PdfFileMerger()
merger.append(open("pdf1.pdf",'rb'))
merger.append(open("pdf2.pdf",'rb'))

merger.write("merged.pdf")
Zombo
  • 1
  • 55
  • 342
  • 375
hoby1k
  • 21
  • 2
  • Can you share the code that you are working with currently? – lenz Sep 01 '15 at 22:03
  • I edited my post with some code that I'm using. It's not really a code that addresses the whole print to PDF issue though. – hoby1k Sep 02 '15 at 02:18

0 Answers0