If you can see it on the layout, then it will print.
The only other option I can think of other than what Erwin suggested, is to have two layouts.
One that shows the text you want just for viewing, and one that hides it - this one you will publish.
Of course this means the text must be in a layer that can be turned on/off for the saved views that will be used on the layouts.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11