Try our conversational search powered by Generative AI!

PDF generator for EPiServer pages

Vote:
 

Hi,

We're having the functionality that you could download the pdf generated automatically from Product pages HTML in EPiServer.

We've used RotivaToPDF tool but it's having some issues like mess up the layout and slow in performance when generating PDF.

Does anyone have good references for PDF generate webservice - EPiServer Addons or implementing Convert HTML to PDF webservice. 

Many thanks.

#177213
Apr 05, 2017 13:38
Vote:
 

We use this service for creating PDF: https://www.html2pdfrocket.com/

Simple API and not very expensive.

#177214
Apr 05, 2017 14:06
Vote:
 

This is not a WebService but I can recomend this one.

https://www.nuget.org/packages/TuesPechkin/

It's a .NET wrapper for wkhtmltopdf which in turn uses QT Webkit to render a page before converting it to a PDF.

This is the converter configuration I'm using and I haven't had any performance issues.

  public static IConverter Converter =
        new ThreadSafeConverter(
            new RemotingToolset<PdfToolset>(
                new Win64EmbeddedDeployment(
                    new TempFolderDeployment())));
#177217
Apr 05, 2017 14:54
Vote:
 

Great thanks Erik & Peter!

I will give a try to see what is best suitable for us.

Regards

#177256
Apr 06, 2017 10:49
Vote:
 

Not sure if this is important to you, but if I recall correctly, TuesPechkin does not work if your site is hosted in Azure. 

#177261
Apr 06, 2017 12:00
Vote:
 

Per is correct about TuesPechkin (wkhtmltopdf) not being Azure Websites compatible.

wkhtmltopdf uses Window's GDI APIs which currently don't work on Azure Websites.

If your site is on Azure I'd vote for https://www.html2pdfrocket.com/ as suggested by Erik.

#177262
Apr 06, 2017 12:41
Vote:
 

Thanks. My site is running on Azure then I will go for https://www.html2pdfrocket.com/ service.

#177264
Apr 06, 2017 13:38
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.