HTML TO PDF Converter Prerequisites for Windows

Hello,

The document is telling below Prerequisites for HTML To PDF Converter for Windows.

OpenSSL - 

  1. libeay32.dll
  2. libssl32.dll
  3. ssleay32.dll


VC++ Redistributable

  1. MSVCP100.dll
  2. MSVCR100.dll
Above libraries to drop inside System folder based on 32 or 64 bit WIndows. Questions are.

  1. Both dependencies only for converting a https URL?
  2. Both dependnecies not needed for converting a HTML file taking from a relative path or converting a direct HTML string. Is it a correct understanding?
  3. How we can copy above libraries for Azure App Services? keeping inside Application "bin" folder will help?


5 Replies

SG Sivaram Gunabalan Syncfusion Team October 19, 2021 03:25 PM UTC

Hi Jaish, 
 
Thank you for contacting syncfusion support. 
 
  1. Both dependencies only for converting a https URL?
 
OpenSSL dependencies are only used for converting a https URL to PDF. 
 
VC++ Redistributable files required to perform basic HTML to PDF conversion. 
  1. Both dependencies not needed for converting a HTML file taking from a relative path or converting a direct HTML string. Is it a correct understanding?
 
 
No, VC++ Redistributable files needed to perform one simple HTML to PDF conversion with relative path or direct HTML string. 
 
OpenSSL files only needed to convert HTTPS sites to PDF.  
  1. How we can copy above libraries for Azure App Services? keeping inside Application "bin" folder will help?
Kindly refer below links for add dependencies to perform HTML to PDF conversion in Azure app services. 
KB : 
 
 
 
Regards, 
Sivaram G 
 



JM Jaish Mathews October 19, 2021 04:05 PM UTC

Thanks for the response. The URL for the 3rd point is talking about OPENSSL assemblies for .NET Core. Those assemblies can be copied to  "QtBinariesDotNetCore" folder. But nothing talked about below VC++ assemblies. Those also be enough to  copied to  "QtBinariesDotNetCore" ?


  1. MSVCP100.dll
  2. MSVCR100.dll


GK Gowthamraj Kumar Syncfusion Team October 20, 2021 09:36 AM UTC

Hi Jaish 
 
Thank you for your update.

Those VC++ assemblies are already present in Azure environment, so we don’t need to copy the files. For converting HTTPS sites to PDF, the WebKit rendering engine requires OPENSSL libraries. So, please make sure the OPENSSL assemblies are available in the Azure environment where the conversion takes place. Please refer to the below links for more details,   
 
   

Regards, 
Gowthamraj K 



JM Jaish Mathews November 14, 2021 03:37 PM UTC

Allright Thank you. Just one more question...If passing as HTML text and it's referring  .css files, how it works? Any links taking about this scenario?



GK Gowthamraj Kumar Syncfusion Team November 15, 2021 07:27 AM UTC

Hi Jaish, 

Thank you for your update. 

When converting HTML string to PDF, we have to specify the base URL (path of the resources) to load the external images/scripts/styles used in the HTML string. So, that the browser/converter can access the resources such as styles, images, and scripts from the provided base URL. 

Please refer below links for preserving resources (CSS/Images/Scripts etc.,) about HTML string to PDF conversion.    

If you are accessing any resources (content, image, style, scripts) from HTTPS URL in the input HTML string, our HTML to PDF converter requires OPENSSL assemblies. So, OPENSSL assemblies are mandatory for WebKit conversion. Please refer below link for more information, 
 
If you are facing an exception or issue, we request you to share more details such as complete input HTML/URL (with all resource such as image, styles, script, etc), exception or stack trace details, complete code snippet or sample, product version, environmental details (OS, Bit version, culture settings) to check the issue on our end.  So, that it will be helpful for us to analyze and assist you further on this.   

Regards, 
Gowthamraj K 


Loader.
Up arrow icon