I have a stack with one card, multiple fields and other stuff. I want to print the card to a pdf, reusing the same card but populating it with new data each time. So I want card 1 to be printed e.g. 10 times, with different data each time, to one single pdf with 10 pages.
In pseudo-code, I've tried this:
Code: Select all
open printing to pdf "myfile.pdf"
repeat x times
updateCard1Data
print card 1
end repeat
close printing
The result is a pdf file with only the last data update on a single page. So it doesn't work.
Now, is there a way to make it work, WITHOUT having to create and populate as many cards as there will be pages in the pdf?
Or is printing to pdf restricted to 'one card - one page'?