title: How do I Specify PDF Output Path in Chrome Headless Mode
body: <p><a href="https://developers.google.com/web/updates/2017/04/headless-chrome#create_a_pdf_dom" rel="noreferrer">This page</a> shows that you can now use chrome to generate a PDF of a webpage using the following CLI command:</p>
  
  <pre><code>chrome --headless --disable-gpu --print-to-pdf https://www.chromestatus.com/
  </code></pre>
  
  <p>However, it does not state how to specify the output path.</p>
  
  <p>How do you specify the output path?</p>