title: PDF generated using CFDocument with CFPDF Action="Header" does not print on Paper or preview
body: <p>I have generated pdf using cfdocument. Added header using cfpdf=&quot;addHeader&quot;. This header doesn't print when printed on paper or show up in print preview.
  Here is the code</p>
  <pre><code>&lt;cfsavecontent  variable=&quot;pdfHeaderText&quot;&gt;
      Daily Consumer Report
  &lt;/cfsavecontent&gt;
  
  &lt;cfdocument name=&quot;PDFVariable&quot; format=&quot;PDF&quot; orientation=&quot;portrait&quot; marginbottom=&quot;1&quot; marginleft=&quot;0.5&quot; marginright=&quot;0.5&quot; margintop=&quot;1&quot; overwrite=&quot;true&quot; &gt;
      &lt;cfdocumentsection name=&quot;Title&quot;&gt;
          &lt;cfinclude template=&quot;MyReportData.cfm&quot;&gt;
      &lt;/cfdocumentsection&gt;
  &lt;/cfdocument&gt;
  
  &lt;cfpdf action=&quot;addHeader&quot; name=&quot;pdfwithHeader&quot; source=&quot;PDFVariable&quot; align=&quot;left&quot;
      text=&quot;#pdfHeaderText#&quot; overwrite = &quot;yes&quot;&gt;
  &lt;/cfpdf&gt;
  
  &lt;cfheader name=&quot;Content-Disposition&quot; value=&quot;attachment; filename=DailyReport.pdf&quot; /&gt;
  &lt;cfcontent type=&quot;application/pdf&quot; file=&quot;#Variables.DESTINATION_DIR#/#PDFfilename#&quot; deletefile=&quot;yes&quot; /&gt;
  </code></pre>
  <p>Any help would be much appreciated. Thank you.</p>