The Visible (Print Only) option is available in the Presence list on the Object palette. When you apply the Visible (Print Only) option to an object, the object appears only when the form is printed, and does not appear when the form is viewed on-screen.
However, when you select Acrobat and Adobe Reader 7.0.5 or later as the target version for a form, and apply the Visible (Print Only) presence option to a button object, the option may not work on the following versions of LiveCycle Designer:
- LiveCycle Designer 7.0 and 7.1
With dynamic PDF forms that are migrated to LiveCycle Designer 9.0 and then opened in Acrobat or Adobe Reader 8.0 or later, the Button object may be invisible when the form is printed.
- LiveCycle Designer 9.0
With static and dynamic PDF forms, the Button object may still be visible on the screen when you view the form by using the Preview PDF tab in LiveCycle Designer 9.0 or open it in Adobe Acrobat 7.0.5 or later.
Note: This issue does not occur in Adobe Acrobat 8.0 with dynamic PDF forms.
To resolve these issues, you must carry out these four steps for each Button object that you want to show or hide in Acrobat and Adobe Reader 7.0.5 or later:
2. In the Presence list on the Object palette, select Invisible.
3. Copy and paste the following script into the prePrint event in the Script Editor.
this.presence = “visible”;
4. Copy and paste the following script into the postPrint event in the Script Editor.
this.presence = “invisible”;