Hi,
I have a postprocess script that removes the trailing white page. It works when I have less than 7 pages. If I have 8 or more, it just renders the first 2 pages.
res.content = await jsreport.pdfUtils.removePages(res.content, req.data.tables.length + 1);
Example: https://playground.jsreport.net/w/marc-pages-onclick/59b4z0Lk
Can someone help on this?
Thanks.