Insert the given text on each page in the user-defined position. For now the text is taken from the fisrt 6 characters of the PDF filename.
Python 3.10
and PyMuPDF
.
- Prepare the PDF files and put them to
files
. - Run the script at the root folder.
python3 ./insertText.py
- The processed PDF files locate at
outputs
folder.