These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Print multiple copies of a form but each with a different unique numbe

new_bee_03
Registered: May 12 2010
Posts: 6
Answered

Hi all,

I have a form with a text field with java script to generate a unique number.
I am looking for script or a way to print multiple copies of the form but each with a different unique number.
If you select print, you can specify how many copies BUT i need each form to print with a different unique number.

Anyone who can assist please?

Thanx!

My Product Information:
LiveCycle Designer, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Yes, but you will have to create the entire print process and not use Acrobat/Reader's print UI. You will use the 'Will Print' action to update the unique number and an 'app.response()' to get the number of copies to be printed and then use a loop to initiate a 1 copy print for each requested copy.

George Kaiser

new_bee_03
Registered: May 12 2010
Posts: 6
Thanks, will try this and let you know.
new_bee_03
Registered: May 12 2010
Posts: 6
I managed to get it working with a loop and the "xfa.host.print(0, ...)" command.

Thanks