title: Can I set the window.print settings with javascript?
body: <p>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 <code>window.print</code> (or window print dialog) settings.</p>
  
  <p>I have figured out that setting the <code>scale</code> equal to <code>80%</code> 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?</p>
  
  <p>I have tried adjusting the browser page <code>zoom</code> but this leads to the same behaviour (squished content) that only covers a portion of the page. The technique was based on this question: <a href="https://stackoverflow.com/questions/21093570/force-page-zoom-at-100-with-js">Force page zoom at 100% with JS</a>.</p>
  
  <p>Also, I have tried adjusting the <code>body</code> scale to <code>transform: scale(0.8);</code>, but also to no avail. This resulted in a large amount of whitespace around the elements in the PDF that I couldn't remove.</p>