How to disable a field when it will be printed

Hello all !

I have a grid where i display several fields.

My user wants that i remove some fields when print or export the grid.

How is this possible ?