title: Export Excel file to pdf including Print titles
body: <p>I have an invoice in an excel file that I need to convert into a pdf. The problem is, that I set some Print titles to repeat on every page but if I use my code these don't show in the pdf. How can I make them show?</p>
  <p>This is my current code:</p>
  <pre><code>from win32com import client
  excel = client.Dispatch(EXCEL_APP)
  sheets = excel.Workbooks.Open(invoice.xlsx&quot;)
  work_sheets = sheets.Worksheets[0]
  work_sheets.ExportAsFixedFormat(0,invoice.pdf&quot;)
  sheets.Close(True)
  </code></pre>
  <p>All help is greatly appreciated, Thank you.</p>