Generate several pdf on a page with FPDI in PHP
Question
I'm trying to display a pdf but page by page (separated pages). The thing is that once I generate a page with FPDI, I have 4 options:
- download generated pdf
- display it directly to the browser (streaming like)
- generate an string that represents the pdf
- save as a file
What I would like to do is take option 3, put every string generated for each page and display it in different divs. Is it possible?
Solution
After a lot of research I gave up with FPDI + PHP solution and I replaced by PDF.js + turn.js, based on https://github.com/blasten/turn.js/issues/82
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow