I am creating an invoice in livecycle professional, its completed but would like to add a button where the form will PRINT, will then save the PDF form to a specific location and then EXIT it, all by clicking on that one button. or having 2 buttons to make it easier.
I am sure it can be done by adding the correct commands, but having trouble to do this. Can anyone help me??? Any input would be great. thanks
Closing a form with a button:
http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=18361
Saving a form to specific location:
http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=16903
Printing a form:
xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
You easily can "melt" all these events to a "one click-event" by putting the scripts into the pre print, click and post print events of a regular button.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs