Command to toggle PrintDisplay

What would be the command to associate to a button to toggle the state of PrintDisplay ?
I’ve tried _PrintDisplay(State=Toggle) but it’s wrong.

Hi @Alan
The correct way is
_PrintDisplay State Toggle
_PrintDisplay S T
(S and T being the underlined letters of State and Toggle, meaning that they serve as “shortcuts”)

HTH, Jakob

Thanks, I have used
! _PrintDisplay State Toggle Enter