Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Discard colour when prints

Avatar

Level 7

I have apply a solid colour as background for a subform.

Is it possible when prints to discard the background colour?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

You can use the following in the prePrint event of the subform:

this.border.fill.presence = "invisible";

and this in the postPrint:

this.border.fill.presence = "visible";

Good luck,

Niall

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

You can use the following in the prePrint event of the subform:

this.border.fill.presence = "invisible";

and this in the postPrint:

this.border.fill.presence = "visible";

Good luck,

Niall