I use Live Cycle Designer to create my Adobe documents. I am working on a kiosk project and one of the menus navigates to a document page that has PDF documents and forms for users to print out. The way the kiosk is designed, I would like for my pdf file to close after the print button is selected. I recieved a solution in the general Adobe forum, but later found out the script does not work if the document was made using Live Cycle. Any suggestions??? Is it possible??? Thanks.
what solution did u get from Adobe forum ?
you can write either of the following script on post-print event (print-button) to close the PDF after the print button is clicked -
OK thanks for the reply, my next question is how do I go about adding the script to the print button. I've tried right clicking, I've tried different options on the menus and I don't see an option to add script.
Open your PDF file in adobe livecycle designer, select print button on PDF.
Go to windows(in adobe designer menu bar) and select Script Editor - In Show dropdown list select postPrint event and copy paste the code below-