Skip to content

ajayakhatri/pdfpagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdfpagination

Pagination and merging of multiple pdfs

Libraries used

  • fpdf2
    • pip install fpdf2
  • PyPDF2
    • pip install PyPDF2

Instructions

  1. Name pdfs in numeric order.
    • First Pdf is named as: 1.pdf
    • Second Pdf is named as: 2.pdf
    • and so on.
  2. Store pdfs in "pdf" folder
  3. Run main.py or main.ipynb

Output

  • Paginated individual Pdfs are stored in "unmergedpdfs" folder
  • Paginated Merged Pdfs are saved as "Output.pdf"

Note

This code is modified from code taken from https://stackoverflow.com/a/68382694

About

Pagination and merging of multiple pdfs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published