Removing custom actions button from print

Removing custom actions button from print

Is there a way to remove the custom actions buttons when exporting to a pdf or printing?