Currently I can generate a single PDF file using this process:
ad_returnredirect
to ADP pages (the PDF template)- Create a PDF using the
eval [template::adp_compile -file $template]
. ad_returnredirect "/pdfs/$folder/${fileprepend}.pdf"
to file location to download.
But what I need is to generate a multiple PDF files. I tried to use the same process and add a loop... but as you can see it requires to visit the ADP pages first before it can generate template and create a PDF files, is there any other way to create a PDF files in sub-process without visiting the pages for template?