Skip to main content
Participant
September 20, 2021
Question

Convert HTML data to PDF from C# Web Application

  • September 20, 2021
  • 1 reply
  • 2490 views

Hi,

We have a web application that uses .NET Web API (C#). Currently we came across a sitution where we need to generate a report in PDF with large data. Now we are using iTextSharp to convert to PDF. But the file size is too big. When doing R&D, found adobe acrobat PDF conversion.  But I was not able to find out any proper guide for converting to PDF from a C# Web API program. 

Is it possible to convert as PDF using adobe from C# program (web application)? Any .NET libraries exists for this purpose from adobe? 

It would be very helpful if someone can assist me with this as soon as possible.

Thanks.

 

This topic has been closed for replies.

1 reply

Karl Heinz  Kremer
Community Expert
Community Expert
September 20, 2021

You would need Adobe Acrobat (either Standard or Pro) installed on every system that needs to output PDF. Here is some informaion about how to save to PDF from any application by printing to the Adobe PDF printer: https://khkonsulting.com/2013/01/prevent-the-save-dialog-when-printing-to-the-adobe-pdf-printer/