I am printing a window but I dont want my print button visible when printed. Not sure how to hide it just for the print view.
You can do the following on the print button:
event.source.visible = 0
your print code....
event.source.visible = 1
Tahks. Worked great. Trying to make something simple complicated.