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

How to print, save and exit using one button?

Shai
Registered: Feb 7 2009
Posts: 3

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

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
You should use the search function of this forum! The answers are allready there.

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