Remove header while printing a page from Oracle apex 5.0

The APEX documentation on Printer Friendly mode states

When referenced, the Application Express engine does not display tabs or navigation bars, and all items are displayed as text and not as form elements.

We can use this to identify header component on our page and that should not be displayed while printed.

Use this code in HTML Header region after editing the page.

<style type=”text/css”>
@media print {
   .t-Header-branding{

       display:none;
   }

}
</style>