I have a one page Fill-in PDF form. I have working attempt to use ADBC to grab a row from an Access database using ADBC to fill the form fields with data from the database table. I could then, or course, print it "by hand" from the drop-down menus.
My ultimate goal is to have the script read through each row in the table, fill-in the form and either print the filled-in form or to generate a page in an output document with the filled-in page. So, if the table has 100 rows, I'll either get 100 printed pages or a 100 page document created. I know how to read through the table. I'm not certain how to handle the printing/output page creation.
Any advice would be appreciated.
So if you know how to loop through the table, then you're practically there.
Just add a this.print() command to your loop (check the reference files for
the parameters it takes), and you're done.