'Extract the First Page of a Signed (encrypted) PDF Using Python
I'm trying to automate a long manual workflow for my work using Python. I need to get the first page of 10 different PDFs, and combine them together into one PDF. However, these PDFs are digitally signed using Adobe Sign, so they are 'encryted.'
I tried to use PyPDF2 package but it cannot split encrypted PDFs. Current the manual workaround is to print the first page of each PDF to PDF using Microsoft Print to PDF, as shown below. I don't know how to use the python.os to use Microsoft Print and print the only first page of each encrypted PDF...
EDIT: The PDFs are 'encrypted' but does not require a password to open or print. And PDFs do prevent people to edit them because they are 'encrypted.' Note I put quotes around 'encrypted' because they are encrypted only in some ways.. The software I used is Adobe Acrobat Professional.
Your guidance and insight is highly appreciated!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

