Printing a web page to a custom-sized PDF on macOS

Creating a custom-sized PDF document from a web page using standard browser features is still somewhat tricky. For a recent project, I was curious to find adequate workflows for all major browsers on mac OS . I’ve used two simple test pages, one for each page orientation: landscape (64cm × 36cm) and portrait (36cm × 64cm) . The relevant CSS bits to configure the print output: @page { /* landscape…