Can I merge two PDFs? #1359
Replies: 2 comments 2 replies
-
Hi @dankrzeminski32, I recommend generating your metrics first and then producing the whole PDF file in the desired order at the end of the process. While you could leave blank pages at the beginning and fill them later, this approach isn’t officially supported and may lead to inconsistent behavior. Regarding merging PDFs, fpdf2 doesn’t support this feature. Instead, you can create two separate PDF files using fpdf2 and then merge them with another tool, such as pypdf. |
Beta Was this translation helpful? Give feedback.
-
Hi @dankrzeminski32 🙂 @andersonhc is totally right, we even have some documentation on how to combine You could also use |
Beta Was this translation helpful? Give feedback.
-
I'm interested in creating 10-15 pages in one PDF, using the data from those 10-15 pages to get aggregate metrics, build one page showing the aggregate metrics and then add it to the beginning of the 10-15 page document.
Hopefully this makes sense! Let me know if you have questions.
Beta Was this translation helpful? Give feedback.
All reactions