Change PDF export

Is it possible to change the layout of the PDF export. I can’t change paper format, reduce size, create a header with our business logo.

I know you can change the HTML version but it’s much simpeler if we can edit the pdf layout too.