Repeat table headers with the Blink Converter

Hi SF,

I'm using the Blink Converter in order to generate PDF files from an HTML page (including its own HTML rendering for header and footer). I'm looking for a way to repeat the table headers on page break similar to the EnableRepeatTableHeader property on the WebkitConverter.

Thank you,

4 Replies

JJ Juan Jiminez February 27, 2020 10:51 PM UTC

BTW, I switched from Webkit to Blink due to some styling properties (bg color, etc) and loading external fonts, css, etc not working on Webkit. 


SL Sowmiya Loganathan Syncfusion Team February 28, 2020 12:38 PM UTC

  
Hi Juan,   
  
Thank you for contacting Syncfusion support.    
  
Blink rendering engine automatically repeats the table header and table footer on the print media type. You can check the behavior in the print preview option in the chrome browser. Please make sure the input HTML file contains table header and footer and it is repeated properly in the chrome browser’s print preview. Blink rendering engine itself does not have support to repeat the table header and footer on-screen media type.    
  
We have converted the HTML file with table header/footer to PDF with print media type using the Blink rendering engine. We have attached the input HTML file and output PDF document for your reference. Please find the documents from below link,   
  
Kindly try the conversion with print media type to repeat the HTML table header/footer. Please refer below link for setting print media type in the Blink rendering engine.    
  
Please let us know if you need any further assistance with this.    
 
Regards, 
Sowmiya Loganathan 



JJ Juan Jiminez March 2, 2020 10:59 PM UTC

Thanks for the info Sowmiya,

 
Table header repeat works well with Blink converter on the print media. However, it breaks if I try include PDF's header / footer generation. I'm attaching a sample.

I also have the related ticket https://www.syncfusion.com/forums/151983/blink-coverter-errors-when-trying-to-use-page-breaks-or-media-print, so we can close this one and handle it there if it makes more sense.

Best,

Attachment: Blink_PDF_exception_f6c9623d.zip


SL Sowmiya Loganathan Syncfusion Team March 3, 2020 08:20 AM UTC

Hi Juan,  
 
Thanks for your update, kindly follow up forum #151983 for the issue with PDF header and footer.  
 
Regards, 
Sowmiya Loganathan 


Loader.
Up arrow icon