I am working on creating a printable document from an HTML page but the output is too large. I don't want to have to completely restyle the page to work for printing as well (ie. print media queries for everything again), so I was wondering if there is a way I can change the window.print (or window print dialog) settings.
I have figured out that setting the scale equal to 80% generates a good PDF; however, I obviously don't want people to have to remember this. Is there a way to do this in Chrome?
I have tried adjusting the browser page zoom but this leads to the same behaviour (squished content) that only covers a portion of the page. The technique was based on this question: Force page zoom at 100% with JS.
Also, I have tried adjusting the body scale to transform: scale(0.8);, but also to no avail. This resulted in a large amount of whitespace around the elements in the PDF that I couldn't remove.
