Level 88
I believe you can set the set_paper property: https://code.google.com/p/dompdf/wiki/Usage#set_paper
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm currently using this wrapper of dompdf for laravel to generate my pdfs, but i would like to print the number page and set the page orientation to landscape and also give it some borders, how could i do that?
Please or to participate in this conversation.