Hello- In a form I'm working on, the owner of the form wants page 1 instruction page to not print, but they want the user to have the option to print page 1. I've used presence = "hidden" in the prePrint and presence = "visible" in the postPrint event of the page and that works successfully. I'm not sure how to give the user the option to print.
Put a check box on the instruction sheet, then in the change event of the check box, set:
Reference_Syntax.relevant = "+print";
Reference_Syntax.relevant = "-print";
depending on whether the box is checked (you can set the .relevant of an entire page). Using .relevant is better than .presence, as it prevents (or allows... -print/+print) the page from printing, but doesn't hide the page on screen, so there is no flicker while it's printing.
If you need the actual code, just let me know, but this should be enough to get you going.