Is it possible to hide the header when printing?

Product: PowerShell Universal
Version: 4.0.6

I’ve created a dashboard page that will be printed a lot for customers. The customers only need the contents of the page’s <main> element, and nothing in the <header> element. Is there a way to add a class to the header element or override one of its existing classes to set display: none for print media?