There's a tcpdf_import class with an importPDF function since 2011, but it was never completed and thus in its current state, does not seem useable. It parses the requested PDF file's contents with tcpdf_parser's getParsedData (another class added in 2011), but I don't know how to get that content into my pdf stream then.
Is there a straightforward way to end the current page, insert a PDF file for the next page(s), and then continue on another new page? Imagine an invoice that needs to include a page with the terms of conditions, which is pre-made as a separate pdf file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There's a
tcpdf_import
class with animportPDF
function since 2011, but it was never completed and thus in its current state, does not seem useable. It parses the requested PDF file's contents withtcpdf_parser
'sgetParsedData
(another class added in 2011), but I don't know how to get that content into my pdf stream then.Is there a straightforward way to end the current page, insert a PDF file for the next page(s), and then continue on another new page? Imagine an invoice that needs to include a page with the terms of conditions, which is pre-made as a separate pdf file.
You can do it using FPDI. See this thread: https://sourceforge.net/p/tcpdf/discussion/435311/thread/66272894/
Last edit: Simon 2014-09-25