title: CF_WKHTMLTOPDF setting page size to Envelope
body: <p>I am using WKHTMLTOPDF in ColdFusion 18 and am trying to have the page size be "Envelope DL". I found the global setting size.PageSize so in the code below I added <code>pagesize = "Envelope DL"</code> but this did not change it. Does anyone have any other ideas or could tell me what I am missing?</p>
  
  <p>Any help would be greatly appreciated!</p>
  
  <pre><code>&lt;CF_WKHTMLTOPDF
      PageURL = "http://www.com/temppdf/test.htm"
      filename = "D://temppdf/test.pdf"
      orientation = "portrait"
      DisableSmartShrinking="yes"
      margintop = "0.25"
      marginleft = "0.25"
      marginright = "0.25"
      marginbottom = "0.25"
      TimeOut = "180"
      AddFooterPageNum="yes"&gt;
  
  &lt;cfheader name="content-disposition" value="inline; filename=""CS_#Dateformat(NOW(),'MMDDYYYY')#.pdf"""&gt;
  &lt;cfcontent type="application/pdf" file="D://temppdf/test.pdf" deletefile="Yes"&gt;
  </code></pre>