Better way to generate pdf with more than 1000 pages.


Hi,

I have to generate pdf of approx. 1000 pages (e.g school performance reports of students).
I found 2 ways: html to pdf conversion and creating pdf document within the code.
Please suggest me performance wise better way to generate pdf (suggest if there is another better way). 
It should take less time and less runtime memory.

Regards,
Suchita 

3 Replies 1 reply marked as answer

GK Gowthamraj Kumar Syncfusion Team December 24, 2020 03:16 PM UTC

Hi Suchita, 
 
Thank you for contacting Syncfusion support. 
 
HTML to PDF 
We can convert the HTML to PDF with 1000+pages from using HTML to PDF converter. It is heavy-weight and PDF text, image accuracy is good. But, if the input HTML string contains more external resources (images, scripts, styles, etc.,) then it will take some amount of reasonable time to access the resources. The performance of HTML to PDF conversion is depends on various factors such as OS, RAM size, processor, internet connection if online resources are used in HTML string. 
 
WebKit/Blink rendering engine for converting HTML to PDF. QtWebKit/Chromium rendering engine preserves the output PDF document like how the input HTML file/URL is displayed on the WebKit/Blink based web browsers (safari, chrome).    
 
Please refer the below link for more information, 
 
PDF Creation 
We can generate a multiple page PDF document by using PDF library. Its performance wise is best and accuracy is good.   
 
Please refer the below link for more information, 
 
PDF generation is better when comparing the performance of Html to Pdf conversion. 
 
Regards, 
Gowthamraj K 


Marked as answer

SS Suchita salunkhe December 28, 2020 07:24 AM UTC

Thank you so much Gowthamraj Kumar for the information.


GK Gowthamraj Kumar Syncfusion Team December 29, 2020 06:08 AM UTC

Hi Suchita, 

Thank you for your update.  

Regards, 
Gowthamraj K 


Loader.
Up arrow icon