@page css snippet for logo, page number etc

I would like to use @page {} within @media print {} to number the exported pages and also add a company header and logo to each exported page. It seems that @page are ignored when exporting to PDF, is there any way to do what i try to do or is it a bug/limitation that not all print styling can be applied when exporting?

It seems at least some style gets applied but no @page and all similar topic ended up closed without an explanation or a solution other than using other software…

Thank you :slight_smile: