Expand my Community achievements bar.

Change Print Button to print only 2nd page of document

Avatar

Former Community Member
I have designed a 2 page document. The first page is informational the second is the fill able form with the print button. I only want the second page to print when the print button pushed.



I am a newbie to Java script or form calc in live cycle designer.



I need to know the what to change in the print button script to make it only print the second page.



Using Windows XP Pro, PC, HP printer.



Thanks for any help you can give.



Lisa
2 Replies

Avatar

Level 7
You can not modify the Toolbar's Print button nor can you modify the "File => Print" option, but you can modify a print Button on your form. The exact code will depend on the application you used to create the form.



AcroForms:



this.print({bUI: false, nStart: 1, nEnd: 1});



LiveCycle Designer you would need to modify the default print button action:



xfa.host.print(0, "1", "1", 0, 1, 0, 0, 0);

Avatar

Former Community Member
Thanks Geo,



The LiveCycle Designer on is what I needed. It works great. Thanks again.



Lisa