I have a Symfony platform with the TWIG template engine. I make 1000 pdf pages inside
<dynamic-page>...content in for-loop...</dynamic-page>`
However, when writing to ps_facade it gives me an exhaustive fatal error. So is it possible to create this PDF file on 5 pages?
After researching, I found that using a template with a 5-page data cost and then writing to a file should work. But this way I can not add page numbers, since the page number should be 1-1000. My footer code is as follows:
<placeholders> <footer> <div height="30px" width="100%"> <hr/> <div float="left">Blah Blah</div> <div float="left" margin-left="350px"><page-info format="Page %s of %s"></div> </div> </footer> </placeholders>
source share