Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

button visible but not Print with script

Avatar

Avatar
Validate 25
Level 2
mmgiath
Level 2

Likes

6 likes

Total Posts

321 posts

Correct Reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 2
mmgiath
Level 2

Likes

6 likes

Total Posts

321 posts

Correct Reply

0 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
mmgiath
Level 2

19-08-2015

How with a script I can make a button visible but not Print?

Thank you

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,077 posts

Correct Reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile

Avatar
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,077 posts

Correct Reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile
Magus069
MVP

19-08-2015

Hi there,

to be able to hide objects when printing without having to put presence in each object's events prePrint and postPrint,

you can use the property relevant

this.relevant = "-print";

Refer to this link for more information:

LiveCycle ES2 * Adobe LiveCycle Designer ES2

Avatar

Avatar
Boost 3
Level 2
_Sid_
Level 2

Likes

3 likes

Total Posts

47 posts

Correct Reply

6 solutions
Top badges earned
Boost 3
Boost 1
Applaud 5
Affirm 5
Affirm 3
View profile

Avatar
Boost 3
Level 2
_Sid_
Level 2

Likes

3 likes

Total Posts

47 posts

Correct Reply

6 solutions
Top badges earned
Boost 3
Boost 1
Applaud 5
Affirm 5
Affirm 3
View profile
_Sid_
Level 2

19-08-2015

there must be a better way to do this, but a crude option is :

following script into the prePrint event in the Script Editor.

this.presence = “visible”;


following script into the postPrint event in the Script Editor.

this.presence = “invisible”;